{
  "id": "2647",
  "ident": "NS.02647",
  "slug": "erdos-627",
  "title": "Erdős Problem 627",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $\\omega(G)$ denote the clique number of $G$ and $\\chi(G)$ the chromatic number. If $f(n)$ is\nthe maximum value of $\\chi(G)/\\omega(G)$, as $G$ ranges over all graphs on $n$ vertices, then\ndoes\n$$\\lim_{n\\to\\infty}\\frac{f(n)}{n/(\\log_2n)^2}$$\nexist?\n\nSince $f(n) \\asymp n/(\\log_2 n)^2$ (see `Erdos627.erdos_627.variants.theta`), the limit, if it\nexists, is a finite real number.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos627.erdos_627",
  "statement_lean": "theorem erdos_627 :\n    ∃ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))\n      atTop (𝓝 L)",
  "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 627\n\n*References:*\n- [erdosproblems.com/627](https://www.erdosproblems.com/627)\n- [AFM25] Araujo, I. and Filipe, R. and Miyazaki, R., *A note on the maximum ratio between\n  chromatic number and clique number*. arXiv:2512.16062 (2025).\n- [Er61d] Erdős, P., *Graph theory and probability. II*. Canadian J. Math. (1961), 346-352.\n- [Er67c] Erdős, P., *Some remarks on chromatic graphs*. Colloq. Math. (1967), 253-256.\n- [Er69b] Erdős, P., *Problems and results in chromatic graph theory*. Proof Techniques in Graph\n  Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968) (1969), 27-35.\n- [My55] Mycielski, J., *Sur le coloriage des graphs*. Colloquium Mathematicum 3 (1955), 161–162.\n  [doi:10.4064/cm-3-2-161-162](https://doi.org/10.4064/cm-3-2-161-162)\n- [Zy52] Zykov, A. A., *On some properties of linear complexes*. Amer. Math. Soc. Translation\n  (1952), 33.\n-/\n\n@[expose] public section\n\nopen Filter SimpleGraph\nopen scoped Topology Asymptotics\n\nnamespace Erdos627\n\n/--\n`maxChromaticCliqueRatio n` is $f(n)$, the maximum of $\\chi(G)/\\omega(G)$ over all graphs $G$ on\n$n$ vertices.\n\nA graph on `Fin n` is finite, so its chromatic number (an element of `ℕ∞`) is finite and\n`ENat.toNat` returns it. The maximum is taken over the finitely many graphs on `Fin n`, so the\nsupremum is attained. For $n = 0$ the only graph is empty, with $\\chi = \\omega = 0$, and the\nconvention $0 / 0 = 0$ gives $f(0) = 0$; this does not affect any asymptotic statement below.\n-/\nnoncomputable def maxChromaticCliqueRatio (n : ℕ) : ℝ :=\n  ⨆ G : SimpleGraph (Fin n), (G.chromaticNumber.toNat : ℝ) / (G.cliqueNum : ℝ)\n\n/--\nLet $\\omega(G)$ denote the clique number of $G$ and $\\chi(G)$ the chromatic number. If $f(n)$ is\nthe maximum value of $\\chi(G)/\\omega(G)$, as $G$ ranges over all graphs on $n$ vertices, then\ndoes\n$$\\lim_{n\\to\\infty}\\frac{f(n)}{n/(\\log_2n)^2}$$\nexist?\n\nSince $f(n) \\asymp n/(\\log_2 n)^2$ (see `Erdos627.erdos_627.variants.theta`), the limit, if it\nexists, is a finite real number.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_627 :\n    ∃ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))\n      atTop (𝓝 L) := by\n  sorry\n\n/--\nErdős [Er67c] proved that\n$$f(n) \\asymp \\frac{n}{(\\log_2 n)^2}.$$\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.theta :\n    (fun n : ℕ ↦ maxChromaticCliqueRatio n) =Θ[atTop]\n      (fun n : ℕ ↦ (n : ℝ) / Real.logb 2 n ^ 2) := by\n  sorry\n\n/--\nErdős [Er67c] proved the lower bound\n$$f(n) \\geq \\left(\\frac{1}{4} + o(1)\\right) \\frac{n}{(\\log_2 n)^2}.$$\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.lower :\n    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      (1 / 4 - ε) * ((n : ℝ) / Real.logb 2 n ^ 2) ≤ maxChromaticCliqueRatio n := by\n  sorry\n\n/--\nThe method of Erdős [Er67c] gives the upper bound\n$$f(n) \\leq (4 + o(1)) \\frac{n}{(\\log_2 n)^2}.$$\nErdős states the constant as $1$, but Araujo, Filipe, and Miyazaki [AFM25] note that his method\ngives $4$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.upper :\n    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      maxChromaticCliqueRatio n ≤ (4 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2) := by\n  sorry\n\n/--\nConsequently, if the limit in `Erdos627.erdos_627` exists, it lies in $[1/4, 4]$ [Er67c]\n(with the correction of the upper constant from $1$ to $4$ noted in [AFM25]).\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.limit_bounds :\n    ∀ L : ℝ, Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))\n      atTop (𝓝 L) → 1 / 4 ≤ L ∧ L ≤ 4 := by\n  sorry\n\n/--\nAraujo, Filipe, and Miyazaki [AFM25, Theorem 1.3] improved the upper bound to\n$$f(n) \\leq (3.71943 + o(1)) \\frac{n}{(\\log_2 n)^2},$$\nusing recent improvements in the asymptotics of Ramsey numbers. [AFM25] is an arXiv preprint.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.afm_upper :\n    ∀ ε > (0 : ℝ), ∀ᶠ n : ℕ in atTop,\n      maxChromaticCliqueRatio n ≤ (3.71943 + ε) * ((n : ℝ) / Real.logb 2 n ^ 2) := by\n  sorry\n\n/--\nAraujo, Filipe, and Miyazaki [AFM25, Theorem 1.2]: suppose that $R(s,t) \\leq R(k)$ for all\n$s, t, k \\in \\mathbb{N}$ with $st \\leq k^2$ (their Conjecture 1.1), and that\n$\\lim_{k \\to \\infty} \\frac{\\log_2 R(k)}{k}$ exists and equals $\\ell$. Then\n$$f(n) = (\\ell^2 + o(1)) \\frac{n}{(\\log_2 n)^2},$$\nso the limit in `Erdos627.erdos_627` exists and equals $\\ell^2$. Here $R(s,t)$ is the\ntwo-colour Ramsey number and $R(k) = R(k,k)$ (see [77]). [AFM25] is an arXiv preprint.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.conditional (ℓ : ℝ)\n    (hR : ∀ s t k : ℕ, s * t ≤ k ^ 2 → classicalRamsey s t ≤ diagonalRamsey k)\n    (hlim : Tendsto (fun k : ℕ ↦ Real.logb 2 (diagonalRamsey k : ℝ) / (k : ℝ)) atTop (𝓝 ℓ)) :\n    Tendsto (fun n : ℕ ↦ maxChromaticCliqueRatio n / ((n : ℝ) / Real.logb 2 n ^ 2))\n      atTop (𝓝 (ℓ ^ 2)) := by\n  sorry\n\n/--\nTutte and Zykov [Zy52] independently proved that for every $k$ there is a graph with\n$\\omega(G) = 2$ and $\\chi(G) = k$.\n\nWe require $k \\geq 2$: a graph with $\\omega(G) = 2$ has an edge, so $\\chi(G) \\geq 2$.\nThe proof here uses Mycielski's construction [My55].\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.tutte_zykov :\n    ∀ k : ℕ, 2 ≤ k → ∃ (n : ℕ) (G : SimpleGraph (Fin n)),\n      G.cliqueNum = 2 ∧ G.chromaticNumber = (k : ℕ∞) := by\n  exact exists_cliqueNum_eq_two_chromaticNumber_eq\n\n/--\nErdős [Er61d] proved that for every (large) $n$ there is a graph on $n$ vertices with\n$\\omega(G) = 2$ and\n$$\\chi(G) \\gg \\frac{n^{1/2}}{\\log n},$$\nwhence $f(n) \\gg n^{1/2}/\\log n$.\n-/\n@[category research solved, AMS 5]\ntheorem erdos_627.variants.erdos_1961 :\n    ∃ c > (0 : ℝ), ∀ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),\n      G.cliqueNum = 2 ∧\n        c * Real.sqrt (n : ℝ) / Real.log (n : ℝ) ≤ (G.chromaticNumber.toNat : ℝ) := by\n  sorry\n\nend Erdos627\n",
  "statement_hash": "abac7b015992fe568b574e30def2426676642d1b439d26972b0675195ddcc6c5",
  "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."
}