A wave-based reduction algorithm for the Four Color Theorem using unavoidable configurations, Kempe loops and oracles


The goal is to re-re-re-investigate an algorithmic approach to the Four Color Theorem, based on progressively reducing a large planar cubic graph to the Theta graph (θ-graph) and then reconstructing the original graph while maintaining a valid 3-edge-coloring.

The central challenge is to design a reduction strategy that preserves enough structural information to prevent coloring impasses during the reverse reconstruction process.

The proposed approach combines five ideas:

  • Start from a graph without F2, F3, and F4 faces.
  • Unavoidable configurations to guide the selection of edges for reduction.
  • A wave-like reduction process that propagates through neighboring faces affected by previous reductions.
  • Kempe loop analysis along the boundaries of the affected regions, with the goal of identifying properties that can guarantee successful coloring during reconstruction.
  • The use of thousands of already colored graphs as experimental oracles to discover useful mathematical invariants to use during the reduction phase.
Seven pairs of face configurations around a vertex of a cubic map: on the left the vertex types (5,5,5), (5,5,6), (5,5,7), (5,5,8), (5,5,9), (5,6,6) and (5,6,7) with the edge chosen for reduction in red; on the right the same region after the reduction, with the two merged faces outlined in green.
The seven unavoidable vertex types of a cubic map without F2, F3 and F4 faces: (5,5,5), (5,5,6), (5,5,7), (5,5,8), (5,5,9), (5,6,6) and (5,6,7). Left: the vertex and the edge selected for reduction (red). Right: the region after the reduction, where the two faces adjacent to the red edge merge and the third face loses one side.

Four color theorem: sage and multiple edges


Implementing, using Sagemath, the algorithm of Kempe reduction and the half Kempe chain color swithing (for Tait coloring), I need to avoid multiple edges and loops … OR I’ll not be able to use functions that need embedding, as for example faces(), is_planar() and others.

Some notes:

kempe-half-cycle-swapping-method-sage-and-multiple-edges