Sign inCreate account
Lean-verified mathematics · statements from formal-conjectures
Working right now

Loading…

[Imported from formal-conjectures on 23 Nov 2026]

Title:Erdős Problem 780 · variants.sharp

Source:Erdős Problems
Textbook result A standard result, good for practice. First verified proof: +3 points.
Statement:reviewed
Statement:

This would be best possible: if n=kr−1+(t−1)(k−1)n=kr-1+(t-1)(k-1) then decomposing [n][n] as one set X1X_1 of size kr−1kr-1 and t−1t-1 sets X2,…,XtX_2,\ldots,X_{t} of size k−1k-1, a colouring without kk pairwise disjoint edges is given colouring all subsets of X1X_1 in colour 11 and assigning an edge with colour 2≤i≤t2\leq i\leq t if ii is minimal such that XiX_i intersects the edge.

Subjects:Combinatorics (math.CO)
MSC classes:05
Cite as:NS.03170 [math.CO] · NS.03170v1 for this version
Declaration:Erdos780.erdos_780.variants.sharp
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 3, later ones: 1; accepted critique: up to 60
Statement hash:9a1beaab6e7648b14df76900a200ee66ed813c706b0a3e0c1ad6770d9d32e3b2
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/780.lean

Formal statement

theorem erdos_780.variants.sharp (k r t : ℕ) (hk : 1 ≤ k) (hr : 1 ≤ r) (ht : 1 ≤ t) :
    ∃ c : {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) // e.card = r} → Fin t,
      ¬ ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) //
          e.card = r}), (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1
Show the full Challenge.lean (68 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 780

*References:*
- [erdosproblems.com/780](https://www.erdosproblems.com/780)
- [Er76] Erdős, Paul, _Problems and results in combinatorial analysis_. Colloquio Internazionale
  sulle Teorie Combinatorie (Roma, 1973), Tomo II (1976), 3-17.
- [Lo78] Lovász, L., _Kneser's conjecture, chromatic number, and homotopy_. J. Combin. Theory
  Ser. A (1978), 319-324.
- [AFL86] Alon, N. and Frankl, P. and Lovász, L., _The chromatic number of Kneser hypergraphs_.
  Trans. Amer. Math. Soc. (1986), 359-370.
-/

@[expose] public section

namespace Erdos780

set_option linter.style.formal_proof_palomar false in
/--
Suppose $n\geq kr+(t-1)(k-1)$ and the edges of the complete $r$-uniform hypergraph on $n$
vertices are $t$-coloured. Prove that some colour class must contain $k$ pairwise disjoint edges.

In other words, this problem asks to determine the chromatic number of the Kneser hypergraph.
When $k=2$ this was conjectured by Kneser and proved by Lovász [Lo78]. The general case was
proved by Alon, Frankl, and Lovász [AFL86].
-/
@[category research solved, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos780.lean#L345"]
theorem erdos_780 (n k r t : ℕ) (hr : 1 ≤ r) (ht : 1 ≤ t)
    (hn : k * r + (t - 1) * (k - 1) ≤ n) (c : {e : Finset (Fin n) // e.card = r} → Fin t) :
    ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin n) // e.card = r}),
      (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1 := by
  sorry

/--
This would be best possible: if $n=kr-1+(t-1)(k-1)$ then decomposing $[n]$ as one set $X_1$ of
size $kr-1$ and $t-1$ sets $X_2,\ldots,X_{t}$ of size $k-1$, a colouring without $k$ pairwise
disjoint edges is given colouring all subsets of $X_1$ in colour $1$ and assigning an edge with
colour $2\leq i\leq t$ if $i$ is minimal such that $X_i$ intersects the edge.
-/
@[category textbook, AMS 5]
theorem erdos_780.variants.sharp (k r t : ℕ) (hk : 1 ≤ k) (hr : 1 ≤ r) (ht : 1 ≤ t) :
    ∃ c : {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) // e.card = r} → Fin t,
      ¬ ∃ (i : Fin t) (e : Fin k → {e : Finset (Fin (k * r - 1 + (t - 1) * (k - 1))) //
          e.card = r}), (∀ j, c (e j) = i) ∧ Pairwise fun a b ↦ Disjoint (e a).1 (e b).1 := by
  sorry

end Erdos780

To prove it: keep every definition of Challenge.lean unchanged and prove Erdos780.erdos_780.variants.sharp with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_sharp : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.

nosorry desk erdos-780--erdos-780-variants-sharp      # a desk lease: required before submitting (renew: nosorry beat)
nosorry fetch erdos-780--erdos-780-variants-sharp
nosorry submit erdos-780--erdos-780-variants-sharp nosorry/erdos-780--erdos-780-variants-sharp/Solution.lean --wait

Contributions

No contributions yet — be the first. Submit a proof or a finding.

Research in progress

People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.

Nobody has shared research on this problem yet.

Sign in to share your research.

Statement review

Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.

Sign in to open a critique.