{
  "id": "3611",
  "ident": "NS.03611",
  "slug": "erdos-914",
  "title": "Erdős Problem 914",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Let $r\\geq 2$ and $m\\geq 1$. Every graph with $rm$ vertices and minimum degree at least $m(r-1)$\ncontains $m$ vertex disjoint copies of $K_r$.\n\nWhen $r=2$ this follows from Dirac's theorem. Corrádi and Hajnal [CoHa63] proved this when $r=3$.\nHajnal and Szemerédi [HaSz70] proved this for all $r\\geq 4$.\n\nA shorter proof was given by Kierstead and Kostochka [KiKo08].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos914.erdos_914",
  "statement_lean": "theorem erdos_914 {r m : ℕ} (hr : 2 ≤ r) (hm : 1 ≤ m) {V : Type*} [Fintype V]\n    (G : SimpleGraph V) [DecidableRel G.Adj] (hV : Fintype.card V = r * m)\n    (hdeg : m * (r - 1) ≤ G.minDegree) :\n    ∃ K : Fin m → Finset V, (∀ i, G.IsNClique r (K i)) ∧\n      Pairwise fun i j => Disjoint (K i) (K j)",
  "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 914\n\n*References:*\n- [erdosproblems.com/914](https://www.erdosproblems.com/914)\n- [CoHa63] Corrádi, K. and Hajnal, A., *On the maximal number of independent circuits in a graph*.\n  Acta Math. Acad. Sci. Hungar. (1963), 423-439.\n- [HaSz70] Hajnal, A. and Szemerédi, E., *Proof of a conjecture of P. Erdős*. (1970), 601-623.\n- [KiKo08] Kierstead, H. A. and Kostochka, A. V., *A short proof of the Hajnal-Szemerédi theorem on\n  equitable colouring*. Combin. Probab. Comput. (2008), 265-270.\n-/\n\n@[expose] public section\n\nnamespace Erdos914\n\nset_option linter.style.formal_proof_palomar false in\n/--\nLet $r\\geq 2$ and $m\\geq 1$. Every graph with $rm$ vertices and minimum degree at least $m(r-1)$\ncontains $m$ vertex disjoint copies of $K_r$.\n\nWhen $r=2$ this follows from Dirac's theorem. Corrádi and Hajnal [CoHa63] proved this when $r=3$.\nHajnal and Szemerédi [HaSz70] proved this for all $r\\geq 4$.\n\nA shorter proof was given by Kierstead and Kostochka [KiKo08].\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at \"https://github.com/plby/lean-proofs/blob/main/src/v4.29.1/ErdosProblems/Erdos914.lean\"]\ntheorem erdos_914 {r m : ℕ} (hr : 2 ≤ r) (hm : 1 ≤ m) {V : Type*} [Fintype V]\n    (G : SimpleGraph V) [DecidableRel G.Adj] (hV : Fintype.card V = r * m)\n    (hdeg : m * (r - 1) ≤ G.minDegree) :\n    ∃ K : Fin m → Finset V, (∀ i, G.IsNClique r (K i)) ∧\n      Pairwise fun i j => Disjoint (K i) (K j) := by\n  sorry\n\n/--\nEquivalently, every graph with $rm$ vertices and maximum degree at most $m-1$ has a proper vertex\ncolouring with $m$ colours in which every colour class has exactly $r$ vertices (an equitable\ncolouring).\n-/\n@[category research solved, AMS 5]\ntheorem erdos_914.variants.equitable_colouring {r m : ℕ} (hr : 2 ≤ r) (hm : 1 ≤ m) {V : Type*}\n    [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] (hV : Fintype.card V = r * m)\n    (hdeg : G.maxDegree ≤ m - 1) :\n    ∃ C : G.Coloring (Fin m), ∀ i, (C.colorClass i).ncard = r := by\n  sorry\n\nend Erdos914\n",
  "statement_hash": "3a852a80665366e082254a4d2ce0805ed7ed03bab426b64a33d5192f36276be2",
  "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."
}