AI summary · arXiv: 2610.39753v1 · cs.DS

Four-Coloring Planar Graphs in Linear Time

Yuta Inoue, Ken-ichi Kawarabayashi, Atsuyuki Miyashita, Bojan Mohar, Carsten Thomassen, Mikkel Thorup
Original paper Submitted to arXiv on 29 Oct. 2026 License: CC BY 4.0 Also in: fr

How to read this summary? Illustrated guide

The essentials

The paper proves that planar graphs can be four-colored deterministically in optimal linear time by accelerating Kempe changes using compact planar encodings and tabulation.

Question

How can a four-coloring of an n-vertex planar graph be constructed in optimal linear time? The paper addresses the Kempe-change bottleneck in the authors’ previous O(n log n) algorithm.

Method

This theoretical algorithm builds on previously established families of non-touching D-reducible configurations, with maximum ring size 18 and maximum reducibility level 25. It combines recursive r-divisions, compact planar graph encodings, and tabulation of subproblems encoded in half-logarithmic numbers of bits, using a word RAM with word length proportional to log n. Conditional expectations select deterministic Kempe changes, while segmented counter transfers handle information too large for a single table lookup.

Findings

  • Result The authors prove a deterministic O(n)-time algorithm for four-coloring any n-vertex planar graph.
    See the passage in the paper
    We can 4-color a planar graph of order $n$ in $O(n)$ time.
  • Result Linear-time preprocessing enables identification and simulation of all O(log n) required Kempe changes in O(n) total time.
    See the passage in the paper
    The idea is to spend $O(n)$ time to preprocess the graph, including the selection of an appropriate subfamily ${\mathcal{Z}}^{\prime}$, so that we can identify and simulate each Kempe change in $O(n/\log n)$ amortized time. Thus, we implement all $O(\log n)$ Kempe changes in $O(n)$ total time.
  • Result Each deterministic Kempe-change step improves at least a fraction 1/(3 × 2^18) of the participating rings in O(n/log n) time.
    See the passage in the paper
    We can then, deterministically in $O(n/\log n)$ time, find and execute a Kempe change that is improving for at least a fraction $p=\frac{1}{3\cdot 2^{18}}$ of the rings, and also tell which rings got improved.
  • Authors’ interpretation The authors attribute the improvement over their previous algorithm to data structures rather than new graph-theoretic foundations.
    See the passage in the paper
    We note that creating such a representation for fast identification and simulation of good Kempe changes is a challenge of data structures, unlike [9], which focused on a new graph theoretic understanding of reducible configurations.

Limitations

  • The running-time guarantee is established for a specified word RAM model, rather than independently of the computational model.
    See the passage in the paper
    More precisely, we use the word RAM model with word length $\Theta(\log n)$.
  • Determining improving changes relies on storing ring-coloring levels whose information requirements have a very large constant.
    See the passage in the paper
    This is a huge constant amount of information, but we need it to determine if a given Kempe change will improve.

Why it matters

The paper improves the authors’ previous O(n log n) construction to an optimal O(n) algorithm for planar four-coloring. Its contribution shows how compact planar representations and carefully organized tabulation can remove the logarithmic overhead of repeated, potentially graph-wide Kempe changes.

Written by AI from the paper. Passages are checked word for word against the text we analysed; the rest may contain errors.

AI-generated keywords: Four Color Theorem; Planar graphs; Linear-time algorithms; Kempe changes; Recursive planar divisions

Read further

  • Comprehensive Summary
  • Layman's Summary
  • Blog article
  • Original abstract
This paper addresses the algorithmic question behind the Four Color Theorem: how efficiently can a proper four-coloring of a planar graph be constructed? Although the theorem guarantees that four colors suffice, finding such a coloring efficiently has historically been challenging. The authors present a deterministic O(n)-time algorithm for an n-vertex planar graph, improving on their previous O(n log n) algorithm and an earlier quadratic-time bound. Linear time is asymptotically optimal because explicitly outputting the vertex colors requires Ω(n) time. The improvement is primarily data-structural rather than a new graph-theoretic proof of four-colorability. The algorithm builds on the authors’ earlier result that, in linear time, every planar triangulation yields either linearly many pairwise non-touching induced D-reducible configurations or linearly many non-touching obstructing cycles. The configurations belong to a fixed family of 8,202 possibilities, have rings containing at most 18 vertices, and require at most 25 improving Kempe changes to make any ring coloring extendible. Every vertex in these configurations or obstructing cycles has degree at most 12. A Kempe change swaps two colors within selected connected components induced by a pair of colors, preserving the validity of the coloring. Removing many configurations allows recursion on a graph smaller by a constant factor. However, restoring their colors previously required O(log n) Kempe changes, each potentially taking linear time. The central advance is a method for identifying and executing these changes in O(n) total time after linear preprocessing. The authors construct recursive planar r-divisions whose regions contain at most r vertices and have boundaries of size O(√r). They retain a linear-size subfamily of configurations lying strictly inside leaf regions of size proportional to log n. Compact encodings of planar graphs and relevant boundary structures allow sufficiently small subproblems to be solved using precomputed lookup tables. Each encoding uses at most half of log n bits, yielding at most √n table indices. Total table construction time and space are bounded by √n times polylogarithmic factors. Kempe connectivity is represented by contracting appropriate components inside boundary faces while preserving a planar graph whose size is proportional to the boundary size. Bottom-up and top-down passes recover the connectivity information needed within each region. Packed color representations then allow all colors in a leaf region to be updated with a single lookup. Together, these techniques reduce the time needed to identify connectivity and execute a Kempe change to O(n/log n). The most difficult step is selecting effective changes deterministically. The method of conditional expectations guarantees a change that improves at least a 1/(3 · 2¹⁸) fraction of the participating rings. Planarity bounds the number of distinct configuration-interaction types by a constant multiple of the number of relevant Kempe chains, and counts of these types support efficient selection. When counter arrays exceed the lookup-table budget, the algorithm partitions them into segments and transfers information using pairs of segments. This enables deterministic selection in O(n/log n) time per change, yielding linear-time color extension and, through recursion, linear-time coloring overall. The result is theoretical: the paper provides neither an implementation nor an experimental evaluation. It assumes a word RAM with word length proportional to log n and standard addressing, arithmetic, bitwise, and shift operations. The fixed configuration family, exhaustive ring-coloring information, and small guaranteed improvement fraction introduce potentially enormous constants. Thus, the paper establishes an optimal asymptotic bound without demonstrating practical speed. Its conclusions also rely on earlier structural results, and the appendix clarifies and repairs aspects of the recursive-division machinery used in the analysis.

Was this synthesis useful?

Score: 0

Why do we need votes?

Votes are used to determine whether we need to re-run our summarizing tools. If the count reaches -10, our tools can be restarted.

Figures and plots

Ask about a figure by number or use its question button to request visual analysis. Up to two figures and four image panels per question. Values read from plots are approximate; check the original data.

AI assistant instructions?

Tools for this paper

Explain it differently 3 free rewrites left today
Save to a collection Group papers in collections to compare them, chat with them and export them. Create a free account Log in

Advanced tools Premium

For researchers who follow a field closely: citation alerts, journal-club slides, version comparison and Zotero export. Discover Premium

Zotero
Citation alerts Citation alerts guide
Weekly letter Presented in "Computing beyond AI this week" of 2 November 2026. Computing beyond AI this week: Better algorithms, smaller machines, harder tests

Papers around this one

See them on a map

Ranked by how close their title and abstract are to this paper’s. Select some to read them together.

Closest papers

  1. Very close Another approach to the problem
    Three-coloring triangle-free planar graphs in linear time
    Z. Dvořák, K. Kawarabayashi, R. Thomas · 2009 · TALG · cited 45 times · Not summarized yet

    Three-coloring triangle-free planar graphs in linear time finds a 3-coloring in linear time, whereas this paper constructs a 4-coloring of general planar graphs.

    Abstract

    Grötzsch's theorem states that every triangle-free planar graph is 3-colorable, and several relatively simple proofs of this fact were provided by Thomassen and other authors. It is easy to convert these proofs into quadratic-time algorithms to find a 3-coloring, but it is not clear how to find such a coloring in linear time (Kowalik used a nontrivial data structure to construct an O(n log n) algorithm). We design a linear-time algorithm to find a 3-coloring of a given triangle-free planar graph. The algorithm avoids using any complex data structures, which makes it easy to implement. As a by-product, we give a yet simpler proof of Grötzsch's theorem.

  2. Very close* Same question Cited by this paper
    Efficiently four-coloring planar graphs
    N. Robertson, Daniel P. Sanders, P. Seymour et al. · 1996 · Symposium on the Theory of Computing · cited 124 times · Not summarized yet

    Efficiently four-coloring planar graphs addresses the construction of four-colorings for planar graphs, the same task studied here.

  3. Very close* Another approach to the problem
    Three-coloring triangle-free planar graphs in linear time (extended abstract)
    Z. Dvořák, Ken-ichi Kawarabayashi, Robin Thomas · 2009 · cited 1 time · Not summarized yet

    Three-coloring triangle-free planar graphs in linear time (extended abstract) concerns finding linear-time 3-colorings of triangle-free planar graphs, rather than four-colorings of general planar graphs.

  4. Very close Same question
    Deciding 4-colorability of planar triangulations
    M. Loebl · 2015 · arXiv.org · preprint, not peer reviewed · cited 1 time · Not summarized yet

    Deciding 4-colorability of planar triangulations tests whether four-colorings exist, while this paper constructs one for planar graphs.

    Abstract

    We show, without using the Four Color Theorem, that for each planar triangulation, the number of its proper vertex colorings by 4 colors is a determinant and thus can be calculated in a polynomial time. In particular, we can efficiently decide if the number is non-zero.

  5. Very close* Same question
    A simple algorithm for 4-coloring 3-colorable planar graphs
    K. Kawarabayashi, K. Ozeki · 2010 · Theoretical Computer Science · cited 6 times · Not summarized yet

    A simple algorithm for 4-coloring 3-colorable planar graphs constructs four-colorings for a restricted class of planar graphs.

  6. Very close Groundwork for this paper Cited by this paper
    Every Planar Map Is Four Colorable
    K. Appel, W. Haken · 2019 · Mathematical Solitaires & Games · cited 656 times · Not summarized yet

    Every Planar Map Is Four Colorable establishes the four-colorability theorem and discusses reducibility, the theoretical basis for this algorithm.

    Abstract

    As has become standard, the four color map problem will be considered in the dual sense as the problem of whether the vertices of every planar graph (without loops) can be colored with at most four colors in such a way that no pair of vertices which lie on a common edge have the same color. The restriction to triangulations with all vertices of degree at least five is a consequence of the work of A. B. Kempe. Over the past 100 years, a number of authors including A. B. Kempe, G. D. Birkhoff, and H. Heesch have developed a theory of reducibility to attack the problem. Simultaneously, a theory of unavoidable sets has been developed and the fusion of these has led to the proof. A configuration …

  7. Close Broader context
    3-Coloring in Time O(1.3217^n)
    Lucas Meijer · 2023 · arXiv.org · preprint, not peer reviewed · cited 16 times · Not summarized yet

    3-Coloring in Time O(1.3217^n) studies an exponential-time 3-coloring algorithm, unlike this paper’s linear-time planar four-coloring problem.

    Abstract

    We propose a new algorithm for 3-coloring that runs in time O(1.3217^n). For this algorithm, we make use of the time O(1.3289^n) algorithm for 3-coloring by Beigel and Eppstein. They described a structure in all graphs, whose vertices could be colored relatively easily. In this paper, we improve upon this structure and present new ways to determine how the involved vertices reduce the runtime of the algorithm.

  8. Close* Broader context
    Drawing 2-, 3- and 4-colorable Graphs in O(n2) Volume
    T. Calamoneri, Andrea Sterbini · 1996 · International Symposium Graph Drawing and Network Visualization · cited 15 times · Not summarized yet

    Drawing 2-, 3- and 4-colorable Graphs in O(n2) Volume studies graph drawings with colorability constraints, rather than constructing planar graph colorings.

Prior work it builds on

  1. Related Shared data, tool or method Used in depth by this paper
    Structured recursive separator decompositions for planar graphs in linear time
    P. Klein, S. Mozes, Christian Sommer · 2012 · Symposium on the Theory of Computing · cited 92 times · Not summarized yet

    Structured recursive separator decompositions for planar graphs in linear time computes recursive planar r-divisions, a data structure used by this paper.

    Abstract

    Given a triangulated planar graph G on n vertices and an integer rr--division of G with few holes is a decomposition of G into O(n/r) regions of size at most r such that each region contains at most a constant number of faces that are not faces of G (also called holes), and such that, for each region, the total number of vertices on these faces is O(√ r). We provide an algorithm for computing r--divisions with few holes in linear time. In fact, our algorithm computes a structure, called decomposition tree, which represents a recursive decomposition of G that includes r--divisions for essentially all values of r. In particular, given an exponentially increasing sequence {vec r} = (r1,r2,...),…

  2. Related* Groundwork for this paper
    EVERY PLANAR MAP IS FOUR COLORABLE
    Robin J. Wilson · 1991 · Bulletin of The London Mathematical Society · cited 319 times · Not summarized yet

    EVERY PLANAR MAP IS FOUR COLORABLE presents the Four Color Theorem that this paper’s coloring algorithm makes constructive.

  3. Related* Broader context
    The Four-Color Problem
    K. Appel, W. Haken · 1978 · cited 254 times · Not summarized yet

    The Four-Color Problem discusses the four-color problem that this paper addresses algorithmically.

  4. Related Groundwork for this paper
    An unavoidable set of D-reducible configurations
    J. Steinberger · 2009 · arXiv: Combinatorics · preprint, not peer reviewed · cited 11 times · Not summarized yet

    An unavoidable set of D-reducible configurations proves the Four Color Theorem using configurations that this paper’s algorithm builds on.

    Abstract

    We give a new proof of the four-color theorem by exhibiting an unavoidable set of 2822 D-reducible configurations. The existence of such a set had been conjectured by several researchers including Stromquist, Appel and Haken, and Robertson, Sanders, Seymour and Thomas.

  5. Related* Shared data, tool or method
    Fast Algorithms for Shortest Paths in Planar Graphs, with Applications
    G. Frederickson · 1987 · SIAM journal on computing (Print) · cited 492 times · Not summarized yet

    Fast Algorithms for Shortest Paths in Planar Graphs, with Applications provides planar-graph algorithmic techniques cited by this paper.

How are these papers found?

We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.

Updated on 2 November 2026.

Disclaimer: The AI-based summarization tool and virtual assistant provided on this website may not always provide accurate and complete summaries or responses. We encourage you to carefully review and evaluate the generated content to ensure its quality and relevance to your needs.