Skip to content
DAH

Erdős–Hajnal for long induced paths: polynomial homogeneous sets in Pk-free graphs for every k

OpenTo verify: Lean proofPosed by Erdős and Hajnal, 1977/1989
AI-reviewed
On this page16 sections
Difficulty
69/100Research-grade
How far from a resolution. P vs NP = 100
Application value
5/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
38/100Local
How much other knowledge hinges on it. P vs NP = 100

P_5 needed a new sparsification framework, P_6 is claimed with a method its authors say stops there, and the quasi-polynomial bound for all paths shows the target is near; so 69, just below even-order Chowla (70) and below diagonal Ramsey (78). Application value 5 is indirect. Leverage 38: paths are the key test family for the full Erdős–Hajnal conjecture.

The problem

A network that avoids one small pattern must contain a big group of mutual friends or mutual strangers. Prove it when the pattern is a long path.

  1. 1Forbid one small pattern H in a network
  2. 2Ramsey only promises about log n
  3. 3Conjecture: a power of n is guaranteed
  4. 4Proved up to 5 vertices; long paths open

The conjecture. The Erdős–Hajnal conjecture asserts that for every graph HH there is a constant c(H)>0c(H)>0 such that every nn-vertex graph with no induced copy of HH has a clique or a stable (independent) set of size at least nc(H)n^{c(H)}. Here induced means the copy uses edges and non-edges exactly as in HH. By comparison, Ramsey theory alone guarantees a clique or stable set of size only about log⁡n\log n for general graphs; the conjecture says that forbidding any single HH gives polynomial size. The conjecture was posed in 1977.

The paths PkP_k. Let PkP_k be the path on kk vertices. The problem is to prove the conjecture for H=PkH=P_k for every kk, or at least for the first open lengths k=7,8k=7,8. It is proved for every graph on at most five vertices, the last case being P5P_5 (Nguyen, Scott and Seymour). For P6P_6 there is an unrefereed claimed proof. For every kk, a quasi-polynomial bound is known: every PkP_k-free graph has a homogeneous set (clique or stable set) of size 2(log⁡n)1−o(1)2^{(\log n)^{1-o(1)}}.

State of the art.

  • Nguyen, Scott and Seymour proved the quasi-polynomial bound for all PkP_k (arXiv 2307.15032), and the conjecture for P5P_5 (arXiv 2312.15333, Proc. LMS 2026), completing all five-vertex graphs.
  • Huang, Ju and Zhou (arXiv 2606.06258, preprint) generalized an iterative-sparsification framework and proved the conjecture for two new six-vertex graphs, the E-graph and the bird graph, recovering P5P_5 and the bull graph.
  • On 27 September 2026 a repository produced by an AI system posted a 24-page proof for P6P_6 with a Lean 4 formalization that assumes three refereed imported theorems. It is unrefereed, states that its method does not extend to P7P_7, and this entry treats it as a claim, not a result.

Techniques. The proofs use structural graph theory: they show that a PkP_k-free graph either has a large homogeneous set directly or can be broken into sparser pieces to which the argument is applied again.

Why it matters. The conjecture says that forbidden-pattern graph classes are very non-random: they have large, highly structured pieces. It relates to Ramsey theory. Paths are among the simplest graphs there are, which makes it striking that the conjecture is open for them from length 7.

The problem is open for k≥7k\ge7.

Go deeper

The full technical text.

The Erdős–Hajnal conjecture asserts that for every graph H there is c(H) > 0 such that every n-vertex graph with no induced copy of H has a clique or a stable set of size at least nc(H)n^{c(H)}. Let P_k be the path on k vertices. The problem is to prove the conjecture for H = P_k for every k, or for the first open lengths k = 7, 8. The conjecture is proved for every graph on at most five vertices, the last case being P_5 (Nguyen–Scott–Seymour); for P_6 there is an unrefereed claimed proof, and for every k a quasi-polynomial bound 2(log⁡n)1−o(1)2^{(\log n)^{1-o(1)}} is known.

Words on this page (10)
Words on this page
Erdos-Hajnal conjecture
The conjecture that forbidding one induced pattern forces a clique or independent set of polynomial size.
induced subgraph
A group of dots together with exactly the lines among them in the original network.
clique
A set of dots in a network in which every pair is joined by a line.
independent set
A set of dots with no lines between any two of them.
path graph
A network whose dots lie in a row, each joined only to its neighbours.
Ramsey theory
The study of how large a structure must be before some regular pattern is guaranteed to appear.
quasi-polynomial
Growing faster than any power of the input's logarithm but slower than any power of the input.
preprint
A paper posted publicly before it has been reviewed by other experts.
Graph minors and structural graph theory
The background on how graph structure theorems are proved.
homogeneous set
A set of vertices that is either a clique or an independent set.
New to this? Read first (3)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then
    • Erdős–Hajnal for long induced paths: polynomial homogeneous sets in Pk-free graphs for every kThe problem

State of the art

Open for k ≥ 7; P_6 claimed but unrefereed. Nguyen, Scott and Seymour proved that every P_k-free graph has a homogeneous set of size 2(log⁡n)1−o(1)2^{(\log n)^{1-o(1)}} (arXiv:2307.15032), and proved the conjecture for P_5 (arXiv:2312.15333, Proc. LMS 2026), which completes all five-vertex graphs. Huang, Ju and Zhou (arXiv:2606.06258, preprint) generalized the iterative-sparsification framework and proved the conjecture for two new six-vertex graphs (the E-graph and the bird graph), recovering P_5 and the bull. On 27 September 2026 a repository produced by Claude Opus 5.5 (github.com/machine-qed/erdos-hajnal-six-vertex-path) posted a 24-page proof for P_6 with a Lean 4 formalization that assumes three refereed imported theorems; it is unrefereed and states that the method does not extend to P_7. Nguyen (arXiv:2510.05724) proved that every P_5-free graph G has at most α(G)ω(G)^d vertices, so its fractional chromatic number is polynomial in its clique number. For general H the best bound remains eclog⁡ne^{c\sqrt{\log n}} (Erdős–Hajnal 1989). Many six-vertex graphs besides P_6 remain open.

Realistic applications

None directly. Polynomial homogeneous sets in P_k-free graphs would feed structural graph theory and algorithms for graph classes with forbidden induced paths (colouring, independent set).

What counts as solved

A refereed proof that for every k (or for k = 7) there is c_k > 0 such that every P_k-free graph on n vertices has a clique or stable set of size n^(c_k). Verification of the P_6 claim is partial progress.

How it gets verified

To verify: Lean proof

A formal proof checked by Lean 4 / Mathlib.

Statement: the Erdős–Hajnal conjecture is Erdos61.erdos_61 in ErdosProblems/61.lean (Formal Conjectures pinned at commit e754a78 (17 October 2026)), stated for every graph H with IsErdosHajnalLowerBound H (fun n => n ^ c); the same file states the solved path case as erdos_61.variants.p5 with H = pathGraph 5. The target here is the same statement with pathGraph k for k = 6, 7 or for every k, which is a direct substitution into that definition. Accept a Lean proof that compiles against the pinned corpus and passes Comparator against the substituted statement; a verified P_6 proof counts as partial progress.

Claims

Where the work is

Theory
92%
New mathematical or conceptual ideas
Engineering
3%
Building instruments, chips, systems, software, formal proofs
Compute
5%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

New structural arguments are needed; formal proofs (as for P_5 and P_6) and computer case analysis are small shares.

Connected problems

Progress

  1. Sep 27, 2026
    Claimed proof for P_6 (unrefereed)

    AI-produced paper with a Lean formalization; says the method stops at P_7.

    source
  2. Dec 23, 2023
    The five-vertex path

    Completes the conjecture for all five-vertex graphs.

    source
  3. Jul 27, 2023
    All paths approach Erdős–Hajnal

    Quasi-polynomial homogeneous sets in P_k-free graphs.

    source