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

Title:Erdős Problem 95

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let x1,…,xn∈R2x_1,\ldots,x_n\in\mathbb{R}^2 determine the set of distances {u1,…,ut}\{u_1,\ldots,u_t\}. Suppose uiu_i appears as the distance between f(ui)f(u_i) many pairs of points. Then for all ϵ>0\epsilon>0 ∑if(ui)2≪ϵn3+ϵ.\sum_i f(u_i)^2 \ll_\epsilon n^{3+\epsilon}.

The case when the points determine a convex polygon was solved by Altman [Al63]. Note it is trivial that ∑f(ui)=(n2)\sum f(u_i)=\binom{n}{2}.

Solved by Guth and Katz [GuKa15] who proved the upper bound ∑if(ui)2≪n3log⁡n.\sum_i f(u_i)^2 \ll n^3\log n.

See also 94.

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

Formal statement

theorem erdos_95 : ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, 0 < C ∧ ∀ P : Finset ℝ²,
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤
      C * (P.card : ℝ) ^ (3 + ε)
Show the full Challenge.lean (73 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 95

*References:*
- [erdosproblems.com/95](https://www.erdosproblems.com/95)
- [Er92e] Erdős, Pál, *Some Unsolved problems in Geometry, Number Theory and Combinatorics*.
  Eureka (1992), 44-48.
- [Er95] Erdős, Paul, *Some of my favourite problems in number theory, combinatorics, and
  geometry*. Resenhas (1995), 165-186.
- [Er97c] Erdős, Paul, *Some of my favorite problems and results*. The mathematics of Paul
  Erdős, I (1997), 47-67.
- [Er97f] Erdős, Paul, *Some unsolved problems*. Combinatorics, geometry and probability
  (Cambridge, 1993) (1997), 1-10.
- [Al63] Altman, E., *On a problem of P. Erdős*. Amer. Math. Monthly (1963), 148-157.
- [GuKa15] Guth, Larry and Katz, Nets Hawk, *On the Erdős distinct distances problem in the
  plane*. Ann. of Math. (2) (2015), 155-190.
-/

@[expose] public section

open Filter EuclideanGeometry

namespace Erdos95

set_option linter.style.formal_proof_palomar false in
/--
Let $x_1,\ldots,x_n\in\mathbb{R}^2$ determine the set of distances $\{u_1,\ldots,u_t\}$. Suppose
$u_i$ appears as the distance between $f(u_i)$ many pairs of points. Then for all $\epsilon>0$
$$\sum_i f(u_i)^2 \ll_\epsilon n^{3+\epsilon}.$$

The case when the points determine a convex polygon was solved by Altman [Al63]. Note it is
trivial that $\sum f(u_i)=\binom{n}{2}$.

Solved by Guth and Katz [GuKa15] who proved the upper bound
$$\sum_i f(u_i)^2 \ll n^3\log n.$$

See also [94](https://www.erdosproblems.com/94).
-/
@[category research solved, question, AMS 5 52, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos95.lean#L1005"]
theorem erdos_95 : ∀ ε : ℝ, 0 < ε → ∃ C : ℝ, 0 < C ∧ ∀ P : Finset ℝ²,
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤
      C * (P.card : ℝ) ^ (3 + ε) := by
  sorry

/-- Guth and Katz [GuKa15] proved the upper bound $\sum_i f(u_i)^2 \ll n^3\log n$. -/
@[category research solved, AMS 5 52]
theorem erdos_95.variants.guth_katz : ∃ C : ℝ, 0 < C ∧ ∀ P : Finset ℝ², 2 ≤ P.card →
    ∑ u ∈ distanceSet P, (distanceMultiplicity P u : ℝ) ^ 2 ≤
      C * (P.card : ℝ) ^ 3 * Real.log P.card := by
  sorry

end Erdos95

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

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