Title:Erdős Problem 91
Statement:Suppose has and minimises the number of distinct distances between points in . Prove that for large there are at least two (and probably many) such which are non-similar.
| Subjects: | Metric Geometry (math.MG) |
| MSC classes: | 52 |
| Tags: | question |
| Cite as: | NS.03593 [math.MG] · NS.03593v1 for this version |
| Declaration: | Erdos91.erdos_91 |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 100, later ones: 10; accepted critique: up to 60 |
| Statement hash: | 2d94316e284d328bccccf2c07fb4f85d0569f5be814b5461c88bb3d587f54918 |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/ErdosProblems/91.lean |
Formal statement
theorem erdos_91 :
∀ᶠ n : ℕ in atTop, ¬ UniqueMinimizer nShow the full Challenge.lean (222 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Erdős Problem 91
*Reference:*
- [Er87b] Erdős, P., Some combinatorial and metric problems in geometry.
Intuitive geometry (Siófok, 1985) (1987), 167-177.
- [Ko24c] Z. Kovács, A note on Erdős's mysterious remark. arXiv:2412.05190 (2024).
- [erdosproblems.com/91](https://www.erdosproblems.com/91)
-/
@[expose] public section
open Finset EuclideanGeometry Filter
namespace Erdos91
/-- A set $A$ is 'optimal' if it has $n$ points and achieves the minimum distance count. -/
noncomputable def IsOptimal (A : Finset ℝ²) (n : ℕ) : Prop :=
A.card = n ∧ distinctDistances A = minimalDistinctDistances ℝ² n
/-- Two finite sets of points in $\mathbb{R}^2$ are similar if one can be mapped to the other by a
DilationEquiv. -/
def DilationEquivSimilar (A B : Finset ℝ²) : Prop :=
∃ f : ℝ² ≃ᵈ ℝ², (f '' A) = B
/-- Equilateral triangle with unit side length, resting on the x-axis with one vertex at the origin. -/
noncomputable def equiTriangle : Finset ℝ² := {!₂[0, 0], !₂[1, 0], !₂[1 / 2, Real.sqrt 3 / 2]}
noncomputable def unitSquare : Finset ℝ² := {!₂[0, 0], !₂[0, 1], !₂[1, 0], !₂[1, 1]}
/-- Regular 7-gon with unit side length, touching both axes in the first quadrant. -/
noncomputable def circleSeven : Finset ℝ² :=
let r := 1 / (2 * Real.sin (Real.pi / 7))
let cx := r * Real.cos (Real.pi / 7)
let cy := r * Real.sin (4 * Real.pi / 7)
(Finset.range 7).image fun k : ℕ =>
!₂[r * Real.cos (2 * Real.pi * ↑k / 7) + cx, r * Real.sin (2 * Real.pi * ↑k / 7) + cy]
/-- Wheel graph on 7 vertices (center + regular hexagon) with unit side length,
touching both axes in the first quadrant. -/
noncomputable def wheelSeven : Finset ℝ² :=
{!₂[1, Real.sqrt 3 / 2],
!₂[2, Real.sqrt 3 / 2],
!₂[3 / 2, Real.sqrt 3],
!₂[1 / 2, Real.sqrt 3],
!₂[0, Real.sqrt 3 / 2],
!₂[1 / 2, 0],
!₂[3 / 2, 0]}
@[category test, AMS 52]
lemma erdos_91.test.equiTriangle_optimal : IsOptimal equiTriangle 3 := by
have hcard : equiTriangle.card = 3 := by
simp [equiTriangle, Finset.mem_insert, Finset.mem_singleton]
have hdist : distinctDistances equiTriangle = 1 := by
unfold distinctDistances distanceSet equiTriangle
have eucl_dist_one_of_sq : ∀ {x y : ℝ²}, dist x y ^ 2 = 1 → dist x y = 1 := by
intro x y h; nlinarith [dist_nonneg (x := x) (y := y), sq_nonneg (dist x y)]
have hd01 : dist (!₂[(0 : ℝ), 0]) (!₂[(1 : ℝ), 0]) = 1 := eucl_dist_one_of_sq <| by
rw [EuclideanSpace.dist_sq_eq, Fin.sum_univ_two]; simp [Real.dist_eq]
have hd02 : dist (!₂[(0 : ℝ), 0]) (!₂[(1 : ℝ) / 2, Real.sqrt 3 / 2]) = 1 :=
eucl_dist_one_of_sq <| by
rw [EuclideanSpace.dist_sq_eq, Fin.sum_univ_two, Real.dist_eq, Real.dist_eq]
simp only [Matrix.cons_val_zero, Matrix.cons_val_one]
nlinarith [Real.sq_sqrt (show (3 : ℝ) ≥ 0 by norm_num), Real.sqrt_nonneg 3,
sq_abs ((0 : ℝ) - 1 / 2), sq_abs ((0 : ℝ) - Real.sqrt 3 / 2)]
have hd12 : dist (!₂[(1 : ℝ), 0]) (!₂[(1 : ℝ) / 2, Real.sqrt 3 / 2]) = 1 :=
eucl_dist_one_of_sq <| by
rw [EuclideanSpace.dist_sq_eq, Fin.sum_univ_two, Real.dist_eq, Real.dist_eq]
simp only [Matrix.cons_val_zero, Matrix.cons_val_one]
nlinarith [Real.sq_sqrt (show (3 : ℝ) ≥ 0 by norm_num), Real.sqrt_nonneg 3,
sq_abs ((1 : ℝ) - 1 / 2), sq_abs ((0 : ℝ) - Real.sqrt 3 / 2)]
suffices h : ({!₂[(0 : ℝ), 0], !₂[(1 : ℝ), 0], !₂[(1 : ℝ) / 2, Real.sqrt 3 / 2]} :
Finset ℝ²).offDiag.image (fun (pair : ℝ² × ℝ²) => dist pair.1 pair.2) = {1} by
simp only [h, Finset.card_singleton]
refine Finset.eq_singleton_iff_unique_mem.mpr ⟨Finset.mem_image.mpr
⟨⟨!₂[0, 0], !₂[1, 0]⟩, by simp [Finset.mem_offDiag], hd01⟩, fun d hd => ?_⟩
obtain ⟨⟨a, b⟩, hab, rfl⟩ := Finset.mem_image.mp hd
simp only [Finset.mem_offDiag, Finset.mem_insert, Finset.mem_singleton] at hab
obtain ⟨ha, hb, _⟩ := hab
rcases ha with rfl | rfl | rfl <;> rcases hb with rfl | rfl | rfl <;> first
| contradiction | exact hd01 | exact hd02 | exact hd12
| (rw [dist_comm]; first | exact hd01 | exact hd02 | exact hd12)
have hmin : minimalDistinctDistances ℝ² 3 = 1 := by
unfold minimalDistinctDistances
apply le_antisymm
· exact Nat.sInf_le ⟨equiTriangle, hcard, by exact_mod_cast hdist⟩
· apply le_csInf
· exact ⟨_, equiTriangle, hcard, rfl⟩
rintro d ⟨points, hcard', hd⟩
rw [← show distinctDistances points = d from by exact_mod_cast hd]
exact Finset.card_pos.mpr ((Finset.card_pos.mp (by rw [Finset.offDiag_card, hcard']; norm_num :
0 < points.offDiag.card)).image _)
exact ⟨hcard, by rw [hdist, hmin]⟩
@[category test, AMS 52]
lemma erdos_91.test.equiTriangle_unique_optimal :
∀ A : Finset ℝ², IsOptimal A 3 → DilationEquivSimilar A equiTriangle := by
sorry
@[category test, AMS 52]
lemma erdos_91.test.unitSquare_optimal : IsOptimal unitSquare 4 := by
sorry
@[category test, AMS 52]
lemma erdos_91.test.circleSeven_optimal : IsOptimal circleSeven 7 := by
sorry
@[category test, AMS 52]
lemma erdos_91.test.wheelSeven_optimal : IsOptimal wheelSeven 7 := by
sorry
@[category test, AMS 52]
lemma erdos_91.test.dissimilar_circleSeven_wheelSeven :
¬DilationEquivSimilar circleSeven wheelSeven := by
sorry
/--
The predicate on $n$ asserting all $A, B\subset \mathbb{R}^2$,
with $\lvert A\rvert=n = \lvert B\rvert$, which minimise the number of distinct points for all sets
with $n$ elements are similar.
-/
def UniqueMinimizer (n : ℕ) : Prop :=
∀ A B : Finset ℝ², IsOptimal A n → IsOptimal B n → DilationEquivSimilar A B
/--
Suppose $A\subset \mathbb{R}^2$ has $\lvert A\rvert=n$ and minimises the number of distinct
distances between points in $A$. Prove that for large $n$ there are at least two
(and probably many) such $A$ which are non-similar.
-/
@[category research open, question, AMS 52]
theorem erdos_91 :
∀ᶠ n : ℕ in atTop, ¬ UniqueMinimizer n := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
For $n = 3$ the equilateral triangle is the only such set.
-/
@[category research solved, AMS 52, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/cd3cf0b176e95209584bf35555a7c0e501255f6e/erdos-91/Solution.lean#L159"]
theorem erdos_91.variants.three : UniqueMinimizer 3 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
For $n=4$ the square or two equilateral triangles sharing an edge give two
non-similar examples.
-/
@[category research solved, AMS 52, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/cd3cf0b176e95209584bf35555a7c0e501255f6e/erdos-91/Solution.lean#L162"]
theorem erdos_91.variants.four : ¬ UniqueMinimizer 4 := by
sorry
/--
For $n = 5$ the regular pentagon is the unique such set (which has two distinct distances).
Erdős mysteriously remarks in [Er90] this was proved by 'a colleague'. (In [Er87b] this is
described as 'a colleague from Zagreb (unfortunately I do not have his letter)'.)
A published proof of this fact is provided by Kovács [Ko24c].
-/
@[category research solved, AMS 52]
theorem erdos_91.variants.five : UniqueMinimizer 5 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
In [Er87b] on p.171 Erdős says that there are at least two non-similar examples for $n = 6$.
-/
@[category research solved, AMS 52, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/cd3cf0b176e95209584bf35555a7c0e501255f6e/erdos-91/Solution.lean#L165"]
theorem erdos_91.variants.six: ¬ UniqueMinimizer 6 := by
sorry
set_option linter.style.formal_proof_palomar false in
/--
In [Er87b] on p.171 Erdős says that there are at least two non-similar examples for $n = 7$.
-/
@[category research solved, AMS 52, formal_proof using lean4 at
"https://github.com/linrock/math-proofs/blob/cd3cf0b176e95209584bf35555a7c0e501255f6e/erdos-91/Solution.lean#L168"]
theorem erdos_91.variants.seven: ¬ UniqueMinimizer 7 := by
sorry
/--
In [Er87b] on p.171 Erdős says that there are at least two non-similar examples for $n = 8$.
-/
@[category research solved, AMS 52]
theorem erdos_91.variants.eight: ¬ UniqueMinimizer 8 := by
sorry
/--
In [Er87b] on p.171 Erdős says that there are at least two non-similar examples for $n = 9$.
-/
@[category research solved, AMS 52]
theorem erdos_91.variants.nine: ¬ UniqueMinimizer 9 := by
sorry
end Erdos91
To prove it: keep every definition of Challenge.lean unchanged and prove Erdos91.erdos_91 with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_erdos_91 : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry fetch erdos-91 nosorry submit erdos-91 nosorry/erdos-91/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- erdos-91-variants-three — known result
- erdos-91-variants-four — known result
- erdos-91-variants-five — known result
- erdos-91-variants-six — known result
- erdos-91-variants-seven — known result
- erdos-91-variants-eight — known result
- erdos-91-variants-nine — known result
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.