{
  "id": "2604",
  "ident": "NS.02604",
  "slug": "erdos-609",
  "title": "Erdős Problem 609",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "Let $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours\nthen there must be a monochromatic odd cycle of length at most $m$. Estimate $f(n)$.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos609.erdos_609",
  "statement_lean": "theorem erdos_609 :\n    (fun n ↦ (f n : ℝ)) =Θ[atTop] erdos_609.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 609\n\n*References:*\n- [erdosproblems.com/609](https://www.erdosproblems.com/609)\n- [ErGr75] Erdős, P. and Graham, R. L., On partition theorems for finite graphs.\n  Colloq. Math. Soc. János Bolyai (1975).\n- [Ch97] Chung, F., Open problems of Paul Erdős in graph theory. J. Graph Theory (1997), 3-36.\n- [DaJo17] Day, A. N. and Johnson, J. R., Multicolour Ramsey numbers of odd cycles.\n  J. Combin. Theory Ser. B (2017), 56-63.\n- [GiHu24] Girão, A. and Hunter, Z., Monochromatic odd cycles in edge-coloured complete graphs.\n  arXiv:2412.07708 (2024).\n- [JaYi25] Janzer, O. and Yip, F., Short monochromatic odd cycles.\n  arXiv:2506.14910 (2025).\n-/\n\n@[expose] public section\n\nopen Filter\n\nnamespace Erdos609\n\n/--\nThe monochromatic subgraph of color `i` under edge coloring `c : Sym2 V → Fin n`.\n-/\ndef monochromaticGraph {V : Type*} {n : ℕ} (c : Sym2 V → Fin n) (i : Fin n) : SimpleGraph V :=\n  SimpleGraph.fromRel (fun u v ↦ c s(u, v) = i)\n\n/--\nA coloring `c` has a monochromatic odd cycle of length at most `m`.\n-/\ndef MonochromaticHasOddCycleLe (n : ℕ) (m : ℕ) (c : Sym2 (Fin (2 ^ n + 1)) → Fin n) : Prop :=\n  ∃ (i : Fin n) (l : ℕ), l ∈ (monochromaticGraph c i).oddCycleLengths ∧ l ≤ m\n\n/--\n$f(n)$ is the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours\nthen there must be a monochromatic odd cycle of length at most $m$.\n-/\nnoncomputable def f (n : ℕ) : ℕ :=\n  sInf {m : ℕ | ∀ (c : Sym2 (Fin (2 ^ n + 1)) → Fin n), MonochromaticHasOddCycleLe n m c}\n\ndef erdos_609.answer : ℕ → ℝ := sorry\n\n/--\nLet $f(n)$ be the minimal $m$ such that if the edges of $K_{2^n+1}$ are coloured with $n$ colours\nthen there must be a monochromatic odd cycle of length at most $m$. Estimate $f(n)$.\n-/\n@[category research open, question value, AMS 5]\ntheorem erdos_609 :\n    (fun n ↦ (f n : ℝ)) =Θ[atTop] erdos_609.answer := by\n  sorry\n\n-- TODO: Add variants of the problem.\n\nend Erdos609\n",
  "statement_hash": "36cf0d20e9570acaec09af5454513c4b799b814f6080c4b9a09db38204e9e858",
  "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."
}