{
  "id": "2685",
  "ident": "NS.02685",
  "slug": "erdos-640",
  "title": "Erdős Problem 640",
  "status": "open",
  "statement_status": "reviewed",
  "statement_md": "For every $k \\geq 3$, does there exist $f(k)$ such that every finite graph of chromatic\nnumber at least $f(k)$ has an odd cycle whose vertices induce a graph of chromatic\nnumber at least $k$? The cycle may have chords in the ambient graph.",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "question"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos640.erdos_640",
  "statement_lean": "theorem erdos_640 :\n    ∀ k : ℕ, 3 ≤ k → ∃ N : ℕ, ∀ n : ℕ, ∀ G : SimpleGraph (Fin n),\n      (N : ℕ∞) ≤ G.chromaticNumber → HasHighChromaticOddCycle G k",
  "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 640\n\n*References:*\n- [erdosproblems.com/640](https://www.erdosproblems.com/640)\n- [Er97d] Erdős, Paul, *Some recent problems and results in graph theory*. Discrete Math.\n  (1997), 81–85, p.84.\n-/\n\n@[expose] public section\n\nopen SimpleGraph\n\nnamespace Erdos640\n\n/-- An odd cycle whose vertices induce a graph of chromatic number at least `k`. -/\ndef HasHighChromaticOddCycle {V : Type*} (G : SimpleGraph V) (k : ℕ) : Prop :=\n  ∃ v, ∃ p : G.Walk v v, p.IsCycle ∧ Odd p.length ∧\n    (k : ℕ∞) ≤ (G.induce {x | x ∈ p.support}).chromaticNumber\n\n/--\nFor every $k \\geq 3$, does there exist $f(k)$ such that every finite graph of chromatic\nnumber at least $f(k)$ has an odd cycle whose vertices induce a graph of chromatic\nnumber at least $k$? The cycle may have chords in the ambient graph.\n-/\n@[category research open, question, AMS 5]\ntheorem erdos_640 :\n    ∀ k : ℕ, 3 ≤ k → ∃ N : ℕ, ∀ n : ℕ, ∀ G : SimpleGraph (Fin n),\n      (N : ℕ∞) ≤ G.chromaticNumber → HasHighChromaticOddCycle G k := by\n  sorry\n\n/-- Every finite graph of chromatic number at least $3$ has an odd cycle whose vertices\ninduce a graph of chromatic number at least $3$. -/\n@[category textbook, AMS 5, formal_proof using lean4 at\n  \"https://github.com/AItoBit/formal-conjectures/blob/0e6191e205ebdc112d8d5c8ec8ff9a3f7f1b0616/proofs/erdos640/Erdos640.lean\"]\ntheorem erdos_640.variants.three (n : ℕ) (G : SimpleGraph (Fin n))\n    (hG : (3 : ℕ∞) ≤ G.chromaticNumber) : HasHighChromaticOddCycle G 3 := by\n  sorry\n\nend Erdos640\n",
  "statement_hash": "e17fe323ff9834eadbcf022a5763c466a3e8d9229d77f2e4e66fbb706524d171",
  "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."
}