{
  "id": "2737",
  "ident": "NS.02737",
  "slug": "erdos-652",
  "title": "Erdős Problem 652",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $x_1,\\ldots,x_n\\in \\mathbb{R}^2$ and let\n$R(x_i)=\\#\\{ \\lvert x_j-x_i\\rvert : j\\neq i\\}$, where the points are ordered such that\n$$R(x_1)\\leq \\cdots \\leq R(x_n).$$\nLet $\\alpha_k$ be minimal such that, for all large enough $n$, there exists a set of $n$ points\nwith $R(x_k)<\\alpha_kn^{1/2}$. Is it true that $\\alpha_k\\to \\infty$ as $k\\to \\infty$?\n\nMathialagan [Ma21] proved that given a set $P$ of $k$ points and a set $Q$ of $n$ points,\nwith $2\\leq k\\leq n^{1/3}$, there exists a point in $P$ which determines\n$\\gg (kn)^{1/2}$ distances to points in $Q$.",
  "subjects": [
    "math.CO",
    "math.MG",
    "msc:05",
    "msc:52"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos652.erdos_652",
  "statement_lean": "theorem erdos_652 : Tendsto alpha atTop atTop",
  "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 652\n\n*References:*\n- [erdosproblems.com/652](https://www.erdosproblems.com/652)\n- [Ma21] Mathialagan, Surya, *On bipartite distinct distances in the plane*.\n  Electron. J. Combin. **28** (2021), no. 4, Paper No. 4.33, 25 pp.\n  [doi:10.37236/9687](https://doi.org/10.37236/9687)\n- [Discussion](https://www.erdosproblems.com/forum/thread/652)\n-/\n\n@[expose] public section\n\nopen Filter\nopen scoped EuclideanGeometry\n\nnamespace Erdos652\n\nopen scoped Classical in\n/-- The positive constants $a$ such that, for all sufficiently large $n$, some set of $n$\npoints has at least $k$ points determining fewer than $a\\sqrt n$ distances to its other points.\nCounting these points expresses $R(x_k)<a\\sqrt n$ without choosing an ordering. -/\ndef AdmissibleConstant (k : ℕ) (a : ℝ) : Prop :=\n  0 < a ∧ ∀ᶠ n : ℕ in atTop, ∃ points : Finset ℝ²,\n    points.card = n ∧\n      k ≤ (points.filter fun point => (distinctDistancesFrom points point : ℝ) <\n        a * Real.sqrt n).card\n\n/-- The infimum of the admissible positive constants for the $k$th smallest distance count.\nAn infimum is used because a least constant need not exist for a strict inequality. -/\nnoncomputable def alpha (k : ℕ) : ℝ :=\n  sInf {a | AdmissibleConstant k a}\n\n/-- An admissible constant is strictly positive. -/\n@[category test, AMS 5 52]\ntheorem not_admissibleConstant_zero (k : ℕ) : ¬ AdmissibleConstant k 0 := by\n  rintro ⟨ha, -⟩\n  exact lt_irrefl _ ha\n\n/-- Let $x_1,\\ldots,x_n\\in \\mathbb{R}^2$ and let\n$R(x_i)=\\#\\{ \\lvert x_j-x_i\\rvert : j\\neq i\\}$, where the points are ordered such that\n$$R(x_1)\\leq \\cdots \\leq R(x_n).$$\nLet $\\alpha_k$ be minimal such that, for all large enough $n$, there exists a set of $n$ points\nwith $R(x_k)<\\alpha_kn^{1/2}$. Is it true that $\\alpha_k\\to \\infty$ as $k\\to \\infty$?\n\nMathialagan [Ma21] proved that given a set $P$ of $k$ points and a set $Q$ of $n$ points,\nwith $2\\leq k\\leq n^{1/3}$, there exists a point in $P$ which determines\n$\\gg (kn)^{1/2}$ distances to points in $Q$. -/\n@[category research solved, question, AMS 5 52]\ntheorem erdos_652 : Tendsto alpha atTop atTop := by\n  sorry\n\n/-- It is trivial that $R(x_1)=1$ is possible.\nWe require $n\\geq 2$ because a singleton determines no distances to other points. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.first (n : ℕ) (hn : 2 ≤ n) :\n    ∃ points : Finset ℝ², points.card = n ∧\n      ∃ point ∈ points, distinctDistancesFrom points point = 1 := by\n  sorry\n\n/-- We always have $R(x_1)R(x_2)\\gg n$.\nEquivalently, the same bound holds for any two distinct points of the set. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.product :\n    ∃ c : ℝ, 0 < c ∧ ∀ points : Finset ℝ²,\n      ∀ p ∈ points, ∀ q ∈ points, p ≠ q →\n        c * points.card ≤\n          (distinctDistancesFrom points p : ℝ) * distinctDistancesFrom points q := by\n  sorry\n\n/-- Elekes proved that for every $k$ and $n$ sufficiently large there exists some set of\n$n$ points with $R(x_k)\\ll_k n^{1/2}$. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.elekes :\n    ∀ k : ℕ, ∃ a : ℝ, AdmissibleConstant k a := by\n  sorry\n\nopen scoped Classical in\n/-- Mathialagan [Ma21, Theorem 14] proved that given a set $P$ of $k$ points and a set $Q$\nof $n$ points, with $2\\leq k\\leq n^{1/3}$, there exists a point in $P$ which determines\n$\\gg (kn)^{1/2}$ distances to points in $Q$. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.mathialagan :\n    ∃ c : ℝ, 0 < c ∧ ∀ P Q : Finset ℝ²,\n      2 ≤ P.card → P.card ^ 3 ≤ Q.card →\n        ∃ p ∈ P, c * Real.sqrt ((P.card : ℝ) * Q.card) ≤\n          (Q.image fun q => dist p q).card := by\n  sorry\n\nopen scoped Classical in\n/-- Mathialagan's bound immediately implies $R(x_k)\\gg (kn)^{1/2}$ for\n$2\\leq k\\leq n^{1/3}$: fewer than $k$ points have distance count below the bound. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.kth_lower_bound :\n    ∃ c : ℝ, 0 < c ∧ ∀ points : Finset ℝ², ∀ k : ℕ,\n      2 ≤ k → k ^ 3 ≤ points.card →\n        (points.filter fun point => (distinctDistancesFrom points point : ℝ) <\n          c * Real.sqrt ((k : ℝ) * points.card)).card < k := by\n  sorry\n\n/-- Elekes' construction and Mathialagan's lower bound give\n$\\alpha_k=\\Theta(\\sqrt k)$, as noted by Zach Hunter in the discussion. -/\n@[category research solved, AMS 5 52]\ntheorem erdos_652.variants.order_sqrt :\n    ∃ c C : ℝ, 0 < c ∧ 0 < C ∧ ∀ᶠ k : ℕ in atTop,\n      c * Real.sqrt k ≤ alpha k ∧ alpha k ≤ C * Real.sqrt k := by\n  sorry\n\nend Erdos652\n",
  "statement_hash": "b6c6a870edf38eb27918f200fd5778eb508a22cd32fe7c1dfd4baf1621bfb1f8",
  "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."
}