{
  "id": "3169",
  "ident": "NS.03169",
  "slug": "erdos-780",
  "title": "Erdős Problem 780",
  "status": "solved",
  "statement_status": "reviewed",
  "statement_md": "Suppose $n\\geq kr+(t-1)(k-1)$ and the edges of the complete $r$-uniform hypergraph on $n$\nvertices are $t$-coloured. Prove that some colour class must contain $k$ pairwise disjoint edges.\n\nIn other words, this problem asks to determine the chromatic number of the Kneser hypergraph.\nWhen $k=2$ this was conjectured by Kneser and proved by Lovász [Lo78]. The general case was\nproved by Alon, Frankl, and Lovász [AFL86].",
  "subjects": [
    "math.CO",
    "msc:05"
  ],
  "tags": [
    "formal_proof"
  ],
  "collection": "erdos",
  "source_url": null,
  "solved_on_platform": false,
  "needs_answer": false,
  "version": 1,
  "decl_name": "Erdos780.erdos_780",
  "statement_lean": "theorem erdos_780 (n k r t : ℕ) (hr : 1 ≤ r) (ht : 1 ≤ t)\n    (hn : k * r + (t - 1) * (k - 1) ≤ n) (c : {e : Finset (Fin n) // e.card = r} → Fin t) :\n    ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin n) // e.card = r}),\n      (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1",
  "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 780\n\n*References:*\n- [erdosproblems.com/780](https://www.erdosproblems.com/780)\n- [Er76] Erdős, Paul, _Problems and results in combinatorial analysis_. Colloquio Internazionale\n  sulle Teorie Combinatorie (Roma, 1973), Tomo II (1976), 3-17.\n- [Lo78] Lovász, L., _Kneser's conjecture, chromatic number, and homotopy_. J. Combin. Theory\n  Ser. A (1978), 319-324.\n- [AFL86] Alon, N. and Frankl, P. and Lovász, L., _The chromatic number of Kneser hypergraphs_.\n  Trans. Amer. Math. Soc. (1986), 359-370.\n-/\n\n@[expose] public section\n\nnamespace Erdos780\n\nset_option linter.style.formal_proof_palomar false in\n/--\nSuppose $n\\geq kr+(t-1)(k-1)$ and the edges of the complete $r$-uniform hypergraph on $n$\nvertices are $t$-coloured. Prove that some colour class must contain $k$ pairwise disjoint edges.\n\nIn other words, this problem asks to determine the chromatic number of the Kneser hypergraph.\nWhen $k=2$ this was conjectured by Kneser and proved by Lovász [Lo78]. The general case was\nproved by Alon, Frankl, and Lovász [AFL86].\n-/\n@[category research solved, AMS 5, formal_proof using lean4 at\n  \"https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos780.lean#L345\"]\ntheorem erdos_780 (n k r t : ℕ) (hr : 1 ≤ r) (ht : 1 ≤ t)\n    (hn : k * r + (t - 1) * (k - 1) ≤ n) (c : {e : Finset (Fin n) // e.card = r} → Fin t) :\n    ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin n) // e.card = r}),\n      (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1 := by\n  sorry\n\n/--\nThis would be best possible: if $n=kr-1+(t-1)(k-1)$ then decomposing $[n]$ as one set $X_1$ of\nsize $kr-1$ and $t-1$ sets $X_2,\\ldots,X_{t}$ of size $k-1$, a colouring without $k$ pairwise\ndisjoint edges is given colouring all subsets of $X_1$ in colour $1$ and assigning an edge with\ncolour $2\\leq i\\leq t$ if $i$ is minimal such that $X_i$ intersects the edge.\n-/\n@[category textbook, AMS 5]\ntheorem erdos_780.variants.sharp (k r t : ℕ) (hk : 1 ≤ k) (hr : 1 ≤ r) (ht : 1 ≤ t) :\n    ∃ c : {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) // e.card = r} → Fin t,\n      ¬ ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) //\n          e.card = r}), (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1 := by\n  sorry\n\nend Erdos780\n",
  "statement_hash": "9a1beaab6e7648b14df76900a200ee66ed813c706b0a3e0c1ad6770d9d32e3b2",
  "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."
}