Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 654

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: claimed solved — Claimed disproved in aiXiv:2609.02585 (2026-02-01); no independent check recorded on aiXiv. · erdosproblems.com: open (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. disproves There are nn points in R2\mathbb R^2, no four on a circle (all on two lines), such that every point determines at most 34n\tfrac34 n distinct distances to the others. Hence f(n)≤(3/4+o(1))nf(n)\le (3/4+o(1))n, which refutes f(n)>(1−o(1))nf(n)>(1-o(1))n without the general-position assumption. — aiXiv:2609.02585, 2026-02-01 · 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:

Let f(n)f(n) be such that, given any x1,…,xn∈R2x_1,\ldots,x_n\in \mathbb{R}^2 with no four points on a circle, there exists some xix_i with at least f(n)f(n) many distinct distances to the other xjx_j. Is it true that f(n)>(1−o(1))nf(n) > (1-o(1))n?

Erdős asks this in [Er97e]. The answer is no: Aletheia [Fe26] constructed, for every m≥10m \geq 10, a set of n=4mn = 4m points with no four on a circle such that every point has fewer than 34n\frac{3}{4}n distinct distances to the other points. This gives infinitely many nn, which is enough to refute the statement with ε=1/8\varepsilon = 1/8. See Erdos654.erdos_654.variants.feng.

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

Formal statement

theorem erdos_654.parts.i :
    ¬ ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → NoFourConcyclic A →
      ∃ x ∈ A, (1 - ε) * (n : ℝ) < (distinctDistancesFrom A x : ℝ)
Show the full Challenge.lean (160 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 654

*References:*
- [erdosproblems.com/654](https://www.erdosproblems.com/654)
- [Er87b] Erdős, P., *Some combinatorial and metric problems in geometry*. Intuitive geometry
  (Siófok, 1985) (1987), 167-177.
- [ErPa90] Erdős, P. and Pach, J., *Variations on the theme of repeated distances*.
  Combinatorica (1990), 261--269.
- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.
- [Fe26] T. Feng et al, *Semi-Autonomous Mathematics Discovery with Gemini: A Case Study on the
  Erdős Problems*. arXiv:2601.22401 (2026).
-/

@[expose] public section

open Filter Finset EuclideanGeometry

namespace Erdos654

/--
Let $f(n)$ be such that, given any $x_1,\ldots,x_n\in \mathbb{R}^2$ with no four points on a
circle, there exists some $x_i$ with at least $f(n)$ many distinct distances to the other $x_j$.
Is it true that $f(n) > (1-o(1))n$?

Erdős asks this in [Er97e]. The answer is no: Aletheia [Fe26] constructed, for every $m \geq 10$,
a set of $n = 4m$ points with no four on a circle such that every point has fewer than
$\frac{3}{4}n$ distinct distances to the other points. This gives infinitely many $n$, which is
enough to refute the statement with $\varepsilon = 1/8$. See `Erdos654.erdos_654.variants.feng`.
-/
@[category research solved, question, AMS 52, formal_proof using lean4 at
  "https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-02-000006"]
theorem erdos_654.parts.i :
    ¬ ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → NoFourConcyclic A →
      ∃ x ∈ A, (1 - ε) * (n : ℝ) < (distinctDistancesFrom A x : ℝ) := by
  sorry

/--
Let $f(n)$ be as in `erdos_654.parts.i`. Is it true that $f(n) > (\frac{1}{3}+c)n$ for some
constant $c>0$ and all large $n$?
-/
@[category research open, question, AMS 52]
theorem erdos_654.parts.ii :
    ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → NoFourConcyclic A →
      ∃ x ∈ A, (1 / 3 + c) * (n : ℝ) < (distinctDistancesFrom A x : ℝ) := by
  sorry

/--
It is trivial that $f(n) \geq \frac{n-1}{3}$.

In fact every point $x$ has at least $\frac{n-1}{3}$ distinct distances to the other points: a
circle centred at $x$ contains at most three other points, since four would lie on a common
circle.
-/
@[category textbook, AMS 52]
theorem erdos_654.variants.trivial_bound (A : Finset ℝ²) (hA : NoFourConcyclic A) :
    ∀ x ∈ A, ((#A : ℝ) - 1) / 3 ≤ (distinctDistancesFrom A x : ℝ) := by
  intro x hx
  have hfib : ∀ d ∈ (A.erase x).image (fun y ↦ dist y x),
      #{y ∈ A.erase x | dist y x = d} ≤ 3 := by
    intro d _
    by_contra! h4
    obtain ⟨T, hT, hT4⟩ := Finset.exists_subset_card_eq h4
    refine hA (T : Set ℝ²) (fun y hy ↦ ?_) (by rw [Set.ncard_coe_finset, hT4])
      ⟨x, d, fun y hy ↦ (Finset.mem_filter.1 (hT (Finset.mem_coe.1 hy))).2⟩
    exact Finset.mem_of_mem_erase (Finset.mem_filter.1 (hT (Finset.mem_coe.1 hy))).1
  have hle := Finset.card_le_mul_card_image (A.erase x) 3 hfib
  rw [Finset.card_erase_of_mem hx] at hle
  have h1 : 1 ≤ #A := Finset.card_pos.2 ⟨x, hx⟩
  have hle' : #A - 1 ≤ 3 * distinctDistancesFrom A x := by
    unfold distinctDistancesFrom
    convert hle using 3
    ext d
    simp
  have : ((#A - 1 : ℕ) : ℝ) ≤ 3 * (distinctDistancesFrom A x : ℝ) := by
    exact_mod_cast hle'
  rw [Nat.cast_sub h1, Nat.cast_one] at this
  linarith

/--
Aletheia [Fe26] showed that for every $m \geq 10$ there is a set of $n = 4m$ points in
$\mathbb{R}^2$, no four on a circle, such that every point has fewer than $\frac{3}{4}n = 3m$
distinct distances to the other points.

The construction places $2m$ points on each of two perpendicular lines, so it is not in general
position. Each point has at most $3m - 1$ distinct distances to the other points.
-/
@[category research solved, AMS 52, formal_proof using lean4 at
  "https://palomar-registry.org/entry.html?id=PALOMAR-2026-11-02-000006"]
theorem erdos_654.variants.feng (m : ℕ) (hm : 10 ≤ m) :
    ∃ A : Finset ℝ², #A = 4 * m ∧ NoFourConcyclic A ∧
      ∀ x ∈ A, distinctDistancesFrom A x < 3 * m := by
  sorry

/--
Erdős [Er87b] and Erdős and Pach [ErPa90] ask the question of `erdos_654.parts.ii` under the
additional assumption that no three points are on a line. Let $x_1,\ldots,x_n\in \mathbb{R}^2$ with
no three points on a line and no four points on a circle. Is there some $x_i$ with at least
$(\frac{1}{3}+c)n$ distinct distances to the other $x_j$, for some constant $c>0$ and all large
$n$?
-/
@[category research open, question, AMS 52]
theorem erdos_654.variants.general_position :
    ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → InGeneralPosition A →
      ∃ x ∈ A, (1 / 3 + c) * (n : ℝ) < (distinctDistancesFrom A x : ℝ) := by
  sorry

/--
Let $x_1,\ldots,x_n\in \mathbb{R}^2$ with no three points on a line and no four points on a
circle. Is there some $x_i$ with at least $(1-o(1))n$ distinct distances to the other $x_j$?

This is the general-position analogue of `Erdos654.erdos_654.parts.i`. The remark on
erdosproblems.com notes that the construction of [Fe26], which has all points on two lines, does
not settle the version in general position.
-/
@[category research open, question, AMS 52]
theorem erdos_654.variants.general_position_one_sub_eps :
    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → InGeneralPosition A →
      ∃ x ∈ A, (1 - ε) * (n : ℝ) < (distinctDistancesFrom A x : ℝ) := by
  sorry

/-- `AtMostTwoPerCircle A` means that every circle centred at a point $x \in A$ contains at most
two other points of $A$. -/
def AtMostTwoPerCircle (A : Finset ℝ²) : Prop :=
  ∀ x ∈ A, ∀ r : ℝ, #((A.erase x).filter fun y ↦ dist y x = r) ≤ 2

/--
Erdős and Pach [ErPa90] suggest that the bound $(1-o(1))n$ holds under the assumption that every
circle centred at a point $x_i$ contains at most $2$ other points $x_j$. We state this for points
in general position (no three on a line and no four on a circle [Er87b, p. 167]), the setting in
which [Er87b] and [ErPa90] ask the weaker question. Without the assumption of no three points on a
line the statement is false: the sets of [Fe26] satisfy the circle condition.
-/
@[category research open, question, AMS 52]
theorem erdos_654.variants.erdos_pach :
    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n → InGeneralPosition A →
      AtMostTwoPerCircle A → ∃ x ∈ A, (1 - ε) * (n : ℝ) < (distinctDistancesFrom A x : ℝ) := by
  sorry

end Erdos654

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

nosorry fetch erdos-654
nosorry submit erdos-654 nosorry/erdos-654/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.