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.

Exploring Unavoidable Sets: A Mathematical Insight


Notes

Nothing new here, only the app. The rest are stuffs that were understood long ago by Wernicke (1904), Birkhoff (1913), Franklin (1922), Lebesgue (1940). All the them continued the work of Kempe and others.

The app

See it in action here: https://stefanutti.vercel.app/waterworld-colonization.html

Colors have these meanings:

  • Light Red = F5 facing the ocean
  • Dark Red = F5 not facing the ocean
  • Green (light and dark) is for F6
  • Blu (light and dark) is for faces greater than F6
Unavoidable sets on a map with faces greater than 4

Each dot is a vertex of one of these unavoidable configurations.

Unavoidable sets: starting point

For a change 😁 let’s start with a connected cubic map on the sphere with no F2, F3, F4 faces.

Euler’s equality is always the starting point.

Vβˆ’E+F=2V βˆ’ E + F = 2

In all maps, every edge has two endpoints, and every vertex has three incident edges, so:

3V=2E3V = 2E

To have a formula that connects faces to vertices, we need to substitute 2E with 3V. Multiply by two the Euler’s formula:

2Vβˆ’2E+2F=42V βˆ’ 2E + 2F = 4

And substitute 2E with 3V:

2Vβˆ’3V+2F=42V – 3V + 2F = 4

Which gives:

3Fβˆ’E=63F -E = 6

For multiple reasons the canical form is normalized to 12:

6Fβˆ’3V=126F βˆ’ 3V = 12

One of the main reason is that the Euler’s other formula that also starts from V – E + F = 2 has the coefficient equal to 12.

βˆ‘n(6βˆ’n)Fn=12\sum_n (6 – n) F_n = 12

Move the charge from faces to vertices

Faces have a charge uqual to 6 and vertices have a charge of -3.

6Fβˆ’3V=126F βˆ’ 3V = 12

Each vertex receives a charge from its three incident faces, and pays a fixed tax of 3. Define:

c(v)=6n1+6n2+6n3βˆ’3c(v) = \frac{6}{n_1} + \frac{6}{n_2} + \frac{6}{n_3} – 3

Summing over all vertices:

βˆ‘vc(v)=6Fβˆ’3V=12\sum_v c(v) = 6F – 3V = 12

So the total charge 12 has been redistributed from faces onto vertices without loss. This is the discharging step.

Some vertex must be positive

A sum of finitely many numbers equal to 12 cannot have all terms ≀ 0. Hence at least one vertex has c(v) > 0.

Which corners can be positive?

Without loss of generality, write the three incident face sizes as n₁ ≀ nβ‚‚ ≀ n₃, with n₁ β‰₯ 5 (the initial hypotheses).

c(v)>0⟺6n1+6n2+6n3>3⟺1n1+1n2+1n3>12c(v) > 0 \iff \frac{6}{n_1} + \frac{6}{n_2} + \frac{6}{n_3} > 3 \iff \frac{1}{n_1} + \frac{1}{n_2} + \frac{1}{n_3} > \frac{1}{2}

If the smallest face were a hexagon, the largest possible value would be 1/6 + 1/6 + 1/6 = 1/2, which does not satisfy the strict inequality. So the smallest has to be pentagon.

Solving this problem yields the seven configurations illustrated in the figure above.