{
  "id": "2599",
  "ident": "NS.02599",
  "slug": "erdos-604",
  "title": "Erdős Problem 604",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Given $n$ distinct points $A\\subset\\mathbb{R}^2$, must there be a point $x\\in A$ such that\n$$\\#\\{ d(x,y) : y \\in A\\} \\gg n^{1-o(1)}?$$\n\nThis is the pinned distance problem, a stronger form of Problem 89. Here $n^{1-o(1)}$ means: for\nevery $\\varepsilon > 0$ and all large $n$, the bound is at least $n^{1-\\varepsilon}$. We do not\ncount the distance $d(x, x) = 0$; this changes the count by one.\n\nThis weak formulation was proved by OpenAI [OAI26].",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos604.erdos_604",
  "statement_lean": "theorem erdos_604 :\n    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,\n      (n : ℝ) ^ (1 - ε) ≤ (pinnedDistinctDistances n : ℝ)",
  "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 604\n\n*References:*\n- [erdosproblems.com/604](https://www.erdosproblems.com/604)\n- [OAI26] OpenAI, [*The weak pinned planar distance theorem*](https://github.com/openai/math/blob/1581d4cbdd69a0faf34b2089614fe2a814316a6a/preprints/The-weak-pinned-planar-distance-theorem-September-23-2026/paper.pdf) (2026).\n- [Er46] Erdős, Paul, *On sets of distances of $n$ points*. Amer. Math. Monthly (1946), 248--250.\n- [Er57] Erdős, Paul, *Some unsolved problems*. Michigan Math. J. (1957), 291-300.\n- [Er61] Erdős, Paul, *Some unsolved problems*. Magyar Tud. Akad. Mat. Kutató Int. Közl. (1961),\n  221-254.\n- [Er75f] Erdős, Paul, *On some problems of elementary and combinatorial geometry*. Ann. Mat. Pura\n  Appl. (4) (1975), 99-108.\n- [Er83c] Erdős, Paul, *Combinatorial problems in geometry*. Math. Chronicle (1983), 35-54.\n- [Er85] Erdős, P., *Problems and results in combinatorial geometry*. Discrete geometry and\n  convexity (New York, 1982) (1985), 1-11.\n- [Er87b] Erdős, P., *Some combinatorial and metric problems in geometry*. Intuitive geometry\n  (Siófok, 1985) (1987), 167-177.\n- [Er90] Erdős, Paul, *Some of my favourite unsolved problems*. A tribute to Paul Erdős (1990),\n  467-478.\n- [Er95] Erdős, Paul, *Some of my favourite problems in number theory, combinatorics, and\n  geometry*. Resenhas (1995), 165-186.\n- [Er97b] Erdős, Paul, *Some old and new problems in various branches of combinatorics*. Discrete\n  Math. (1997), 227-231.\n- [Er97c] Erdős, Paul, *Some of my favorite problems and results*. The mathematics of Paul Erdős,\n  I (1997), 47-67.\n- [Er97e] Erdős, Paul, *Some of my favourite unsolved problems*. Math. Japon. (1997), 527-537.\n- [Er97f] Erdős, Paul, *Some unsolved problems*. Combinatorics, geometry and probability\n  (Cambridge, 1993) (1997), 1-10.\n- [KaTa04] Katz, Nets Hawk and Tardos, Gábor, *A new entropy inequality for the Erdős distance\n  problem*. Towards a theory of geometric graphs (2004), 119-126.\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped EuclideanGeometry Finset\n\nnamespace Erdos604\n\n/-- The pinned distance function $f(n)$. For a set $A$ of $n$ points in $\\mathbb{R}^2$, take the\nlargest number of distinct distances from a point $x \\in A$ to the other points of $A$. Then\n$f(n)$ is the least such value over all such sets $A$.\n\nThe distance $d(x, x) = 0$ is not counted, as in `distinctDistancesFrom`. Every $n$ admits a set\nof $n$ points in $\\mathbb{R}^2$, so the infimum is a minimum. -/\nnoncomputable def pinnedDistinctDistances (n : ℕ) : ℕ :=\n  sInf {m : ℕ | ∃ A : Finset ℝ², #A = n ∧ A.sup (distinctDistancesFrom A) = m}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nGiven $n$ distinct points $A\\subset\\mathbb{R}^2$, must there be a point $x\\in A$ such that\n$$\\#\\{ d(x,y) : y \\in A\\} \\gg n^{1-o(1)}?$$\n\nThis is the pinned distance problem, a stronger form of Problem 89. Here $n^{1-o(1)}$ means: for\nevery $\\varepsilon > 0$ and all large $n$, the bound is at least $n^{1-\\varepsilon}$. We do not\ncount the distance $d(x, x) = 0$; this changes the count by one.\n\nThis weak formulation was proved by OpenAI [OAI26].\n-/\n@[category research solved, question, AMS 52,\n  formal_proof using lean4 at\n    \"https://github.com/MendozaLab/erdos-experiments/blob/09f72c57ed2d98906b9cf03bff2091f6fe73807f/proofs/erdos604/Erdos604Proof/ExternalApplication.lean#L17\"]\ntheorem erdos_604 :\n    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,\n      (n : ℝ) ^ (1 - ε) ≤ (pinnedDistinctDistances n : ℝ) := by\n  sorry\n\n/--\nGiven $n$ distinct points $A\\subset\\mathbb{R}^2$, must there be a point $x\\in A$ such that\n$$\\#\\{ d(x,y) : y \\in A\\} \\gg \\frac{n}{\\sqrt{\\log n}}?$$\n-/\n@[category research open, question, AMS 52]\ntheorem erdos_604.variants.sqrt_log :\n    (fun n : ℕ => (n : ℝ) / (n : ℝ).log.sqrt) =O[atTop]\n      (fun n => (pinnedDistinctDistances n : ℝ)) := by\n  sorry\n\n/--\nThe integer grid shows that $\\frac{n}{\\sqrt{\\log n}}$ would be best possible: there are sets of\n$n$ points in $\\mathbb{R}^2$ in which every point has $O(\\frac{n}{\\sqrt{\\log n}})$ distinct\ndistances to the other points. This follows from the bound of Erdős [Er46] on the total number of\ndistinct distances in the grid (see Erdős Problem 89), since the number of distances from one point\nis at most the total number of distances. For $n$ that is not a square, take $n$ points of the\nsmallest square grid with at least $n$ points.\n-/\n@[category research solved, AMS 52]\ntheorem erdos_604.variants.grid_upper_bound :\n    (fun n => (pinnedDistinctDistances n : ℝ)) =O[atTop]\n      (fun n : ℕ => (n : ℝ) / (n : ℝ).log.sqrt) := by\n  sorry\n\n/--\nKatz and Tardos [KaTa04] proved that some point of $A$ has $\\gg n^{c-o(1)}$ distinct distances to\nthe other points of $A$, where\n$$c=\\frac{48-14e}{55-16e}=0.864137\\cdots.$$\n-/\n@[category research solved, AMS 52]\ntheorem erdos_604.variants.katz_tardos :\n    ∀ ε : ℝ, 0 < ε → ∀ᶠ n : ℕ in atTop,\n      (n : ℝ) ^ ((48 - 14 * Real.exp 1) / (55 - 16 * Real.exp 1) - ε) ≤\n        (pinnedDistinctDistances n : ℝ) := by\n  sorry\n\n/--\nLet $d(x)$ be the number of distinct distances from $x$ to the other points of $A$. Erdős [Er75f]\nconjectured that\n$$\\sum_{x\\in A}d(x) \\gg \\frac{n^2}{\\sqrt{\\log n}}$$\nfor every set $A\\subset\\mathbb{R}^2$ of $n$ points.\n\nThe sum is at most $n$ times the largest $d(x)$, so this conjecture implies a positive answer to\n`Erdos604.erdos_604.variants.sqrt_log`.\n-/\n@[category research open, AMS 52]\ntheorem erdos_604.variants.average :\n    ∃ C : ℝ, 0 < C ∧ ∀ᶠ n : ℕ in atTop, ∀ A : Finset ℝ², #A = n →\n      C * (n : ℝ) ^ 2 / (n : ℝ).log.sqrt ≤ ((∑ x ∈ A, distinctDistancesFrom A x : ℕ) : ℝ) := by\n  sorry\n\nend Erdos604\n",
  "statement_hash": "672fba034afaaa3a9af4f66cf5c9f3180f597a805e9fc75654f83f5d769dce8e",
  "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."
}