{
  "id": "2800",
  "ident": "NS.02800",
  "slug": "erdos-670",
  "title": "Erdős Problem 670",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $A\\subseteq \\mathbb{R}^d$ be a set of $n$ points such that all pairwise distances differ by\nat least $1$. Is the diameter of $A$ at least $(1+o(1))n^2$?\n\nThe quantifiers in the source are ambiguous. Following the remarks on erdosproblems.com, this is\nthe regime where $d$ is fixed and the $o(1)$ term tends to $0$ as $n \\to \\infty$, at a rate\nwhich may depend on $d$. The case $d = 1$ was proved by Erdős\n(`Erdos670.erdos_670.variants.dim_one`), so the question is open for $d \\geq 2$.",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos670.erdos_670",
  "statement_lean": "theorem erdos_670 :\n    ∀ d : ℕ, 1 ≤ d → ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      ∀ A : Finset (EuclideanSpace ℝ (Fin d)), A.card = n → HasSeparatedDistances A →\n        (1 - ε) * (n : ℝ) ^ 2 ≤ Metric.diam (A : Set (EuclideanSpace ℝ (Fin d)))",
  "challenge_source": "/-\nCopyright 2026 The Formal Conjectures Authors.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n    https://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n-/\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 670\n\n*References:*\n- [erdosproblems.com/670](https://www.erdosproblems.com/670)\n- [Er97f] Erdős, Paul, *Some unsolved problems*. Combinatorics, geometry and probability\n  (Cambridge, 1993) (1997), 1-10.\n- [Ho26] Ho, B. S., *Erdős's diameter conjecture for separated distances fails in high\n  dimensions*. [arXiv:2604.15305](https://arxiv.org/abs/2604.15305) (2026).\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos670\n\n/-- A finite set $A$ of points has *separated distances* if all its pairwise distances differ\nby at least $1$: for any two different unordered pairs $\\{a, b\\} \\neq \\{c, e\\}$ of distinct\npoints of $A$, we have $\\lvert d(a, b) - d(c, e)\\rvert \\geq 1$. -/\ndef HasSeparatedDistances {X : Type*} [MetricSpace X] (A : Finset X) : Prop :=\n  ∀ a ∈ A, ∀ b ∈ A, ∀ c ∈ A, ∀ e ∈ A, a ≠ b → c ≠ e → s(a, b) ≠ s(c, e) →\n    1 ≤ |dist a b - dist c e|\n\n/--\nLet $A\\subseteq \\mathbb{R}^d$ be a set of $n$ points such that all pairwise distances differ by\nat least $1$. Is the diameter of $A$ at least $(1+o(1))n^2$?\n\nThe quantifiers in the source are ambiguous. Following the remarks on erdosproblems.com, this is\nthe regime where $d$ is fixed and the $o(1)$ term tends to $0$ as $n \\to \\infty$, at a rate\nwhich may depend on $d$. The case $d = 1$ was proved by Erdős\n(`Erdos670.erdos_670.variants.dim_one`), so the question is open for $d \\geq 2$.\n-/\n@[category research open, question, AMS 52]\ntheorem erdos_670 :\n    ∀ d : ℕ, 1 ≤ d → ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      ∀ A : Finset (EuclideanSpace ℝ (Fin d)), A.card = n → HasSeparatedDistances A →\n        (1 - ε) * (n : ℝ) ^ 2 ≤ Metric.diam (A : Set (EuclideanSpace ℝ (Fin d))) := by\n  sorry\n\n/--\nErdős [Er97f] proved the claim when $d = 1$: if $A\\subseteq \\mathbb{R}$ is a set of $n$ points\nsuch that all pairwise distances differ by at least $1$, then the diameter of $A$ is at least\n$(1+o(1))n^2$.\n-/\n@[category research solved, question, AMS 52]\ntheorem erdos_670.variants.dim_one :\n    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      ∀ A : Finset (EuclideanSpace ℝ (Fin 1)), A.card = n → HasSeparatedDistances A →\n        (1 - ε) * (n : ℝ) ^ 2 ≤ Metric.diam (A : Set (EuclideanSpace ℝ (Fin 1))) := by\n  sorry\n\n/--\nThe trivial lower bound: if $A\\subseteq \\mathbb{R}^d$ is a set of $n \\neq 2$ points such that all\npairwise distances differ by at least $1$, then the diameter of $A$ is at least $\\binom{n}{2}$.\n\nFor $n \\geq 3$, take a closest pair $a, b$ and a third point $c$. Then\n$1 \\leq \\lvert d(a, c) - d(b, c)\\rvert \\leq d(a, b)$, so every distance is at least $1$. The\n$\\binom{n}{2}$ distances are at least $1$ apart, so the largest one is at least $\\binom{n}{2}$.\nFor $n = 2$ the hypothesis is vacuous, and two points at distance $1/2$ show that the bound fails.\n-/\n@[category textbook, AMS 52, formal_proof using lean4 at\n  \"https://github.com/veljjanoski/formal-conjectures-proofs/blob/638a2315428e3a1c2f1a784bcaeffea6580d1cbd/FcProofs/Erdos670.lean#L65\"]\ntheorem erdos_670.variants.choose_two (d : ℕ) (A : Finset (EuclideanSpace ℝ (Fin d)))\n    (hA : HasSeparatedDistances A) (hn : A.card ≠ 2) :\n    (A.card.choose 2 : ℝ) ≤ Metric.diam (A : Set (EuclideanSpace ℝ (Fin d))) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nHo [Ho26] showed that the claim fails if $n$ grows with $d$: there exist infinitely many $n$\nand, with $d = n^2 - n$, a set $A\\subset \\mathbb{R}^d$ of $n$ points such that all pairwise\ndistances differ by at least $1$, with diameter at most\n$$\n\\left(1-\\frac{1}{\\pi^2}+o(1)\\right)n^2\\approx 0.898n^2.\n$$\nHo's construction uses $n = q + 1$ points in dimension $q^2 + q = n^2 - n$, for every prime power\n$q$.\n-/\n@[category research solved, AMS 52, formal_proof using lean4 at\n  \"https://github.com/boonsuan/erdos670/blob/c053b2580e0cf7e74c8d905f96feb101061612a3/DiameterConstruction/MainTheorem.lean#L452\"]\ntheorem erdos_670.variants.ho :\n    ∀ ε > (0 : ℝ), ∃ᶠ n : ℕ in atTop,\n      ∃ A : Finset (EuclideanSpace ℝ (Fin (n ^ 2 - n))), A.card = n ∧\n        HasSeparatedDistances A ∧\n        Metric.diam (A : Set (EuclideanSpace ℝ (Fin (n ^ 2 - n)))) ≤\n          (1 - 1 / Real.pi ^ 2 + ε) * (n : ℝ) ^ 2 := by\n  sorry\n\n/--\nThe version of the problem where the $o(1)$ term must be uniform in the dimension $d$ has a\nnegative answer. This follows from `Erdos670.erdos_670.variants.ho` (Ho [Ho26]).\n-/\n@[category research solved, question, AMS 52]\ntheorem erdos_670.variants.uniform_in_dim :\n    ¬ ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∀ d : ℕ,\n      ∀ A : Finset (EuclideanSpace ℝ (Fin d)), A.card = n → HasSeparatedDistances A →\n        (1 - ε) * (n : ℝ) ^ 2 ≤ Metric.diam (A : Set (EuclideanSpace ℝ (Fin d))) := by\n  sorry\n\nend Erdos670\n",
  "statement_hash": "17a5dacace540a4ff2c8551cb0ffc230deb400d604c6d946a44c9c22b5c2b715",
  "toolchain": "leanprover/lean4:v4.33.1",
  "upstream_commit": "f9b3868d5ca994a7bf95039bcec05338c0c21e2f",
  "workspace": "formal-conjectures",
  "field": "math",
  "formalization": "formal",
  "verification": "lean-kernel",
  "license": "Apache-2.0",
  "attribution": "google-deepmind/formal-conjectures contributors",
  "metric_name": null,
  "metric_direction": null,
  "critiques": [],
  "public_partial_proofs": [],
  "research_threads": [],
  "instructions": "Read research_threads first: other people's public repositories and what they already tried. Write Solution.lean starting from challenge_source. Keep every definition identical, prove decl_name with exactly the same type, no sorry in its dependency closure, no new axioms, no native_decide, no metaprogramming. Submit with POST /api/v1/submissions."
}