{
  "id": "3532",
  "ident": "NS.03532",
  "slug": "erdos-89",
  "title": "Erdős Problem 89",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Erdős [Er46] asked whether every set of $n$ distinct points in $\\mathbb{R}^2$\ndetermines $\\gg \\frac{n}{\\sqrt{\\log n}}$ many distinct distances.",
  "subjects": [
    "math.MG",
    "msc:52"
  ],
  "tags": [],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos89.erdos_89",
  "statement_lean": "theorem erdos_89 :\n    (fun (n : ℕ) => n/(n : ℝ).log.sqrt) =O[atTop]\n      (fun n => (minimalDistinctDistances ℝ² n : ℝ))",
  "challenge_source": "/-\nCopyright 2025 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 89\n\n*References:*\n- [erdosproblems.com/89](https://www.erdosproblems.com/89)\n- [Er46] Erdős, Paul. On sets of distances of $n$ points. Amer. Math. Monthly\n  53 (1946), 248--250.\n- [GuKa15] Guth, Larry and Katz, Nets Hawk. On the Erdős distinct distances\n  problem in the plane. Ann. of Math. (2) 181 (2015), 155--190.\n- [Mo52] Moser, Leo. On the different distances determined by $n$ points.\n  Amer. Math. Monthly 59 (1952), 85--91.\n\n### AI disclosure\n\nLean 4 code in this file was drafted with assistance from OpenAI Codex.\nThe mathematical content and references are the author's own work.\n-/\n\n@[expose] public section\n\nopen Filter\nopen EuclideanGeometry\n\nnamespace Erdos89\n\n/--\nErdős [Er46] asked whether every set of $n$ distinct points in $\\mathbb{R}^2$\ndetermines $\\gg \\frac{n}{\\sqrt{\\log n}}$ many distinct distances.\n-/\n@[category research open, AMS 52]\ntheorem erdos_89 :\n    (fun (n : ℕ) => n/(n : ℝ).log.sqrt) =O[atTop]\n      (fun n => (minimalDistinctDistances ℝ² n : ℝ)) := by\n  sorry\n\n/--\nGuth and Katz [GuKa15] proved that there are always $\\gg \\frac{n}{\\log n}$\nmany distinct distances.\n-/\n@[category research solved, AMS 52]\ntheorem erdos_89.variants.n_dvd_log_n :\n    (fun (n : ℕ) => n/(n : ℝ).log) =O[atTop]\n      (fun n => (minimalDistinctDistances ℝ² n : ℝ)) := by\n  sorry\n\n/--\nThe square grid construction, going back to Erdős and Moser, shows that\n$\\frac{n}{\\sqrt{\\log n}}$ is the correct order if the conjecture is true:\nthere are configurations whose number of distinct distances is\n$O(\\frac{n}{\\sqrt{\\log n}})$.\n-/\n@[category research solved, AMS 52]\ntheorem erdos_89.variants.grid_upper_bound :\n    (fun n => (minimalDistinctDistances ℝ² n : ℝ)) =O[atTop]\n      (fun (n : ℕ) => n/(n : ℝ).log.sqrt) := by\n  sorry\n\n/--\nThis theorem provides a sanity check, showing that the main conjecture (`erdos_89`) is strictly\nstronger than the solved Guth and Katz result. It proves that, trivially, if the lower bound\n$\\frac{n}{\\sqrt{\\log n}}$ holds, then the weaker lower bound $\\frac{n}{\\log n}$ must also hold.\n-/\n@[category test, AMS 52]\ntheorem erdos_89.variants.implies_n_dvd_log_n (h : type_of% erdos_89) :\n    type_of% erdos_89.variants.n_dvd_log_n := by\n  refine .trans ?_ h\n  have := (Asymptotics.isLittleO_one_left_iff ℝ).mpr <| tendsto_norm_atTop_atTop.comp <|\n    (tendsto_rpow_atTop (show 0 < 1/2 by norm_num)).comp\n    (Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop)\n  convert! (Asymptotics.isBigO_refl (fun n : ℕ ↦ n/(n : ℝ).log) _).mul this.isBigO using 1\n  · simp\n  · simp_rw [Function.comp, div_mul, ← Real.sqrt_eq_rpow, Real.div_sqrt]\n\n-- TODO(firsching): formalize any remaining remarks from the erdosproblems.com page.\n\nend Erdos89\n",
  "statement_hash": "7df6d6b528cdf6b50b7d57beaa726a9a765ee27d148c0b445d297521e9baad59",
  "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."
}