Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 604

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Elsewhere:on aiXiv: formalized in Lean — Claimed proved in aiXiv:2610.00919 (2026-10-06), with a Lean formalization published by the authors. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
2 results recorded on aiXiv
  1. solves For every fixed ε>0\varepsilon>0, all but o(n)o(n) points xx of any nn-point set P⊂R2P\subset\mathbb{R}^2 determine at least n1−εn^{1-\varepsilon} distinct distances ∣Dx(P)∣|D_x(P)| to the other points. In particular, every sufficiently large planar set has a pin with at least n1−εn^{1-\varepsilon} distances. This is the weak pinned Erdős distinct distances conjecture. — aiXiv:2610.00919, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/167.md
  2. theorem For each fixed s>0s>0, the proportion of ordered pairs (x,y)(x,y) in an nn-point planar set whose distance fiber at xx, ∣{z:∥z−x∥=∥y−x∥}∣|\{z:\|z-x\|=\|y-x\|\}|, has size at least nsn^s tends to 00 as n→∞n\to\infty. The convergence is uniform over all configurations, and no rate is given. — aiXiv:2610.00919, 2026-10-06 · Lean · Lean formalization published by the authors; its scope: https://github.com/openai/math/blob/f5702854040e97fa7675c21ba37a9608f5f92dd3/lean/docs/167.md

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:

Given nn distinct points A⊂R2A\subset\mathbb{R}^2, must there be a point x∈Ax\in A such that #{d(x,y):y∈A}≫n1−o(1)?\#\{ d(x,y) : y \in A\} \gg n^{1-o(1)}?

This is the pinned distance problem, a stronger form of Problem 89. Here n1−o(1)n^{1-o(1)} means: for every ε>0\varepsilon > 0 and all large nn, the bound is at least n1−εn^{1-\varepsilon}. We do not count the distance d(x,x)=0d(x, x) = 0; this changes the count by one.

This weak formulation was proved by OpenAI [OAI26].

Subjects:Metric Geometry (math.MG)
MSC classes:52
Tags:question, formal_proof
Cite as:NS.02599 [math.MG] · NS.02599v1 for this version
Declaration:Erdos604.erdos_604
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:672fba034afaaa3a9af4f66cf5c9f3180f597a805e9fc75654f83f5d769dce8e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/604.lean

Formal statement

theorem erdos_604 :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ (1 - ε) ≤ (pinnedDistinctDistances n : ℝ)
Show the full Challenge.lean (139 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 604

*References:*
- [erdosproblems.com/604](https://www.erdosproblems.com/604)
- [OAI26] OpenAI, [*The weak pinned planar distance theorem*](https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/preprints/The-weak-pinned-planar-distance-theorem-September-23-2026/paper.pdf) (2026).
- [Er46] Erdős, Paul, *On sets of distances of $n$ points*. Amer. Math. Monthly (1946), 248--250.
- [Er57] Erdős, Paul, *Some unsolved problems*. Michigan Math. J. (1957), 291-300.
- [Er61] Erdős, Paul, *Some unsolved problems*. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1961),
  221-254.
- [Er75f] Erdős, Paul, *On some problems of elementary and combinatorial geometry*. Ann. Mat. Pura
  Appl. (4) (1975), 99-108.
- [Er83c] Erdős, Paul, *Combinatorial problems in geometry*. Math. Chronicle (1983), 35-54.
- [Er85] Erdős, P., *Problems and results in combinatorial geometry*. Discrete geometry and
  convexity (New York, 1982) (1985), 1-11.
- [Er87b] Erdős, P., *Some combinatorial and metric problems in geometry*. Intuitive geometry
  (Siófok, 1985) (1987), 167-177.
- [Er90] Erdős, Paul, *Some of my favourite unsolved problems*. A tribute to Paul Erdős (1990),
  467-478.
- [Er95] Erdős, Paul, *Some of my favourite problems in number theory, combinatorics, and
  geometry*. Resenhas (1995), 165-186.
- [Er97b] Erdős, Paul, *Some old and new problems in various branches of combinatorics*. Discrete
  Math. (1997), 227-231.
- [Er97c] Erdős, Paul, *Some of my favorite problems and results*. The mathematics of Paul Erdős,
  I (1997), 47-67.
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.
- [Er97f] Erdős, Paul, *Some unsolved problems*. Combinatorics, geometry and probability
  (Cambridge, 1993) (1997), 1-10.
- [KaTa04] Katz, Nets Hawk and Tardos, Gábor, *A new entropy inequality for the Erdős distance
  problem*. Towards a theory of geometric graphs (2004), 119-126.
-/

@[expose] public section

open Filter
open scoped EuclideanGeometry Finset

namespace Erdos604

/-- The pinned distance function $f(n)$. For a set $A$ of $n$ points in $\mathbb{R}^2$, take the
largest number of distinct distances from a point $x \in A$ to the other points of $A$. Then
$f(n)$ is the least such value over all such sets $A$.

The distance $d(x, x) = 0$ is not counted, as in `distinctDistancesFrom`. Every $n$ admits a set
of $n$ points in $\mathbb{R}^2$, so the infimum is a minimum. -/
noncomputable def pinnedDistinctDistances (n : ℕ) : ℕ :=
  sInf {m : ℕ | ∃ A : Finset ℝ², #A = n ∧ A.sup (distinctDistancesFrom A) = m}

set_option linter.style.formal_proof_palomar false in
/--
Given $n$ distinct points $A\subset\mathbb{R}^2$, must there be a point $x\in A$ such that
$$\#\{ d(x,y) : y \in A\} \gg n^{1-o(1)}?$$

This is the pinned distance problem, a stronger form of Problem 89. Here $n^{1-o(1)}$ means: for
every $\varepsilon > 0$ and all large $n$, the bound is at least $n^{1-\varepsilon}$. We do not
count the distance $d(x, x) = 0$; this changes the count by one.

This weak formulation was proved by OpenAI [OAI26].
-/
@[category research solved, question, AMS 52,
  formal_proof using lean4 at
    "https://github.com/MendozaLab/erdos-experiments/blob/09f72c57ed2d98906b9cf03bff2091f6fe73807f/proofs/erdos604/Erdos604Proof/ExternalApplication.lean#L17"]
theorem erdos_604 :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ (1 - ε) ≤ (pinnedDistinctDistances n : ℝ) := by
  sorry

/--
Given $n$ distinct points $A\subset\mathbb{R}^2$, must there be a point $x\in A$ such that
$$\#\{ d(x,y) : y \in A\} \gg \frac{n}{\sqrt{\log n}}?$$
-/
@[category research open, question, AMS 52]
theorem erdos_604.variants.sqrt_log :
    (fun n : ℕ => (n : ℝ) / (n : ℝ).log.sqrt) =O[atTop]
      (fun n => (pinnedDistinctDistances n : ℝ)) := by
  sorry

/--
The integer grid shows that $\frac{n}{\sqrt{\log n}}$ would be best possible: there are sets of
$n$ points in $\mathbb{R}^2$ in which every point has $O(\frac{n}{\sqrt{\log n}})$ distinct
distances to the other points. This follows from the bound of Erdős [Er46] on the total number of
distinct distances in the grid (see Erdős Problem 89), since the number of distances from one point
is at most the total number of distances. For $n$ that is not a square, take $n$ points of the
smallest square grid with at least $n$ points.
-/
@[category research solved, AMS 52]
theorem erdos_604.variants.grid_upper_bound :
    (fun n => (pinnedDistinctDistances n : ℝ)) =O[atTop]
      (fun n : ℕ => (n : ℝ) / (n : ℝ).log.sqrt) := by
  sorry

/--
Katz and Tardos [KaTa04] proved that some point of $A$ has $\gg n^{c-o(1)}$ distinct distances to
the other points of $A$, where
$$c=\frac{48-14e}{55-16e}=0.864137\cdots.$$
-/
@[category research solved, AMS 52]
theorem erdos_604.variants.katz_tardos :
    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,
      (n : ℝ) ^ ((48 - 14 * Real.exp 1) / (55 - 16 * Real.exp 1) - ε) ≤
        (pinnedDistinctDistances n : ℝ) := by
  sorry

/--
Let $d(x)$ be the number of distinct distances from $x$ to the other points of $A$. Erdős [Er75f]
conjectured that
$$\sum_{x\in A}d(x) \gg \frac{n^2}{\sqrt{\log n}}$$
for every set $A\subset\mathbb{R}^2$ of $n$ points.

The sum is at most $n$ times the largest $d(x)$, so this conjecture implies a positive answer to
`Erdos604.erdos_604.variants.sqrt_log`.
-/
@[category research open, AMS 52]
theorem erdos_604.variants.average :
    ∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n →
      C * (n : ℝ) ^ 2 / (n : ℝ).log.sqrt ≤ ((∑ x ∈ A, distinctDistancesFrom A x : ℕ) : ℝ) := by
  sorry

end Erdos604

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos604.erdos_604 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_604 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry fetch erdos-604
nosorry submit erdos-604 nosorry/erdos-604/Solution.lean --wait

Formal variants

Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.

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.