{
  "id": "2463",
  "ident": "NS.02463",
  "slug": "erdos-559",
  "title": "Erdős Problem 559",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $\\hat{R}(G)$ denote the size Ramsey number, the minimal number of edges $m$ such that there is\na graph $H$ with $m$ edges that is Ramsey for $G$.\n\nIf $G$ has $n$ vertices and maximum degree $d$ then prove that\n$$\\hat{R}(G)\\ll_d n.$$\n\nThis was disproved for $d=3$ by Rödl and Szemerédi [RoSz00], who constructed a graph on $n$\nvertices with maximum degree $3$ such that $\\hat{R}(G)\\gg n(\\log n)^{c}$ for some absolute\nconstant $c>0$.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question",
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos559.erdos_559",
  "statement_lean": "theorem erdos_559 :\n    ¬ ∀ d : ℕ, ∃ C : ℝ, ∀ (V : Type) [Fintype V] (G : SimpleGraph V),\n      G.maxDegree ≤ d → (sizeRamsey G G : ℝ) ≤ C * Fintype.card V",
  "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 559\n\n*References:*\n- [erdosproblems.com/559](https://www.erdosproblems.com/559)\n- [Be83b] Beck, József, _On size Ramsey number of paths, trees, and circuits. I_. J. Graph\n  Theory (1983), 115-129.\n- [FrPi87] Friedman, J. and Pippenger, N., _Expanding graphs contain all small trees_.\n  Combinatorica (1987), 71-76.\n- [HKL95] Haxell, P. E. and Kohayakawa, Y. and Łuczak, T., _The induced size-Ramsey number of\n  cycles_. Combin. Probab. Comput. (1995), 217-239.\n- [RoSz00] Rödl, Vojtěch and Szemerédi, Endre, _On size Ramsey numbers of graphs with bounded\n  degree_. Combinatorica (2000), 257-262.\n- [Ti22b] Tikhomirov, K., _On bounded degree graphs with large size-Ramsey numbers_.\n  arXiv:2210.05818 (2022).\n- [DrPe22] N. Draganić and K. Petrova, _Size-Ramsey numbers of graphs with maximum degree three_.\n  arXiv:2207.05048 (2022).\n-/\n\n@[expose] public section\n\nopen Filter Real SimpleGraph\n\nnamespace Erdos559\n\nopen scoped Classical in\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $\\hat{R}(G)$ denote the size Ramsey number, the minimal number of edges $m$ such that there is\na graph $H$ with $m$ edges that is Ramsey for $G$.\n\nIf $G$ has $n$ vertices and maximum degree $d$ then prove that\n$$\\hat{R}(G)\\ll_d n.$$\n\nThis was disproved for $d=3$ by Rödl and Szemerédi [RoSz00], who constructed a graph on $n$\nvertices with maximum degree $3$ such that $\\hat{R}(G)\\gg n(\\log n)^{c}$ for some absolute\nconstant $c>0$.\n-/\n@[category research solved, question, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos559.lean#L1275\"]\ntheorem erdos_559 :\n    ¬ ∀ d : ℕ, ∃ C : ℝ, ∀ (V : Type) [Fintype V] (G : SimpleGraph V),\n      G.maxDegree ≤ d → (sizeRamsey G G : ℝ) ≤ C * Fintype.card V := by\n  sorry\n\nopen scoped Classical in\nset_option linter.style.formal_proof_palomar false in\n/-- Rödl and Szemerédi [RoSz00] disproved the linear bound already for maximum degree $3$. -/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos559.lean#L1275\"]\ntheorem erdos_559.variants.degree_three :\n    ¬ ∃ C : ℝ, ∀ (V : Type) [Fintype V] (G : SimpleGraph V),\n      G.maxDegree ≤ 3 → (sizeRamsey G G : ℝ) ≤ C * Fintype.card V := by\n  sorry\n\nopen scoped Classical in\n/-- Rödl and Szemerédi [RoSz00] constructed, for infinitely many $n$, a graph on $n$ vertices\nwith maximum degree $3$ such that $\\hat{R}(G)\\gg n(\\log n)^{c}$ for some absolute constant\n$c>0$. -/\n@[category research solved, AMS 5]\ntheorem erdos_559.variants.rodl_szemeredi :\n    ∃ c > (0 : ℝ), ∃ C > 0, ∃ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),\n      G.maxDegree ≤ 3 ∧ C * n * (log n) ^ c ≤ sizeRamsey G G := by\n  sorry\n\nopen scoped Classical in\n/-- Tikhomirov [Ti22b] improved this to $\\hat{R}(G)\\gg n\\exp(c\\sqrt{\\log n})$. -/\n@[category research solved, AMS 5]\ntheorem erdos_559.variants.tikhomirov :\n    ∃ c > 0, ∃ C > 0, ∃ᶠ n : ℕ in atTop, ∃ G : SimpleGraph (Fin n),\n      G.maxDegree ≤ 3 ∧ C * n * exp (c * √(log n)) ≤ sizeRamsey G G := by\n  sorry\n\nopen scoped Classical in\n/-- Friedman and Pippenger [FrPi87] proved the linear bound when $G$ is a tree. -/\n@[category research solved, AMS 5]\ntheorem erdos_559.variants.trees (d : ℕ) :\n    ∃ C : ℝ, ∀ (V : Type) [Fintype V] (G : SimpleGraph V),\n      G.IsTree → G.maxDegree ≤ d → (sizeRamsey G G : ℝ) ≤ C * Fintype.card V := by\n  sorry\n\nopen scoped Classical in\n/-- The best known upper bound for graphs of maximum degree $3$ is $\\hat{R}(G)\\leq n^{3/2+o(1)}$,\ndue to Draganić and Petrova [DrPe22]. -/\n@[category research solved, AMS 5]\ntheorem erdos_559.variants.draganic_petrova (ε : ℝ) (hε : 0 < ε) :\n    ∀ᶠ n : ℕ in atTop, ∀ G : SimpleGraph (Fin n),\n      G.maxDegree ≤ 3 → (sizeRamsey G G : ℝ) ≤ (n : ℝ) ^ (3 / 2 + ε : ℝ) := by\n  sorry\n\nend Erdos559\n",
  "statement_hash": "0012b59f208a5a6d29ab332f66387133c78b1ab0c46bb2585539967981666cf3",
  "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."
}