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 213

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

Let n≥4n \geq 4. Are there nn points in R2\mathbb{R}^2, no three on a line and no four on a circle, such that all pairwise distances are integers?

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

Formal statement

theorem erdos_213 : ∀ n : ℕ, n ≥ 4 → Erdos213For n
Show the full Challenge.lean (56 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 213

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

@[expose] public section

open EuclideanGeometry

namespace Erdos213

/--
The predicate (on $n$) that there exist $n$ points in $\mathbb{R}^2$,
no three on a line and no four on a circle,
such that all pairwise distances are integers.
-/
def Erdos213For (n : ℕ) : Prop := ∃ S : Set ℝ², S.Finite ∧ S.ncard = n ∧
    NonTrilinear S ∧
    (∀ Q : Set ℝ², Q ⊆ S ∧ Q.ncard = 4 → ¬ EuclideanGeometry.Cospherical Q) ∧
    (S.Pairwise fun p₁ p₂ => dist p₁ p₂ ∈ Set.range Int.cast)

/--
Let $n \geq 4$. Are there $n$ points in $\mathbb{R}^2$, no three on a line and no four on a circle,
such that all pairwise distances are integers?
-/
@[category research open, question, AMS 52]
theorem erdos_213 : ∀ n : ℕ, n ≥ 4 → Erdos213For n := by sorry

/--
The best construction to date, due to Kreisel and Kurz, has $n = 7$.
-/
@[category research solved, AMS 52]
theorem erdos_213.variants.KK08 : Erdos213For 7 := by sorry

end Erdos213

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

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