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 94 · variants.regular_ngon

Source:Erdős Problems
Open problem Nobody knows the answer yet — neither on paper nor in Lean. First verified proof: +100 points.
Statement:reviewed
Elsewhere:the main problem, on aiXiv: claimed solved — Claimed proved in aiXiv:2609.02546 (2025-11-02); no independent check recorded on aiXiv. · erdosproblems.com: proved (Lean) (a claim recorded elsewhere, not verified on nosorry)
1 result recorded on aiXiv
  1. solves If nn points in R2\mathbb{R}^2 are in convex position and the distance uiu_i occurs f(ui)f(u_i) times among them, then ∑if(ui)2=O(n3)\sum_i f(u_i)^2 = O(n^3). The bound holds more generally whenever no three of the points are collinear (Lefmann–Theile). — aiXiv:2609.02546, 2025-11-02 · 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:

Erdős and Fishburn also make the stronger conjecture that ∑f(ui)2\sum f(u_i)^2 is maximal for the regular nn-gon (for large enough nn).

Subjects:Combinatorics (math.CO); Metric Geometry (math.MG)
MSC classes:05, 52
Cite as:NS.03702 [math.CO] · NS.03702v1 for this version
Declaration:Erdos94.erdos_94.variants.regular_ngon
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 100; accepted critique: up to 100
Statement hash:736e9919ecb8e97a94dfcd19d1337ebd991d7d4cb28baf2a5bac46f52b3b9d42
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/94.lean

Formal statement

theorem erdos_94.variants.regular_ngon : ∀ᶠ n : ℕ in atTop, ∀ P : Finset ℝ²,
    P.card = n → ConvexIndep (P : Set ℝ²) →
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤
      ∑ u ∈ distanceSet (regularNGon n), (distanceMultiplicity (regularNGon n) u : ℝ) ^ 2
Show the full Challenge.lean (89 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 94

*References:*
- [erdosproblems.com/94](https://www.erdosproblems.com/94)
- [Er92e] Erdős, Pál, *Some Unsolved problems in Geometry, Number Theory and Combinatorics*. Eureka
  (1992), 44-48.
- [Er97c] Erdős, Paul, *Some of my favorite problems and results*. The mathematics of Paul Erdős, I
  (1997), 47-67.
- [LeTh95] Lefmann, Hanno and Thiele, Torsten, *Point sets with distinct distances*. Combinatorica
  (1995), 379-408.
-/

@[expose] public section

open Filter EuclideanGeometry

namespace Erdos94

/-- The regular $n$-gon inscribed in the unit circle. -/
noncomputable def regularNGon (n : ℕ) : Finset ℝ² :=
  (Finset.range n).image fun k : ℕ =>
    !₂[Real.cos (2 * Real.pi * k / n), Real.sin (2 * Real.pi * k / n)]

set_option linter.style.formal_proof_palomar false in
/--
Suppose $n$ points in $\mathbb{R}^2$ determine a convex polygon and the set of distances between
them is $\{u_1,\ldots,u_t\}$. Suppose $u_i$ appears as the distance between $f(u_i)$ many pairs of
points. Then
$$\sum_i f(u_i)^2 \ll n^3.$$

In [Er97c] Erdős claims that Fishburn solved this, but gives no reference.
-/
@[category research solved, AMS 5 52, formal_proof using lean4 at "https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos94.lean"]
theorem erdos_94 : ∃ C > (0 : ℝ), ∀ P : Finset ℝ², ConvexIndep (P : Set ℝ²) →
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤ C * (P.card : ℝ) ^ 3 := by
  sorry

/--
Note it is trivial that $\sum f(u_i)=\binom{n}{2}$.
-/
@[category test, AMS 5 52]
theorem erdos_94.variants.sum_multiplicity (P : Finset ℝ²) :
    ∑ u ∈ distanceSet P, distanceMultiplicity P u = P.card.choose 2 :=
  sum_distanceMultiplicity P

/--
Lefmann and Theile [LeTh95] prove a stronger version of this question, that
$$\sum_i f(u_i)^2 \ll n^3$$
under the weaker assumption that no three points are on a line.
-/
@[category research solved, AMS 5 52]
theorem erdos_94.variants.no_three_on_a_line : ∃ C > (0 : ℝ), ∀ P : Finset ℝ²,
    NonTrilinear (P : Set ℝ²) →
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤ C * (P.card : ℝ) ^ 3 := by
  sorry

/--
Erdős and Fishburn also make the stronger conjecture that $\sum f(u_i)^2$ is maximal for the
regular $n$-gon (for large enough $n$).
-/
@[category research open, AMS 5 52]
theorem erdos_94.variants.regular_ngon : ∀ᶠ n : ℕ in atTop, ∀ P : Finset ℝ²,
    P.card = n → ConvexIndep (P : Set ℝ²) →
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤
      ∑ u ∈ distanceSet (regularNGon n), (distanceMultiplicity (regularNGon n) u : ℝ) ^ 2 := by
  sorry

end Erdos94

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

nosorry desk erdos-94--erdos-94-variants-regular-ngon      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-94--erdos-94-variants-regular-ngon
nosorry submit erdos-94--erdos-94-variants-regular-ngon nosorry/erdos-94--erdos-94-variants-regular-ngon/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.