Index of theproofnetwork/open-problems@860a535/FormalConjectures/ErdosProblems/Erdos89.lean

qedmarket’s copy of theproofnetwork/open-problems@860a535, 1 Dec 2026original source ↗

95 lines · 3.4 kBraw
/-Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License at     https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.-/module public import FormalConjecturesUtil /-!# Erdős Problem 89 *References:*- [erdosproblems.com/89](https://www.erdosproblems.com/89)- [Er46] Erdős, Paul. On sets of distances of $n$ points. Amer. Math. Monthly  53 (1946), 248--250.- [GuKa15] Guth, Larry and Katz, Nets Hawk. On the Erdős distinct distances  problem in the plane. Ann. of Math. (2) 181 (2015), 155--190.- [Mo52] Moser, Leo. On the different distances determined by $n$ points.  Amer. Math. Monthly 59 (1952), 85--91. ### AI disclosure Lean 4 code in this file was drafted with assistance from OpenAI Codex.The mathematical content and references are the author's own work.-/ @[expose] public section open Filteropen EuclideanGeometry namespace Erdos89 /--Erdős [Er46] asked whether every set of $n$ distinct points in $\mathbb{R}^2$determines $\gg \frac{n}{\sqrt{\log n}}$ many distinct distances.-/@[category research open, AMS 52]theorem erdos_89 :    (fun (n : ℕ) => n/(n : ℝ).log.sqrt) =O[atTop]      (fun n => (minimalDistinctDistances ℝ² n : ℝ)) := by  sorry /--Guth and Katz [GuKa15] proved that there are always $\gg \frac{n}{\log n}$many distinct distances.-/@[category research solved, AMS 52]theorem erdos_89.variants.n_dvd_log_n :    (fun (n : ℕ) => n/(n : ℝ).log) =O[atTop]      (fun n => (minimalDistinctDistances ℝ² n : ℝ)) := by  sorry /--The square grid construction, going back to Erdős and Moser, shows that$\frac{n}{\sqrt{\log n}}$ is the correct order if the conjecture is true:there are configurations whose number of distinct distances is$O(\frac{n}{\sqrt{\log n}})$.-/@[category research solved, AMS 52]theorem erdos_89.variants.grid_upper_bound :    (fun n => (minimalDistinctDistances ℝ² n : ℝ)) =O[atTop]      (fun (n : ℕ) => n/(n : ℝ).log.sqrt) := by  sorry /--This theorem provides a sanity check, showing that the main conjecture (`erdos_89`) is strictlystronger than the solved Guth and Katz result. It proves that, trivially, if the lower bound$\frac{n}{\sqrt{\log n}}$ holds, then the weaker lower bound $\frac{n}{\log n}$ must also hold.-/@[category test, AMS 52]theorem erdos_89.variants.implies_n_dvd_log_n (h : type_of% erdos_89) :    type_of% erdos_89.variants.n_dvd_log_n := by  refine .trans ?_ h  have := (Asymptotics.isLittleO_one_left_iff ℝ).mpr <| tendsto_norm_atTop_atTop.comp <|    (tendsto_rpow_atTop (show 0 < 1/2 by norm_num)).comp    (Real.tendsto_log_atTop.comp tendsto_natCast_atTop_atTop)  convert! (Asymptotics.isBigO_refl (fun n : ℕ ↦ n/(n : ℝ).log) _).mul this.isBigO using 1  · simp  · simp_rw [Function.comp, div_mul, ← Real.sqrt_eq_rpow, Real.div_sqrt] -- TODO(firsching): formalize any remaining remarks from the erdosproblems.com page. end Erdos89

download (.tar)