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

Title:Erdős Problem 96

Source:Erdős Problems · erdosproblems.com/96
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Statement:

If nn points in R2\mathbb{R}^2 form a convex polygon then there are O(n)O(n) many pairs which are distance 11 apart.

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

Formal statement

theorem erdos_96 :
    (fun n => (maxConvexUnitDistances n : ℝ)) =O[atTop] fun n => (n : ℝ)
Show the full Challenge.lean (70 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 96

*Reference:* [erdosproblems.com/96](https://www.erdosproblems.com/96)
-/

@[expose] public section

open Filter
open EuclideanGeometry
open scoped EuclideanGeometry

namespace Erdos96
open Finset

/--
The set of all possible numbers of unit distances determined by the vertices of a convex
$n$-gon.
-/
noncomputable def convexUnitDistanceCounts (n : ℕ) : Set ℕ :=
  {unitDistNum points | (points : Finset ℝ²) (_ : points.card = n) (_ : ConvexIndep points)}

/--
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 convexUnitDistanceCounts_bddAbove (n : ℕ) : BddAbove <| convexUnitDistanceCounts n := by
  use n.choose 2
  rintro _ ⟨points, rfl, _, rfl⟩
  exact unitDistNum_le_choose_two points

/--
The **maximum number of unit distances** determined by the vertices of a convex $n$-gon.
This function is often denoted as $U_c(n)$ in combinatorics.
-/
noncomputable def maxConvexUnitDistances (n : ℕ) : ℕ :=
  sSup (convexUnitDistanceCounts n)

/--
If $n$ points in $\mathbb{R}^2$ form a convex polygon then there are $O(n)$ many pairs which are
distance $1$ apart.
-/
@[category research open, question, AMS 52]
theorem erdos_96 :
    (fun n => (maxConvexUnitDistances n : ℝ)) =O[atTop] fun n => (n : ℝ) := by
  sorry

end Erdos96

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

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

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.