Hardness of coloring three-colorable graphs
Even a three-colorable graph can be NP-hard to tell from one with only tiny independent sets.
A graph is three-colorable when its dots can get three colors with joined dots always different. Such a graph always has a group of unjoined dots holding a third of all dots. This paper proves that telling these graphs from graphs where every such group is tiny is NP-hard. A fast method would speed up every problem in the class NP. A known consequence follows: coloring a three-colorable graph with any fixed number of colors is also NP-hard.
The explanation
Take a triangular prism. It is two triangles, with each corner joined to the matching corner of the other. That gives 6 corners and 9 lines. Try to paint the corners so that joined corners always get different colors. Three colors work, in 12 different ways. Two colors never work, because each triangle needs three.
Mathematicians call such a drawing a graph. The corners are vertices and the lines are edges. A proper coloring gives joined vertices different colors. An independent set is a group of vertices with no edge between any two of them. The prism's largest independent set has 2 vertices, one third of its 6. That is no accident. Each color class of a proper coloring is an independent set. With three colors, one class must hold at least a third of the vertices.
Now scale up. A three-colorable graph with 3000 vertices always has an independent set of at least 1000. Picture a second graph with 3000 vertices whose largest independent set has fewer than 300. That graph cannot be properly colored with 10 colors. Ten classes of at most 299 vertices cover at most 2990 vertices. The two graphs differ sharply. Yet this paper proves that telling them apart is NP-hardSource 1.
NP-hard means this: a fast method for the task would speed up every problem in a large class called NP. The paper shows this by translation from 3SAT. A 3SAT formula is a logic puzzle: many short rules, each about three true-or-false switches. The question is whether some setting of the switches obeys every rule. For each fixed fraction δ between 0 and 1/3, the paper builds a fast, fixed recipe. It turns a solvable formula into a three-colorable graph. It turns an unsolvable formula into a graph whose independent sets all hold fewer than δ times the verticesSource 2. With δ = 1/10, these are exactly the two graphs above. The ceiling 1/3 is natural, since three-colorable graphs always have a third.
A weaker coloring version follows. For any fixed number of colors c, at least 3, finding a proper c-coloring of a three-colorable graph is NP-hard. That question has a long history. In 2000, Khanna, Linial and Safra proved hardness for four colors. Barto, Bulín, Krokhin and Opršal reached five colors, in a 2021 paper. In 2020, Guruswami and Sandeep showed that every fixed palette would follow from an unproved conjecture about certain puzzles. In September 2026, Fei, Minzer and Wang proved a version of that conjecture. Combined with earlier reductions, it settles the coloring question for every fixed palette. So the coloring statement here is not new. The paper says it recovers itSource 3.
The new part is the small independent sets, together with three colors for the whole graph. Earlier work got one half without the other. Fei, Minzer and Wang get small independent sets, but only for graphs promised to be eight-colorable. The step that shrinks the palette to three loses the independent-set guarantee. Dinur, Mossel and Regev got both halves in 2009, but only by assuming an unproved conjecture. Braverman, Khot, Lifshitz and Minzer did the same from a different conjecture. Dinur, Khot, Perkins and Safra reached a density of 1/9 in 2010. But their easy case lets a few vertices fall outside the coloring.
The proof gives each vertex a set of positions on a circle. In the solvable case, joined vertices end up more than a third of a turn apart. Cutting the circle into three equal arcs then colors every vertexSource 4Source 5. The hard direction is the reverse. A large independent set must reveal a good solution to the logic puzzle. The standard tool for this approximates functions by a few coordinates. That approximation can break when the puzzle glues coordinates togetherSource 6. The paper answers with new machinery of its own. It picks key coordinates for whole stretches of the puzzle at once. It adds fresh random rotations at every layer. A new alignment argument, drawing on game theory and Ramsey theory, makes labels line up across layers. Random tests at several scales then turn this into the small independent-set bound. The paper proves every piece itselfSource 7.
The result has limits. Each fraction δ gets its own recipe. Its running time is polynomial, but the power may depend on δSource 8. The paper claims no common running time as δ shrinks toward zeroSource 9. It also says nothing new about how many colors fast methods need. For n vertices, Bansal, Huang and Lee use on the order of n to the power 0.19539 colors. Later preprints report smaller powers. A wide gap remains between a fixed number of colors and such growing counts.
How sure is this? A computer proof checker called Lean has checked a formal version of the main theorem. It covers the recipe from 3SAT, both promises, and a running-time bound that counts the whole output. The Lean scope note does not list the coloring consequence separately, though it is a short step in the paper. No specialists have published a review yet.
What it doesn't show. This does not say how many colors a fast method needs, and the coloring consequence was already known.
Where it came from
This result comes from an unreleased OpenAI model, published in the openai/math release on 6 October 2026.
Hype check
Major if it holds, but narrower than it may sound. The coloring consequence was already settled by Fei, Minzer and Wang. A Lean proof of the main theorem is listed, and specialists have not yet published a review.
Words used
- Graph
- A set of dots, called vertices, joined in pairs by lines, called edges.
- Proper coloring
- A way to color the vertices so that joined vertices always get different colors.
- Three-colorable
- Having a proper coloring that uses only three colors.
- Independent set
- A group of vertices with no edge between any two of them.
- NP-hard
- So hard that a fast method for it would give fast methods for every problem in the class NP.
- 3SAT
- The question of whether a logic formula, made of rules about three true-or-false switches each, can be satisfied.
- Lean
- A computer program that checks mathematical proofs step by step.
The original paper
- Hardness of finding large independent sets in three-colorable graphs (PDF, opens in a new tab) September 24, 2026 Formal proof listed
All quoted lines (9)
-
We prove that distinguishing this structured case from graphs with an arbitrarily small fixed independence ratio is NP-hard.
Hardness of finding large independent sets in three-colorable graphs Back to text -
For every fixed real , there is a deterministic polynomial-time algorithm that maps each explicitly encoded Boolean -CNF formula to a nonempty finite simple undirected unweighted graph such that The running time and explicit output size are polynomial in the ordinary binary encoding length of .
Hardness of finding large independent sets in three-colorable graphs Back to text -
The following consequence recovers the constant-palette hardness theorem.
Hardness of finding large independent sets in three-colorable graphs Back to text -
The coloring in the first implication covers every vertex and is not supplied with the graph.
Hardness of finding large independent sets in three-colorable graphs Back to text -
This evaluation is nonexpanding, and the edge threshold forces adjacent vertices to have circle phases more than apart. Three equal half-open intervals of the circle therefore color all vertices properly.
Hardness of finding large independent sets in three-colorable graphs Back to text -
The difficulty is that approximation under product measure need not survive identifications of coordinates by projections.
Hardness of finding large independent sets in three-colorable graphs Back to text -
All required compatibility properties are proved within this paper.
Hardness of finding large independent sets in three-colorable graphs Back to text -
Their constants and polynomial degree may depend on the fixed , but not on .
Hardness of finding large independent sets in three-colorable graphs Back to text -
Neither a uniform runtime as nor an algorithm computing all constants from is asserted or needed.
Hardness of finding large independent sets in three-colorable graphs Back to text
Other sources
- S. Khanna, N. Linial and S. Safra, “On the Hardness of Approximating the Chromatic Number”, Combinatorica 20 (2000), 393–415
- L. Barto, J. Bulín, A. Krokhin and J. Opršal, “Algebraic Approach to Promise Constraint Satisfaction”, Journal of the ACM 68 (2021)
- V. Guruswami and S. Sandeep, “d-to-1 Hardness of Coloring 3-Colorable Graphs with O(1) Colors”, ICALP 2020
- Y. Fei, D. Minzer and S. Wang, “On the Hardness of 4-to-1 Games with Perfect Completeness”, ECCC TR26-179 (14 September 2026)
- I. Dinur, E. Mossel and O. Regev, “Conditional Hardness for Approximate Coloring”, SIAM Journal on Computing 39 (2009), 843–873
- M. Braverman, S. Khot, N. Lifshitz and D. Minzer, “An Invariance Principle for the Multi-slice, with Applications”, FOCS 2021 (2022)
- I. Dinur, S. Khot, W. Perkins and M. Safra, “Hardness of Finding Independent Sets in Almost 3-Colorable Graphs”, FOCS 2010
- N. Bansal, N. Huang and E. Lee, “Improved SDP-Based Algorithm for Coloring 3-Colorable Graphs”, arXiv:2602.05904 (2026)