{
  "id": "628",
  "ident": "NS.00628",
  "slug": "erdos-1089",
  "title": "Erdős Problem 1089",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $g_d(n)$ be minimal such that every collection of $g_d(n)$ points in $\\mathbb{R}^d$ determines\nat least $n$ many distinct distances. Estimate $g_d(n)$. In particular, does\n$$\\lim_{d \\to \\infty} \\frac{g_d(n)}{d^{n-1}}$$\nexist?\n\nA problem of Erdős [Er75f, p.105]. The answer is yes: for $n \\ge 2$,\n$$\\binom{d+1}{n-1} + 1 \\le g_d(n) \\le \\binom{d+n-1}{n-1} + 1,$$\nwhere the upper bound is due to Bannai, Bannai and Stanton [BBS83] and the lower bound to a\nconstruction of Aletheia (generalising constructions for Problem 502), so that\n$g_d(n) / d^{n-1} \\to 1/(n-1)!$ as $d \\to \\infty$.",
  "subjects": [
    "math.MG",
    "msc:51",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos1089.erdos_1089",
  "statement_lean": "theorem erdos_1089 :\n    ∀ n : ℕ, 2 ≤ n → ∃ L : ℝ,\n      Tendsto (fun d : ℕ => (g d n : ℝ) / (d : ℝ) ^ (n - 1)) atTop (𝓝 L)",
  "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-/\n\nmodule\n\npublic import FormalConjecturesUtil\n\n/-!\n# Erdős Problem 1089\n\n*References:*\n- [erdosproblems.com/1089](https://www.erdosproblems.com/1089)\n- [Er75f] Erdős, Paul, *On some problems of elementary and combinatorial geometry*. Ann. Mat. Pura\n  Appl. (4) (1975), 99-108.\n- [BBS83] Bannai, Eiichi and Bannai, Etsuko and Stanton, Dennis, *An upper bound for the\n  cardinality of an $s$-distance subset in real Euclidean space. II*. Combinatorica (1983),\n  147-152.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped Topology\n\nnamespace Erdos1089\n\n/-- `g d n` is the least `m` such that every `m` points in `ℝ^d` determine at least `n` distinct\ndistances, i.e. the least `m` with `n ≤ minimalDistinctDistances (EuclideanSpace ℝ (Fin d)) m`. -/\nnoncomputable def g (d n : ℕ) : ℕ :=\n  sInf {m : ℕ | n ≤ minimalDistinctDistances (EuclideanSpace ℝ (Fin d)) m}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $g_d(n)$ be minimal such that every collection of $g_d(n)$ points in $\\mathbb{R}^d$ determines\nat least $n$ many distinct distances. Estimate $g_d(n)$. In particular, does\n$$\\lim_{d \\to \\infty} \\frac{g_d(n)}{d^{n-1}}$$\nexist?\n\nA problem of Erdős [Er75f, p.105]. The answer is yes: for $n \\ge 2$,\n$$\\binom{d+1}{n-1} + 1 \\le g_d(n) \\le \\binom{d+n-1}{n-1} + 1,$$\nwhere the upper bound is due to Bannai, Bannai and Stanton [BBS83] and the lower bound to a\nconstruction of Aletheia (generalising constructions for Problem 502), so that\n$g_d(n) / d^{n-1} \\to 1/(n-1)!$ as $d \\to \\infty$.\n-/\n@[category research solved, question, AMS 51 52, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1089.lean#L769\"]\ntheorem erdos_1089 :\n    ∀ n : ℕ, 2 ≤ n → ∃ L : ℝ,\n      Tendsto (fun d : ℕ => (g d n : ℝ) / (d : ℝ) ^ (n - 1)) atTop (𝓝 L) := by\n  sorry\n\nset_option linter.style.formal_proof_palomar false in\n/--\nFor $n \\ge 2$ one has $\\binom{d+1}{n-1} + 1 \\le g_d(n) \\le \\binom{d+n-1}{n-1} + 1$ for all\n$d \\ge 1$, and $g_d(n) / d^{n-1} \\to 1/(n-1)!$ as $d \\to \\infty$.\n-/\n@[category research solved, AMS 51 52, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos1089.lean#L769\"]\ntheorem erdos_1089.variants.bounds_and_limit (n : ℕ) (hn : 2 ≤ n) :\n    (∀ d, 1 ≤ d → (d + 1).choose (n - 1) + 1 ≤ g d n ∧ g d n ≤ (d + n - 1).choose (n - 1) + 1) ∧\n      Tendsto (fun d : ℕ => (g d n : ℝ) / (d : ℝ) ^ (n - 1)) atTop\n        (𝓝 ((1 : ℝ) / (n - 1).factorial)) := by\n  sorry\n\nend Erdos1089\n",
  "statement_hash": "07b19708fdcc880a165fe59d1ac7efead0aaf48245d0f706dd220ad710679386",
  "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."
}