Turn your curiosity into knowledge. Start here →

Preprint Says Four Color Theorem Proof Speeds Up Map Coloring

A new arXiv preprint builds on the Four Color Theorem to color planar maps in near-linear time, O(n log n), improving on the quadratic-time method from 1996.

Published:

Read time: 4 min

Preprint Says Four Color Theorem Proof Speeds Up Map Coloring

A computer with 256 cores sorts more than 2^100 possible map neighborhoods into groups and finishes within a couple of hours. That check underpins a new Four Color Theorem result: a method that colors any planar graph, the dot-and-line form of a map, with four colors in O(n log n) time, known as near-linear time. The previous best took quadratic time, and the six authors work in Japan, Canada, Slovenia, and Denmark.

Authors of the study on arXiv note that every planar triangulation, a map cut into triangles, holds linearly many separate patches where the coloring problem can shrink, not just one. Mikkel Thorup (University of Copenhagen), Ken-ichi Kawarabayashi (National Institute of Informatics), and four co-authors posted it on March 25, 2026. A preliminary version will appear at FOCS 2026.

Why earlier proofs could only shrink a map one patch at a time

Francis Guthrie conjectured in 1852 that four colors suffice to color any map so that neighboring regions differ. Appel and Haken proved it in 1976. Proofs of the Four Color Theorem rest on reducible configurations: small patches that can be erased. The rest of the map is colored first, then the patch is restored using only four colors.

Known proofs show only that one such patch, or one short cycle that cuts the map in two, always exists. An algorithm built on that peels off a patch, colors the rest, and repeats, so each of the roughly n steps takes time proportional to n.

Robertson, Sanders, Seymour, and Thomas turned that into a quadratic-time algorithm in 1996, so doubling the regions quadruples the work.

It works like shoveling a driveway while re-surveying the whole thing after every scoop.

The new paper finds many spots to shovel per survey. Because the patches and cycles do not touch, they can all go in one round, and the map shrinks by a constant fraction each time. The total stays at O(n log n), which grows only a little faster than the map itself.

Putting a patch back can need a color swap along a chain of regions. Random swaps succeed with at least a fixed probability for each patch, so O(log n) rounds are enough, and the authors replace the dice with a deterministic version.

Flat regions and 8202 patterns, sorted by computer

Earlier proofs found their patches only around positive curvature. In the dot-and-line version of a map, each dot has a curvature of 6 minus its number of neighbors. A dot with five neighbors curves positively, and one with six is flat, like a cell in a honeycomb.

Even the flattest, most featureless stretches of a map hide such patches.

The paper shows that patches and short cycles also occur in large flat parts, where the curvature, even after smoothing, is zero everywhere.

Each pattern spans at most 19 vertices, small enough to sketch on a napkin, yet the paper's list holds 8202 of them. The proof by Robertson and colleagues used 633, and Steinberger's used 2822.

No person can check that many cases by hand, and the paper says so: "only computers will perform the local case studies involving all these configurations." The program groups similar neighborhoods adaptively, because more than 2^100 of them must be covered. On a computer with 256 cores, all checks ran within a couple of hours.

Open items: independent checks, linear time, and other surfaces

This is a preprint, and the proof depends on computer checks. The authors say readers must verify independently that the C++ code implements the pseudocode. A computer-checked formal proof does not exist, since it would need a proof system with a formal understanding of C++, and the computation is too large for that.

The team also cross-checked the code with AI models, which they add guarantees nothing. The code is posted at github.com/near-linear-4ct.

The speed is O(n log n), not linear. Parallel computing offers little extra: Chechik and Mukhtar showed that 4-coloring planar graphs in the LOCAL model, where each node talks only to its neighbors, needs a number of rounds that grows with n.

A forthcoming paper from the team is to show that the O(log n) color swaps in each step can run in O(n) total time, which would make the coloring linear.

Another forthcoming paper, on a problem of Albertson, is expected to prove that for each compact two-dimensional surface, a bounded number of vertices can be deleted from any graph drawn on it so the rest is 4-colorable. The flat-part approach could also carry over to higher surfaces.

See how a puzzle about maps becomes checkable math on the Nibble app

A team spanning four countries reports that every planar triangulation holds many separate patches that can be shrunk at once, which brings four-coloring close to the time needed to read the map. The proof still awaits independent verification.

A patch of at most 19 vertices, checked by machine, shows how a puzzle about colored maps turns into a pile of small, checkable steps. The Math topic on the Nibble app, one of 35+ topics, follows more ideas like it. Among the formats are chats with 10+ historical figures, and lessons open on iOS, Android, and web.

Open a Math lesson on the Nibble app

Top news