{
  "id": "2504",
  "ident": "NS.02504",
  "slug": "erdos-579",
  "title": "Erdős Problem 579",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\delta > 0$. If $n$ is sufficiently large and $G$ is a graph on $n$ vertices with no\n$K_{2,2,2}$ (the octahedron) and at least $\\delta n^2$ edges, must $G$ contain an independent\nset of size $\\gg_\\delta n$?\n\nThis is a problem of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]. It is **open**; they proved\nthe statement for $\\delta > 1/8$ (see `erdos_579.variants.ehss_large_delta`), and the\ndifficulty is to push the edge-density threshold down to an arbitrary $\\delta > 0$.\n\nHere $K_{2,2,2}$ is the complete tripartite graph with all parts of size $2$, encoded as\n`completeMultipartiteGraph (fun _ : Fin 3 => Fin 2)`; \"contains no $K_{2,2,2}$\" is expressed\nvia `SimpleGraph.Free`.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos579.erdos_579",
  "statement_lean": "theorem erdos_579 :\n    ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,\n      ∀ G : SimpleGraph (Fin n), octahedron.Free G →\n        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →\n          c * n ≤ (G.indepNum : ℝ)",
  "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 579\n\n*References:*\n- [erdosproblems.com/579](https://www.erdosproblems.com/579)\n- [EHSS83] P. Erdős, A. Hajnal, V. T. Sós and E. Szemerédi, *More results on Ramsey–Turán\n  type problems*, Combinatorica **3** (1983), 69–81.\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\n\nnamespace Erdos579\n\n/-- The octahedron $K_{2,2,2}$: the complete tripartite graph with all three parts of\nsize $2$. -/\nabbrev octahedron : SimpleGraph (Σ _ : Fin 3, Fin 2) :=\n  completeMultipartiteGraph (fun _ : Fin 3 => Fin 2)\n\nopen scoped Classical in\n/--\nLet $\\delta > 0$. If $n$ is sufficiently large and $G$ is a graph on $n$ vertices with no\n$K_{2,2,2}$ (the octahedron) and at least $\\delta n^2$ edges, must $G$ contain an independent\nset of size $\\gg_\\delta n$?\n\nThis is a problem of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]. It is **open**; they proved\nthe statement for $\\delta > 1/8$ (see `erdos_579.variants.ehss_large_delta`), and the\ndifficulty is to push the edge-density threshold down to an arbitrary $\\delta > 0$.\n\nHere $K_{2,2,2}$ is the complete tripartite graph with all parts of size $2$, encoded as\n`completeMultipartiteGraph (fun _ : Fin 3 => Fin 2)`; \"contains no $K_{2,2,2}$\" is expressed\nvia `SimpleGraph.Free`.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_579 :\n    ∀ δ : ℝ, 0 < δ → ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,\n      ∀ G : SimpleGraph (Fin n), octahedron.Free G →\n        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →\n          c * n ≤ (G.indepNum : ℝ) := by\n  sorry\n\nopen scoped Classical in\n/--\nThe partial result of Erdős, Hajnal, Sós, and Szemerédi [EHSS83]: the statement of\n`erdos_579` holds whenever the edge-density coefficient exceeds $1/8$. That is, for every\n$\\delta > 1/8$ there is a $c > 0$ such that for all sufficiently large $n$, every\n$K_{2,2,2}$-free graph $G$ on $n$ vertices with at least $\\delta n^2$ edges has an independent\nset of size at least $c n$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_579.variants.ehss_large_delta (δ : ℝ) (hδ : 1 / 8 < δ) :\n    ∃ c : ℝ, 0 < c ∧ ∀ᶠ n : ℕ in atTop,\n      ∀ G : SimpleGraph (Fin n), octahedron.Free G →\n        δ * (n : ℝ) ^ 2 ≤ G.edgeFinset.card →\n          c * n ≤ (G.indepNum : ℝ) := by\n  sorry\n\n/--\nSanity check that the forbidden structure is non-trivial: the octahedron is of course not\noctahedron-free, since it contains a copy of itself.\n-/\n@[category test, AMS 5]\ntheorem erdos_579.variants.octahedron_not_free : ¬ octahedron.Free octahedron :=\n  fun h => h IsContained.rfl\n\nend Erdos579\n",
  "statement_hash": "91436b46ceefc55ee5ca48493bffc4e65681feb8b29260917fea0e5955063386",
  "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."
}