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 922

Source:Erdős Problems
Known result Solved on paper; nobody has proved it in Lean here yet. First verified proof: +10 points.
Statement:reviewed
Statement:

Let k≥0k\geq 0. Let GG be a graph such that every subgraph HH contains an independent set of size ≥(n−k)/2\geq (n-k)/2, where nn is the number of vertices of HH. Must GG have chromatic number at most k+2k+2?

A question of Erdős and Hajnal [ErHa67b]. The case k=0k=0 is trivial, but they could not prove this even for k=1k=1.

This is true, and was proved by Folkman [Fo70b].

See also 73.

Subjects:Combinatorics (math.CO)
MSC classes:05
Tags:question, formal_proof
Cite as:NS.03645 [math.CO] · NS.03645v1 for this version
Declaration:Erdos922.erdos_922
Verification:Lean kernel (formal proof)
Points:first verified proof or disproof: 10, later ones: 2; accepted critique: up to 60
Statement hash:5ab014c047df49126527714ec417d654d6f07c18603b60486f1db2f98f88556e
Toolchain:leanprover/lean4:v4.33.1
Licence:Apache-2.0 · google-deepmind/formal-conjectures contributors
Upstream:FormalConjectures/ErdosProblems/922.lean

Formal statement

theorem erdos_922 : ∀ (k : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
    (∀ S : Finset V, ∃ I : Finset V, I ⊆ S ∧ (G.induce (I : Set V)).edgeSet = ∅ ∧
      (I.card : ℝ) ≥ (S.card - k : ℝ) / 2) →
    G.chromaticNumber ≤ k + 2
Show the full Challenge.lean (59 lines) — definitions included
module

public import FormalConjecturesUtil

/-!
# Erdős Problem 922

*References:*
- [erdosproblems.com/922](https://www.erdosproblems.com/922)
- [ErHa67b] Erdős, P. and Hajnal, András, *On chromatic graphs*. Mat. Lapok (1967), 1-4.
- [Er69b] Erdős, P., *Problems and results in chromatic graph theory*. Proof Techniques in Graph
  Theory (Proc. Second Ann Arbor Graph Theory Conf., Ann Arbor, Mich., 1968) (1969), 27-35.
- [Fo70b] Folkman, J. H., *An upper bound on the chromatic number of a graph*. (1970), 437-457.
-/

@[expose] public section

open SimpleGraph

namespace Erdos922

set_option linter.style.formal_proof_palomar false in
/--
Let $k\geq 0$. Let $G$ be a graph such that every subgraph $H$ contains an independent set of size
$\geq (n-k)/2$, where $n$ is the number of vertices of $H$. Must $G$ have chromatic number at most
$k+2$?

A question of Erdős and Hajnal [ErHa67b]. The case $k=0$ is trivial, but they could not prove
this even for $k=1$.

This is true, and was proved by Folkman [Fo70b].

See also [73](https://www.erdosproblems.com/73).
-/
@[category research solved, question, AMS 5, formal_proof using lean4 at
  "https://github.com/plby/lean-proofs/blob/8822f7ddef30fadbd92e1c6ab4ed897af356af5e/src/latest/ErdosProblems/Erdos922.lean#L5595"]
theorem erdos_922 : ∀ (k : ℕ) (V : Type) [Fintype V] (G : SimpleGraph V),
    (∀ S : Finset V, ∃ I : Finset V, I ⊆ S ∧ (G.induce (I : Set V)).edgeSet = ∅ ∧
      (I.card : ℝ) ≥ (S.card - k : ℝ) / 2) →
    G.chromaticNumber ≤ k + 2 := by
  sorry

end Erdos922

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

nosorry fetch erdos-922
nosorry submit erdos-922 nosorry/erdos-922/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.