{
  "id": "2215",
  "ident": "NS.02215",
  "slug": "erdos-466",
  "title": "Erdős Problem 466",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $N(X,\\delta)$ denote the maximum number of points $P_1,\\ldots,P_n$ which can be chosen in a\ncircle of radius $X$ such that\n$$\\| \\lvert P_i-P_j\\rvert \\| \\geq \\delta$$\nfor all $1\\leq i<j\\leq n$. (Here $\\|x\\|$ is the distance from $x$ to the nearest integer.)\n\nIs there some $\\delta>0$ such that\n$$\\lim_{X\\to \\infty}N(X,\\delta)=\\infty?$$\n\nGraham proved this is true, and in fact $N(X,1/10)> \\frac{\\log X}{10}$. This was substantially\nimproved by Sárközy [Sa76], who proved that for all sufficiently small $\\delta>0$,\n$N(X,\\delta)>X^{1/2-\\delta^{1/7}}$.",
  "subjects": [
    "math.NT",
    "math.MG",
    "msc:11",
    "msc:52"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos466.erdos_466",
  "statement_lean": "theorem erdos_466 : ∃ δ : ℝ, 0 < δ ∧ Tendsto (fun X ↦ N X δ) 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 466\n\n*References:*\n- [erdosproblems.com/466](https://www.erdosproblems.com/466)\n- [Er72] Erdős, Paul, *Extremal problems in number theory*. Proceedings of the 1972 Number Theory\n  Conference (Univ. Colorado, Boulder, Colo.) (1972), 80-86.\n- [ErGr80] Erdős, P. and Graham, R., *Old and new problems and results in combinatorial number\n  theory*. Monographies de L'Enseignement Mathematique (1980).\n- [Er82e] Erdős, Paul, *Some of my favourite problems which recently have been solved*. (1982),\n  59-79.\n- [Sa76] Sárközy, A., *On distances near integers. I, II*. Studia Sci. Math. Hungar. (1976), 37-50,\n  105-111.\n-/\n\n@[expose] public section\n\nopen Filter Metric\n\nnamespace Erdos466\n\n/--\n`N X δ` is the maximum number of points in a closed disc of radius `X` in the plane such that\nthe distance between any two of them is at least `δ` away from the nearest integer.\n-/\nnoncomputable def N (X δ : ℝ) : ℕ :=\n  sSup {n | ∃ (c : EuclideanSpace ℝ (Fin 2)) (P : Finset (EuclideanSpace ℝ (Fin 2))),\n    P.card = n ∧ ↑P ⊆ closedBall c X ∧\n      (P : Set (EuclideanSpace ℝ (Fin 2))).Pairwise fun x y => δ ≤ distToNearestInt (dist x y)}\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $N(X,\\delta)$ denote the maximum number of points $P_1,\\ldots,P_n$ which can be chosen in a\ncircle of radius $X$ such that\n$$\\| \\lvert P_i-P_j\\rvert \\| \\geq \\delta$$\nfor all $1\\leq i<j\\leq n$. (Here $\\|x\\|$ is the distance from $x$ to the nearest integer.)\n\nIs there some $\\delta>0$ such that\n$$\\lim_{X\\to \\infty}N(X,\\delta)=\\infty?$$\n\nGraham proved this is true, and in fact $N(X,1/10)> \\frac{\\log X}{10}$. This was substantially\nimproved by Sárközy [Sa76], who proved that for all sufficiently small $\\delta>0$,\n$N(X,\\delta)>X^{1/2-\\delta^{1/7}}$.\n-/\n@[category research solved, question, AMS 11 52, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos466.lean#L292\"]\ntheorem erdos_466 : ∃ δ : ℝ, 0 < δ ∧ Tendsto (fun X ↦ N X δ) atTop atTop := by\n  sorry\n\n/-- Graham proved that $N(X,1/10)> \\frac{\\log X}{10}$. -/\n@[category research solved, AMS 11 52]\ntheorem erdos_466.variants.graham : ∀ X : ℝ, 1 ≤ X → Real.log X / 10 < N X (1 / 10) := by\n  sorry\n\n/--\nSárközy [Sa76] proved that for all sufficiently small $\\delta>0$,\n$N(X,\\delta)>X^{1/2-\\delta^{1/7}}$ for all sufficiently large $X$.\n-/\n@[category research solved, AMS 11 52]\ntheorem erdos_466.variants.sarkozy : ∃ δ₀ : ℝ, 0 < δ₀ ∧ ∀ δ : ℝ, 0 < δ → δ < δ₀ →\n    ∀ᶠ X : ℝ in atTop, X ^ (1 / 2 - δ ^ (1 / 7 : ℝ)) < N X δ := by\n  sorry\n\nend Erdos466\n",
  "statement_hash": "9b40e2aa625cd27265bfd22c8f4053aea22c36bbdfd296420494813998ad84f6",
  "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."
}