{
  "id": "549",
  "ident": "NS.00549",
  "slug": "erdos-1066",
  "title": "Erdős Problem 1066",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $G$ be a graph given by $n$ points in $\\mathbb{R}^2$, where any two distinct points are at\nleast distance $1$ apart, and we draw an edge between two points if they are distance $1$ apart.\n\nLet $g(n)$ be maximal such that any such graph always has an independent set on at least $g(n)$\nvertices. Estimate $g(n)$, or perhaps $\\lim \\frac{g(n)}{n}$.\n\nWe ask for $\\lim g(n)/n$. The limit exists by Fekete's lemma, since placing two configurations far\napart shows $g(a+b) \\leq g(a)+g(b)$.",
  "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": "Erdos1066.erdos_1066",
  "statement_lean": "theorem erdos_1066 :\n    Tendsto (fun n : ℕ ↦ (g n : ℝ) / n) atTop (𝓝 erdos_1066.answer)",
  "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 1066\n\n*References:*\n- [erdosproblems.com/1066](https://www.erdosproblems.com/1066)\n- [Cs98] Csizmadia, G., *On the independence number of minimum distance graphs*.\n  Discrete Comput. Geom. 20 (1998), 179-187.\n- [Er87b] Erdős, P., *Some combinatorial and metric problems in geometry*.\n  Intuitive geometry (Siófok, 1985) (1987), 167-177.\n- [PaTo96] Pach, J. and Tóth, G., *On the independence number of coin graphs*.\n  Geombinatorics 6 (1996), 30-33.\n- [Po85] Pollack, R., *Increasing the minimum distance of a set of points*.\n  J. Combin. Theory Ser. A 40 (1985), 450.\n- [Sw02] Swanepoel, K. J., *Independence numbers of planar contact graphs*.\n  Discrete Comput. Geom. 28 (2002), 649-670.\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\nopen scoped EuclideanGeometry Topology\n\nnamespace Erdos1066\n\n/-- $g(n)$: the largest $m$ such that, for every set $X$ of $n$ points of $\\mathbb{R}^2$ with any\ntwo distinct points at distance at least $1$, the graph on $X$ joining points at distance exactly\n$1$ has an independent set with at least $m$ vertices. The set of such $m$ contains $0$ and is\nbounded by $n$, so `sSup` is a true maximum. -/\nnoncomputable def g (n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∀ X : Finset ℝ², X.card = n →\n    (X : Set ℝ²).Pairwise (fun x y ↦ 1 ≤ dist x y) →\n      m ≤ (UnitDistancePlaneGraph (X : Set ℝ²)).indepNum}\n\n/-- For every admissible point set `X`, $g(|X|)$ is at most the independence number of its unit\ndistance graph. -/\n@[category API, AMS 5 52]\ntheorem g_le (X : Finset ℝ²) (hX : (X : Set ℝ²).Pairwise (fun x y ↦ 1 ≤ dist x y)) :\n    g X.card ≤ (UnitDistancePlaneGraph (X : Set ℝ²)).indepNum := by\n  refine csSup_le ⟨0, fun _ _ _ => Nat.zero_le _⟩ ?_\n  intro m hm\n  exact hm X rfl hX\n\n/-- $g_d(n)$: the largest $m$ such that every set $X$ of $n$ points of $\\mathbb{R}^d$ with any two\ndistinct points at distance at least $1$ contains at least $m$ points with pairwise distances\ngreater than $1$. For $d \\geq 1$ the set of such $m$ contains $0$ and is bounded by $n$, so `sSup`\nis a true maximum. -/\nnoncomputable def gDim (d n : ℕ) : ℕ :=\n  sSup {m : ℕ | ∀ X : Finset (ℝ^d), X.card = n →\n    (X : Set (ℝ^d)).Pairwise (fun x y ↦ 1 ≤ dist x y) →\n      ∃ Y ⊆ X, m ≤ Y.card ∧ (Y : Set (ℝ^d)).Pairwise (fun x y ↦ 1 < dist x y)}\n\ndef erdos_1066.answer : ℝ := sorry\n\n/--\nLet $G$ be a graph given by $n$ points in $\\mathbb{R}^2$, where any two distinct points are at\nleast distance $1$ apart, and we draw an edge between two points if they are distance $1$ apart.\n\nLet $g(n)$ be maximal such that any such graph always has an independent set on at least $g(n)$\nvertices. Estimate $g(n)$, or perhaps $\\lim \\frac{g(n)}{n}$.\n\nWe ask for $\\lim g(n)/n$. The limit exists by Fekete's lemma, since placing two configurations far\napart shows $g(a+b) \\leq g(a)+g(b)$.\n-/\n@[category research open, question value, AMS 5 52]\ntheorem erdos_1066 :\n    Tendsto (fun n : ℕ ↦ (g n : ℝ) / n) atTop (𝓝 erdos_1066.answer) := by\n  sorry\n\n/--\nSuch graphs are always planar. Pollack [Po85] noted that the Four colour theorem implies\n$g(n)\\geq n/4$, since the graph is planar.\n-/\n@[category research solved, AMS 5 52]\ntheorem erdos_1066.variants.pollack (n : ℕ) : (n : ℝ) / 4 ≤ (g n : ℝ) := by\n  sorry\n\n/--\nThis lower bound has been improved to $\\frac{9}{35}n$ by Csizmadia [Cs98] and then\n$\\frac{8}{31}n$ by Swanepoel [Sw02].\n-/\n@[category research solved, AMS 5 52]\ntheorem erdos_1066.variants.swanepoel (n : ℕ) : (8 / 31 : ℝ) * n ≤ (g n : ℝ) := by\n  sorry\n\n/--\nErdős initially thought that $g(n)=n/3$, but Chung and Graham, and independently Pach, gave a\nconstruction that shows $g(n)\\leq \\frac{6}{19}n$. Pach and Tóth [PaTo96] improved this to\n$g(n)\\leq \\frac{5}{16}n$.\n\nSince $g(1) = 1$, the bound cannot hold for all $n$, so it is stated for infinitely many $n$,\nwith $5/16$ replaced by $5/16+\\varepsilon$ for every $\\varepsilon > 0$.\n-/\n@[category research solved, AMS 5 52]\ntheorem erdos_1066.variants.pach_toth :\n    ∀ ε > (0 : ℝ), ∃ᶠ n : ℕ in atTop, (g n : ℝ) ≤ (5 / 16 + ε) * n := by\n  sorry\n\n/--\nPollack [Po85] also reports a letter from Erdős which poses the more general problem of, given\n$n$ points in $\\mathbb{R}^d$ with minimum distance $1$, let $g_d(n)$ be maximal such that there\nalways exist at least $g_d(n)$ many points which have minimum distance $>1$. Is it true that\n$g_d(n) \\gg n/d$ in general?\n\nWe read this with a constant independent of $d$ and $n$.\n-/\n@[category research open, question, AMS 52]\ntheorem erdos_1066.variants.higher_dim :\n    ∃ c > (0 : ℝ), ∀ d n : ℕ, 1 ≤ d → c * n / d ≤ (gDim d n : ℝ) := by\n  sorry\n\nend Erdos1066\n",
  "statement_hash": "0b4c5b3a16877e7f6fb98e3c2168a3346b9a2cf067c8b6f71b5e26a6815908cc",
  "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."
}