Ramsey's theorem guarantees that every graph on vertices has a clique or an independent set of size about , and random graphs show that this is best possible. The Erdős–Hajnal conjecture says that forbidding any single induced subgraph changes the picture completely: -free graphs should contain cliques or independent sets of polynomial size . The conjecture is a central problem of structural graph theory, linking induced subgraphs, perfect graphs and Ramsey theory (Chudnovsky 2014).
Timeline.
The conjecture is open for the six-vertex path , and for every longer path.
All graphs are finite and simple. A set of vertices is a clique if its vertices are pairwise adjacent and an independent set (or stable set) if they are pairwise non-adjacent. For graphs and , is -free if no induced subgraph of is isomorphic to . The path has vertices and edges . For let be the statement
The constant may depend on but not on .
(-free graphs are cographs, hence perfect, and works), (Nguyen, Scott, Seymour), and the first open rung . The rungs are exercises: -free graphs are edgeless, -free graphs are disjoint unions of cliques.
Paths are the test case for the conjecture: a proof for all paths would, by the substitution theorem and the known closure properties, settle it for a large class of graphs, and the methods developed for (sparse–dense dichotomies, "polynomial Rödl" theorems) are the current state of the art. The weaker near-polynomial bound is known for all paths, so the gap to be closed is precisely the exponent.
Formalizing the rungs builds the induced-subgraph vocabulary (induced embeddings of paths, cographs, the clique–independent set dichotomy) on top of Mathlib's SimpleGraph. via perfection of cographs is a realistic first project; is a long paper with no machine-checked proof. The goal and are open.
The Erdős–Hajnal argument gives only because each step of its density increment loses a constant factor; the polynomial regime requires structure specific to the forbidden graph. For the proof needs a new "polynomial" version of Rödl's theorem for -free graphs together with a delicate analysis of sparse and dense configurations; none of it is known to extend to . The naive idea, induction on by deleting a vertex, loses the forbidden structure.
Graphs are Mathlib's SimpleGraph V with [Fintype V] and V : Type (the lowest universe); -freeness is ¬ H ⊴ G with Mathlib's induced-subgraph relation ⊴ (an injective graph homomorphism that reflects adjacency). ErdosHajnalConjectureFor H states: there is a real such that every finite -free graph has a Finset which is a clique of or a clique of the complement , with as real numbers (real exponentiation). The rung statement_05 r is ErdosHajnalConjectureFor (pathGraph r), with Mathlib's pathGraph r on Fin r. For the path embeds in every graph with enough vertices, so the hypothesis is vacuous or nearly so; the content starts at . The goal is ∀ r, statement_05 r.
No trivialising reading: is chosen before , the empty graph on vertices satisfies the conclusion with since , and the clique-or-independent-set alternative is genuine. The Lean definitions are copied verbatim from the Ten Challenges repository. Because the definitions are identical, a proof of the goal or of any rung produced here can also be submitted on the Ten Challenges website, https://tenchallenges.github.io/ten-challenges/, which checks submissions automatically against the same statements and records accepted ones on its public leaderboard; contributors are welcome to do both. Contributions welcome: an API for -freeness (characterisations of -free and -free graphs), perfection of cographs, the exercises , decompositions of and .
namespace TenChallenges theorem challenge_05 : ∀ r : ℕ, statement_05 r := by sorry end TenChallenges
The Erdős–Hajnal conjecture for all paths. For every there is a constant such that every finite graph with no induced path on vertices has a clique or an independent set of size at least , where is its number of vertices:
Known for ; open for .
Formalization Note. The statement is ∀ r, statement_05 r, where statement_05 r is the Erdős–Hajnal property for pathGraph r.
No submissions yet on this mission's goal. Log in and be the first to prove it.