{
  "id": "2636",
  "ident": "NS.02636",
  "slug": "erdos-625",
  "title": "Erdős Problem 625",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "The cochromatic number of $G$, denoted by $\\zeta(G)$, is the minimum number of colours needed\nto colour the vertices of $G$ such that each colour class induces either a complete graph or\nempty graph. Let $\\chi(G)$ denote the chromatic number.\n\nIf $G$ is a random graph with $n$ vertices and each edge included independently with\nprobability $1/2$ then is it true that almost surely $\\chi(G)-\\zeta(G)\\to\\infty$ as\n$n\\to\\infty$?\n\nHere \"almost surely $\\chi(G)-\\zeta(G)\\to\\infty$\" is read in the usual random-graph sense: for\nevery fixed real threshold $K$, the probability that $\\chi(G)-\\zeta(G)\\ge K$ tends to one along\nthe full sequence of natural numbers. The answer is yes. Heckel [He24c] proved this along a\nsubsequence of density about $0.95$; Petkov [Pe26] proves it along all $n$, with the\nquantitative bound below.",
  "subjects": [
    "math.CO",
    "math.PR",
    "msc:05",
    "msc:60"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos625.erdos_625",
  "statement_lean": "theorem erdos_625 :\n    ∀ K : ℝ, Tendsto\n      (fun n : ℕ ↦ binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩\n        {G | K ≤ (G.chromaticNumber.toNat : ℝ) - G.cochromaticNumber.toNat})\n      atTop (𝓝 1)",
  "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 625\n\n*References:*\n- [erdosproblems.com/625](https://www.erdosproblems.com/625)\n- [ErGi93] P. Erdős and J. Gimbel, *Some problems and results in cochromatic theory*.\n  Annals of Discrete Mathematics 55 (1993), 261–264.\n- [Gi16] J. Gimbel, *Some of my favorite coloring problems for graphs and digraphs*.\n  Graph Theory: Favorite Conjectures and Open Problems 1 (2016), 95–108.\n- [He24c] A. Heckel, *The difference between the chromatic and the cochromatic number of a\n  random graph* (2024), [arXiv:2409.17614](https://arxiv.org/abs/2409.17614).\n- [Pe26] S. Petkov, *A Full-Sequence Quantitative Gap Between the Chromatic and Cochromatic\n  Numbers of a Random Graph* (2026), [arXiv:2608.30604](https://arxiv.org/abs/2608.30604).\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\nopen scoped Topology\n\nnamespace Erdos625\n\n/--\nThe cochromatic number of $G$, denoted by $\\zeta(G)$, is the minimum number of colours needed\nto colour the vertices of $G$ such that each colour class induces either a complete graph or\nempty graph. Let $\\chi(G)$ denote the chromatic number.\n\nIf $G$ is a random graph with $n$ vertices and each edge included independently with\nprobability $1/2$ then is it true that almost surely $\\chi(G)-\\zeta(G)\\to\\infty$ as\n$n\\to\\infty$?\n\nHere \"almost surely $\\chi(G)-\\zeta(G)\\to\\infty$\" is read in the usual random-graph sense: for\nevery fixed real threshold $K$, the probability that $\\chi(G)-\\zeta(G)\\ge K$ tends to one along\nthe full sequence of natural numbers. The answer is yes. Heckel [He24c] proved this along a\nsubsequence of density about $0.95$; Petkov [Pe26] proves it along all $n$, with the\nquantitative bound below.\n-/\n@[category research solved, question, AMS 5 60, formal_proof using lean4 at\n  \"https://palomar-registry.org/entry.html?id=PALOMAR-2026-09-02-000006\"]\ntheorem erdos_625 :\n    ∀ K : ℝ, Tendsto\n      (fun n : ℕ ↦ binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩\n        {G | K ≤ (G.chromaticNumber.toNat : ℝ) - G.cochromaticNumber.toNat})\n      atTop (𝓝 1) := by\n  sorry\n\n/--\nPetkov [Pe26] proves that, for $G\\sim G(n,1/2)$, the probability that\n$$\\chi(G)-\\zeta(G)\\geq\n\\frac{(\\log 2)^2}{4}\\log\\!\\left(\\frac{200}{153}\\right)\\frac{n}{(\\log n)^3}$$\ntends to one as $n\\to\\infty$ along all natural numbers. All logarithms are natural.\n-/\n@[category research solved, AMS 5 60, formal_proof using lean4 at\n  \"https://palomar-registry.org/entry.html?id=PALOMAR-2026-09-02-000006\"]\ntheorem erdos_625.variants.quantitative :\n    Tendsto\n      (fun n : ℕ ↦ binomialRandom (Fin n) ⟨1 / 2, by norm_num⟩\n        {G | ((Real.log 2) ^ 2 / 4 * Real.log (200 / 153 : ℝ)) *\n            n / (Real.log n) ^ 3 ≤\n          (G.chromaticNumber.toNat : ℝ) - G.cochromaticNumber.toNat})\n      atTop (𝓝 1) := by\n  sorry\n\nend Erdos625\n",
  "statement_hash": "d5133128b5202a2f70e37790e41cac142082d3ab28246af86bcc5b42e3a6b9f6",
  "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."
}