The Four Color Theorem: Why Maps Need Four Colors, and the First Proof Written by a Computer
Prerequisite:The Monty Hall Problem: Why Switching Doors Doubles Your Chance of Winning
0. Key points
Section titled “0. Key points”- Every map drawn in the plane can be colored with four colors in such a way that adjacent countries receive different colors. This is the four color theorem.
- Translating “map” into “planar graph” turns the question into “can the vertices of a planar graph be colored with four colors?” — a question about points and lines rather than about pictures.
- Euler’s formula yields the statement that every planar graph has a vertex of degree at most 5, and from there the six-color theorem follows almost automatically, while the five-color theorem follows using a tool called a Kempe chain. Up to this point the work takes an hour with pencil and paper.
- But the last step, from 5 down to 4, is strangely rigid. In 1976 Appel and Haken finally settled it by checking some 1900 “configurations” by computer. It was the first major theorem whose full proof no human being could read.
- In 1997 the proof was substantially simplified, and in 2005 it was completely formalized in the proof assistant Coq. The question “may we trust a computer’s proof?” has by now turned into the more concrete question “which pieces of software do we trust, and how far?”
1. Motivation: a problem that began with coloring an atlas
Section titled “1. Motivation: a problem that began with coloring an atlas”In 1852 Francis Guthrie, a student in London, was coloring a map of the English counties when he noticed something. He wanted adjacent counties to get different colors, and however he went about it four colors always sufficed. Try as he might to construct a map forcing a fifth color, somehow he could not.
He passed the question to his brother Frederick, then a student of the mathematician De Morgan, and Frederick put it to his supervisor. On 23 October of that same year De Morgan described the problem in a letter to Hamilton. That is the recorded birthday of the four color problem.
The question is intelligible to a child.
Given a map in the plane, how many colors suffice to color it so that any two countries sharing a border receive different colors?
On the “sufficient” side the answer is four. The “necessary” side — that there exist maps for which fewer than four colors will not do — is verified in Example 2.3 just below. So the answer is exactly 4.
What deserves attention here is that the difficulty of this problem is nowhere visible. Its statement mentions neither derivatives nor infinity. Nevertheless it took 124 years to settle, and the manner of its settlement caused a small commotion in the mathematical world. In being a simple question of frightening depth, it belongs to the same species as the Collatz conjecture — in particular to problems such as the Collatz map(Definition 2.1)[The Collatz Conjecture] whose definition takes only a few lines.
2. Preliminaries: translating maps into graphs
Section titled “2. Preliminaries: translating maps into graphs”2.1. What is a map?
Section titled “2.1. What is a map?”Let us first fix the word “map” in mathematical language. Vagueness here makes the theorem false, so we proceed carefully.
Definition 2.1(Maps and colorings)
A map is a division of the plane into finitely many regions , called countries. Each country is required to be a connected open set whose boundary consists of finitely many curves. Two countries are adjacent if their boundaries have a part in common and that common part is not a single point but contains a curve.
A function is a -coloring if holds for every pair of adjacent countries .
Two conditions are doing work here.
(a) Countries are connected. Allowing exclaves destroys the theorem (Example 2.4).
(b) Meeting at a single point does not count as adjacency. A pie chart, in which many countries come together at the center, makes this clear. If countries meeting at a single point were counted as adjacent, then a disc cut into sectors would already require colors, and again the theorem would fail. We are simply adopting the everyday view that a border is a line and not a point.
2.2. The dual graph
Section titled “2.2. The dual graph”Maps are awkward to handle as they stand, so we translate them into points and lines. Place one “capital” inside each country and join the capitals of two adjacent countries by a line crossing their common border. The figure so obtained is called the dual graph.
What matters is that this dual graph can be drawn in the plane. Each of the joining lines crosses a border exactly once, so they can be drawn without meeting one another. The problem has now been translated completely.
Definition 2.2(Planar graphs and their colorings)
A graph consists of a finite vertex set together with a set of edges, each of which is a two-element subset of . All graphs in this article are simple: no loops and no multiple edges. The number of edges incident with a vertex is the degree of , written .
is a planar graph if it can be drawn by assigning its vertices to distinct points of the plane and its edges to curves joining their endpoints, in such a way that no two edges meet except at a common endpoint. A particular such drawing, once fixed, is called a plane drawing.
A function is a -coloring of if holds for every two vertices joined by an edge . The smallest for which a -coloring exists is the chromatic number of .
Degrees and the rudiments of planar graphs are also introduced in degree and Eulerian trails(Definition 5.1)[Euler and Ramanujan] and planar graphs(Definition 5.4)[Euler and Ramanujan].
From here on everything said about maps is carried out in this language. What we wish to show is: if is a planar graph then .
Example 2.3(A map that really does need four colors)
We use the map in the figure above as it stands. The countries A, B, C are arranged in a ring and are pairwise adjacent, and the central country D is adjacent to all of A, B, C. Hence in the dual graph every two of the four vertices are joined by an edge; this graph is denoted .
Suppose three colors sufficed. Since A, B, C are pairwise adjacent, the values are three distinct colors and exhaust . As D is adjacent to all three countries, must differ from each of , and no candidate is left in . Contradiction. Hence , and this map does require four colors.
“Four colors suffice” is the theorem; “four colors are necessary” is finished by this single example. It is always the sufficiency side that is hard.
Example 2.4(Allowing exclaves makes the number of colors needed arbitrarily large)
Let us see what happens if condition (a) of Definition 2.1 is dropped. Take countries and give each of them one “mainland” piece together with “exclave” pieces. Along the top, place tall rectangles (the mainlands) from left to right, and draw a horizontal border along their lower edges.
In the bottom row, subdivide the strip lying directly beneath the mainland into small rectangles side by side, and place in them one exclave of each country with . Then shares a stretch of border with every mainland , , by way of its own exclave placed directly below it. Every pair with is adjacent, so colors are needed. Taking we need 100 colors.
This shows that the four color theorem depends utterly on the seemingly innocuous condition that countries be connected. To a real-world map containing a country with an exclave — a world map including the Russian oblast of Kaliningrad, say — the theorem does not apply as it stands.
3. First, the six-color theorem
Section titled “3. First, the six-color theorem”Four is out of reach at once, so we begin with six. The only tool we use here is Euler’s formula (Euler's polyhedron theorem(Theorem 5.5)[Euler and Ramanujan]).
Proposition 3.1(Euler's polyhedron formula)
Let a connected planar graph be given together with a plane drawing of it. Write for the number of vertices, for the number of edges, and for the number of regions into which the drawing divides the plane (the faces, the unbounded outer region being counted as one of them). Then
Proof(Proposition 3.1)
We argue by induction on the number of edges .
Base case: . By connectedness there is a single vertex, and there is a single face, the whole plane. Then , as required.
Induction step: let and assume the formula for every connected plane drawing with at most edges. We distinguish two cases.
(i) contains a cycle. Choose an edge lying on such a cycle. Since is on a cycle, deleting it preserves connectedness. Moreover, by the Jordan curve theorem the cycle separates the plane into an inside and an outside, so the two sides of belong to two distinct faces. Deleting merges these two faces into one. Hence , and the induction hypothesis gives , that is , which is equivalent to .
(ii) contains no cycle. Being connected and acyclic, is a tree, and a tree has a vertex of degree 1 (a leaf). Deleting a leaf together with its incident edge leaves a connected tree. The two sides of lie in the same face, so the number of faces does not change. Hence , and the induction hypothesis gives , that is .
In either case the formula follows.
Example 3.2(Checking the formula on the cube)
Consider the graph formed by the 8 vertices and 12 edges of a cube. Flattening the cube into the plane, as though peering into it through one of its faces, gives a large square containing a small square with corresponding corners joined. No two edges cross in this picture, so it is a plane drawing.
Counting faces: the four trapezoids between the large and the small square, the inner small square, and the region outside the whole figure, so . Indeed
so Proposition 3.1 holds. That this agrees with the six faces of the cube as a solid is no accident either: when we flattened it, the face nearest to us turned into the unbounded outer region.
Euler’s formula imposes on planar graphs the restriction that they cannot have too many edges. This is the key to everything that follows.
Lemma 3.3(Upper bound on the number of edges of a planar graph)
Let be a simple planar graph with vertices. Then its number of edges satisfies
Proof(Lemma 3.3)
We first treat the case where is connected. Fix a plane drawing of and let be the number of faces.
For each face consider the length of the closed walk that traverses its boundary once (the boundary walk). Since is simple, connected and has , every boundary walk has length at least 3. Indeed, length 1 would require a loop and length 2 a multiple edge, and a simple graph has neither. A boundary walk of length 2 could also arise by traversing a single edge back and forth, but that happens only when and there is just one edge, contradicting the assumption that and is connected.
On the other hand every edge occurs exactly twice among the boundary walks (once in each of the two faces on its sides when these differ, and twice in the same face when they coincide). Summing the lengths of the boundary walks over all faces therefore gives the total number of occurrences of edges, which is . Hence
that is . Substituting this into , which comes from Proposition 3.1, gives
and subtracting from both sides and rearranging yields , that is .
If is not connected, we may add edges between distinct connected components while keeping the plane drawing (the components are separated in the plane, so an edge can be routed through the outer face). Adding edges preserves both planarity and simplicity, so applying the above to the resulting connected graph gives .
Corollary 3.4(Existence of a vertex of small degree)
Every simple planar graph has at least one vertex of degree at most 5.
Proof(Corollary 3.4)
Let be the number of vertices. If , then every degree in a simple graph is at most and the claim is immediate. So assume (in particular ).
Suppose every vertex had degree at least 6. By the handshake lemma (each edge contributes 1 to each of the degrees of its two endpoints),
so . But Lemma 3.3 gives , whence and therefore , a contradiction. Hence a vertex of degree at most 5 exists.
Theorem 3.5(Six-color theorem)
Every simple planar graph satisfies . That is, every map in the plane can be colored with six colors.
Proof(Theorem 3.5)
We argue by induction on the number of vertices .
Base case: if , assigning a separate color to each vertex uses at most six colors.
Induction step: let and assume that every simple planar graph with at most vertices has a 6-coloring. By Corollary 3.4 we may take a vertex with . Deleting together with all edges incident with it gives a graph , a simple planar graph on vertices (subgraphs of planar graphs are planar). By the induction hypothesis has a 6-coloring .
The vertex has at most 5 neighbors, so they use at most 5 of the colors. At least one of the six colors is therefore absent from the neighborhood of . Taking that color as makes the colors differ along every edge incident with , and we obtain a 6-coloring of the whole of .
Looking back at the proof, the only thing doing any work is the statement that a vertex of degree at most 5 must exist. Remove such a vertex to make the graph smaller, and when putting it back make sure a color is left over. If we keep six colors in reserve for a vertex of degree at most 5, one is bound to remain. It is a remarkably cheap argument.
4. Kempe chains and the five-color theorem
Section titled “4. Kempe chains and the five-color theorem”Six colors were too easy. With five, the argument above breaks down at exactly one place: when we delete a vertex of degree 5 and put it back, its five neighbors may have used up all five colors, leaving nothing over.
This is where a tool introduced by Alfred Bray Kempe in 1879 enters. With it he “proved” the four color theorem, and for eleven years the proof was believed. In 1890 Percy John Heawood found the error — but at the same time showed that the argument does go through for five colors. One genuine theorem was salvaged from a broken proof.
Definition 4.1(Kempe chains)
Let a coloring of and two colors be given. Write for the subgraph induced by all vertices whose color is or . Each connected component of is called an -Kempe chain with respect to .
Kempe chains are useful because of the following property: they let us rearrange a coloring locally, so that an inconvenient arrangement of colors can be replaced by a convenient one.
Lemma 4.2(Swapping along a Kempe chain)
Let be a coloring of a simple graph and let be an -Kempe chain with respect to . Interchange the colors and at the vertices belonging to only, leaving the colors of all vertices outside unchanged. The resulting function is again a coloring of .
Proof(Lemma 4.2)
Take an arbitrary edge and check that . There are three cases, according to whether and lie in .
(1) Both and lie in . Then and both colors are or , so . After the interchange and again take the values and , one each, hence differ.
(2) Both and lie outside . Neither color changes, so .
(3) and . The color of is or . If the color of were also or , then would be a vertex of joined to by an edge, hence in the same connected component as , that is in , contrary to assumption. So is neither nor . Since is or , we get .
Thus the colors differ along every edge, and is a coloring.
Theorem 4.3(Five-color theorem)
Every simple planar graph satisfies .
Proof(Theorem 4.3)
We argue by induction on the number of vertices . If , give every vertex a different color. So let and assume that a 5-coloring exists for every such graph on at most vertices.
By Corollary 3.4 take a vertex with , and fix a plane drawing of . Since is a simple planar graph on vertices, the induction hypothesis provides a 5-coloring of it.
If the neighbors of use at most 4 colors, we are done: take the leftover color as (the case falls under this automatically). So the only remaining situation is with the five neighbors using all five colors.
In the plane drawing, list the five edges leaving in the cyclic order in which they occur around , and let be the vertices at their far ends in that order. Renaming the colors we may assume for .
Case 1: and lie in different connected components of . Interchange the colors 1 and 3 inside the Kempe chain containing only. By Lemma 4.2 this is still a 5-coloring of . Since does not belong to that chain, it retains color 3, while has changed to color 3. So the neighbors of now carry the colors , and color 1 occurs nowhere among them. Setting completes a 5-coloring of .
Case 2: and lie in the same connected component of . Then there is a path from to passing only through vertices colored 1 and 3. Adding to the edges and produces a closed curve inside the plane drawing.
By the Jordan curve theorem, divides the plane into an inside and an outside. Since the cyclic order around is , the vertex lies on one side of and on the other ( lies in the sector between and , while lies in the sector joining back to the other way round).
Now suppose and lay in the same connected component of . Then there would be a path from to passing only through vertices colored 2 and 4. Since crosses from the inside of to the outside, in the plane drawing it would have to meet . But two edges meet only at a common endpoint, so the meeting would have to be at a shared vertex. The vertices on are and vertices colored 1 or 3, whereas the vertices on are colored 2 or 4, so the colors cannot agree; and is not on since does not belong to . There is no way for them to meet, a contradiction.
Hence and lie in different components of . Interchanging the colors 2 and 4 in the Kempe chain containing turns the color of into 4 while stays 4. The neighbors of then carry the colors , and color 2 is free. Setting gives a 5-coloring of .
In both cases a 5-coloring can be constructed, and the induction is complete.
Remark 4.4(Where Kempe went wrong)
In 1879 Kempe asserted four colors within the same framework. With four colors, deleting a vertex of degree 5 leaves five neighbors and only four colors, so some color must be repeated. Splitting into cases according to the repetition, one is left at the end with a situation requiring two Kempe chains to be interchanged simultaneously. Kempe took it for granted that this could be done.
But when two chains are entangled, interchanging along one of them can alter the shape of the other, so that the second interchange is no longer legitimate. In 1890 Heawood exhibited precisely this by constructing a map with 25 countries in which it happens. That the proof of Theorem 4.3 above performs only one interchange is no coincidence. One interchange is enough for five colors, two are needed for four, and that difference amounted to 86 years of difficulty.
Example 4.5(Coloring from one end in order does not reach four)
Let us see how unreliable the naive strategy of “color the vertices of small degree first” (greedy coloring) can be.
Take six vertices and join to exactly when . This graph with 6 vertices and 6 edges is the cycle of length 6, and it can be drawn in the plane. Coloring the ‘s one way and the ‘s the other, two colors suffice.
But if we list the vertices in the order and assign to each in turn the smallest color not yet used on its neighbors, we get the following.
| Step | Vertex | Neighbors already colored | Color assigned |
|---|---|---|---|
| 1 | none | 1 | |
| 2 | none (the neighbors of are ) | 1 | |
| 3 | (color 1) | 2 | |
| 4 | (color 1) | 2 | |
| 5 | (1), (2) | 3 | |
| 6 | (1), (2) | 3 |
We have used three colors on a graph that needs only two. Extending the same construction to pairs makes the greedy method use colors. Coloring is not something that can be controlled by proceeding in order.
5. From five to four: unavoidable sets and reducible configurations
Section titled “5. From five to four: unavoidable sets and reducible configurations”Theorem 5.1(Four-color theorem)
Every simple planar graph satisfies . Equivalently, every map in the sense of Definition 2.1 can be colored with four colors.
Remark 5.2(On the proof of this theorem)
The proof was given by Appel and Haken (1976, including the computational part carried out with Koch’s collaboration) and substantially simplified in 1997 by Robertson, Sanders, Seymour and Thomas. Both proofs involve checking finitely many cases by computer and are far too long for this article. In §5.1 below and in §6 we describe the skeleton of the proof and its character. For the complete argument see Robertson–Sanders–Seymour–Thomas (1997) in the references, and for the formalization see Gonthier (2008).
5.1. The skeleton of the proof
Section titled “5.1. The skeleton of the proof”The framework of the proof has not changed since the nineteenth century. Take a minimal counterexample and show that it cannot exist.
flowchart TD A["Suppose the four color theorem is false"] --> B["Take a counterexample G with fewest vertices"] B --> C["Unavoidability: G must contain at least one<br/>of the configurations on our list"] B --> D["Reducibility: for no configuration on the list<br/>can a minimal counterexample contain it"] C --> E["Contradiction"] D --> E E --> F["No minimal counterexample exists<br/>= the four color theorem is true"]
Definition 5.3(Configurations, unavoidable sets, reducible configurations)
A configuration is a part of a planar graph: several vertices together with a small subdiagram carrying the information of their degrees.
A finite set of configurations is an unavoidable set if there is no planar triangulation containing none of the configurations in . In other words, every map is bound to contain somewhere at least one of the shapes in .
A configuration is reducible if, for a planar graph containing , one can show that itself has a 4-coloring under the assumption that all planar graphs smaller than have one. In short, cannot occur inside a minimal counterexample.
If every member of an unavoidable set is reducible, then a minimal counterexample must both contain and fail to contain one of these shapes, a contradiction. That finishes the proof.
Corollary 3.4 is the most primitive instance of this framework. The five configurations “a vertex of degree at most 5” form an unavoidable set. And what the proof of the six-color theorem showed is that in a world of six colors all five of them are reducible. For the five-color theorem, Kempe chains were required to prove the reducibility of the degree-5 configuration. With four colors, these five configurations fall hopelessly short.
5.2. Discharging
Section titled “5.2. Discharging”The tool for constructing unavoidable sets is discharging, systematized in 1969 by Heinrich Heesch. The principle is elementary.
Give each vertex the initial charge . In a triangulated planar graph holds (the case of equality in Lemma 3.3), so the total charge is
However many tens of thousands of vertices there are, the total charge is always 12. In particular a vertex of positive charge, that is a vertex of degree at most 5, must exist. This is another proof of Corollary 3.4.
Now the discharging method proper begins. One designs rules of the form “move charge, according to prescribed rules, from vertices of positive charge to nearby vertices of negative charge”. Moving charge does not change the total of 12, so after the moves some positive charge still remains somewhere. If the rules are well designed, one obtains the conclusion that for positive charge to remain at a vertex after the moves, the surroundings of that vertex must have a particular shape. Collecting all these particular shapes gives an unavoidable set.
In the proof of Robertson and his coauthors, 32 discharging rules produce an unavoidable set of 633 configurations. Each of these 633 is then checked for reducibility by computer. Testing the reducibility of one configuration is a finite computation: try every coloring of its boundary and see, by repeated Kempe chain interchanges, whether it extends to the interior. What is being done is the same “counting of cases” as in tabulating and counting every case(Example 3.3)[The Monty Hall Problem], and although finite, it involves thousands to tens of thousands of cases per configuration, which makes hand computation unrealistic.
6. Can a proof written by a computer be believed?
Section titled “6. Can a proof written by a computer be believed?”In June 1976 the University of Illinois began using a postmark reading “Four colors suffice”. Such celebrations are rare in the history of mathematics, but the reaction of the mathematical community was not uniform.
The objection went as follows. A proof ought to be something that, in principle, a single mathematician can read and be convinced by. Can an argument that nobody can read in its entirety be called a proof?
At least three distinct issues are mixed together in this criticism. Separating them clarifies matters.
| Issue | Content | Present status |
|---|---|---|
| Verifiability | If nobody can check the whole thing, how is correctness guaranteed? | The 1997 version was independently reimplemented, and in 2005 it was formalized in Coq |
| Possibility of error | Bugs in the program, defects in the compiler, hardware failure | Formalization has all but eliminated error in the argument; trust in the implementation remains |
| Understanding | We still do not know why it is 4 | Almost untouched. This remains an open question today |
The first issue has largely been resolved. The programs of the 1997 proof of Robertson and his coauthors were published and have been reproduced by several independent implementations. Moreover, in 2005 Georges Gonthier used the proof assistant Coq to formalize the whole of the four color theorem. Both the discharging argument and the reducibility checks were rewritten in a form verifiable by Coq’s small logical kernel. What the reader must trust is no longer “Appel and Haken’s Fortran program” but “the correct implementation of Coq’s kernel”. The kernel is a few thousand lines long, and many people have read it.
The second issue has weakened considerably for the same reason. It has not vanished, though. There is no guarantee that Coq’s kernel is free of bugs, nor that computers do not fail. But one may equally say that this differs only in degree from the possibility that a long proof written by a human contains an error. Kempe’s “proof”, after all, passed human refereeing for eleven years.
Only the third issue remains. Following the proof of the four color theorem to the end does not tell us why four rather than five suffices. All one can say is that all 633 cases happened to be reducible. A mathematical proof has two functions: guaranteeing correctness, and explaining the reason. The proof of the four color theorem performs the first and hardly performs the second at all. That mathematics is hard not because of its many symbols but because of the existence of this sort of “understanding that does not feel like understanding” is discussed in Why mathematics is hard as well, there from the side of what a proof is(Definition 4.1)[Why Mathematics Is Hard].
Example 6.1(On a doughnut, seven colors are needed)
The four color theorem is a phenomenon peculiar to the plane (and the sphere). Drawing maps on the surface of a doughnut (a torus) changes the situation.
On the torus one can draw , the graph on seven vertices in which every two are joined, without crossings. Hence a map of seven mutually adjacent countries exists there, and seven colors are needed. Conversely, seven colors can be proved sufficient. On the torus Euler’s formula becomes , so redoing the same computation gives , whence the existence of a vertex of degree at most 6. From there the same induction as for the six-color theorem reaches seven colors.
What is striking is that this proof of “7” is far easier than the four color theorem. In 1890 Heawood conjectured that for a surface of genus the necessary and sufficient number of colors is
(substituting gives ). The conjecture was proved in 1968 by Ringel and Youngs. So all the surfaces with holes had been settled, and only the plane, which looks the simplest of all, held out to the end.
7. Exercises
Section titled “7. Exercises”Exercise 7.1Easy
Show, using Lemma 3.3, that the graph on five vertices in which every two are joined is not planar.
Solution
has vertices, and its number of edges is the number of ways of choosing 2 objects from 5, that is .
Suppose were planar. It is simple and has , so Lemma 3.3 applies and gives
But in fact . This contradiction shows that is not planar.
Note that, as we saw in Example 2.3, can be drawn in the plane (, , just barely). The largest number of countries that can be pairwise adjacent in the plane is 4, and this is the reason four colors are necessary. Observe, however, that “four colors suffice” does not follow from this. There are plenty of graphs which contain no and yet require four colors.
Exercise 7.2Standard
Let be a connected simple planar graph with vertices, and suppose in addition that contains no triangle (no cycle of length 3). Show that , and use this to show that — the graph obtained by joining every vertex of one group of three to every vertex of another group of three — is not planar.
Solution
First part. We follow the proof of Lemma 3.3. Fix a plane drawing of and let be the number of faces. Since contains no triangle, every boundary walk has length at least 4. Indeed, a boundary walk of length 3 would require a cycle of length 3, which the hypothesis excludes (that lengths 1 and 2 are excluded by simplicity and by connectedness with is exactly as in that proof).
Every edge occurs exactly twice among the boundary walks, so
By Proposition 3.1 we have , hence
Subtracting from both sides gives , and rearranging yields .
Second part. has vertices and edges. Being bipartite, it has no cycle of odd length and in particular no triangle (every edge crosses between the two groups, so every cycle has even length). It is also connected.
If were planar, the inequality of the first part would apply and give
whereas in fact . The contradiction shows that is not planar.
(Since satisfies , non-planarity does not follow from Lemma 3.3 alone. The extra information that there is no triangle was needed.)
Exercise 7.3Standard
Draw finitely many straight lines in the plane, dividing it into regions. Show that the map so obtained can always be colored with two colors.
Solution
Let the lines be . Each line divides the plane into two open half-planes, so for each region we obtain a value
Since a region is a connected set not crossing any line, is uniquely determined by . Now set
and take as the color.
Suppose two regions are adjacent. Their common border is a segment (or a ray), and it is part of exactly one line . Crossing this border from to switches only the side with respect to , leaving the side with respect to each other () unchanged, because one can pass through an interior point of the border without crossing any other line (an interior point of the border may be chosen so as to lie on no line other than ).
Hence and for , so that
Therefore is a 2-coloring, and a subdivision by straight lines can always be colored with two colors.
(The same argument works for subdivisions by circles. The idea that crossing an odd number of times changes the color is one instance of the technique of constructing an invariant and comparing, just as in the digit-shifting argument(Proposition 3.4)[Is 1 Equal to 0.999…? Fixing the Meaning of an Infinite Decimal First] used to verify .)
Exercise 7.4Hard
Explain, stage by stage in the proof of Theorem 4.3, what stops working when the number of colors is reduced from 5 to 4. State also why the “two interchanges” that Kempe needed in handling a vertex of degree 5 are dangerous.
Solution
(1) The guarantee that a color is left over disappears. In the five-color proof we finished immediately when , or when the neighbors used at most 4 colors. All that remained was the case ” and the neighbors use all five colors”. With four colors, both the case with the neighbors using all four colors and the case remain. The former is handled by a single Kempe chain interchange exactly as with five colors (if and are not joined by a -Kempe chain, interchange to free color 1; if they are, the same planarity argument as in Theorem 4.3 shows that and are not joined by a -Kempe chain). The trouble is with the latter.
(2) At degree 5 the neighbors necessarily repeat a color. If and only four colors are available, the colors of the neighbors must repeat somewhere. Because of the repetition, a free color does not come out automatically, and a fine case analysis according to the arrangement of colors is required. In one branch of the analysis one is required, for example, to interchange along a -Kempe chain and then along a -Kempe chain in succession.
(3) Why two interchanges are dangerous. The definition of a Kempe chain (Definition 4.1) depends on the coloring in force at that moment. Performing the first interchange changes the coloring from to , so the Kempe chains with respect to and those with respect to are in general different objects. Concretely, interchanging colors 1 and 3 first turns vertices previously colored 3 into vertices colored 1, so new vertices may join the -Kempe chains and connected components may merge. If they merge, the premise of the second step — ” and lie in different components, so we may interchange” — collapses.
Kempe overlooked this dependence. In 1890 Heawood constructed a map with 25 countries in which exactly such a merging occurs, showing that Kempe’s argument does not close. That the proof of Theorem 4.3 manages with a single interchange is thanks to the slack afforded by one extra color.
(4) Hence one enlarges the configurations. The modern proof avoids this difficulty by dealing not with “configurations around one vertex”, such as the neighborhood of , but with large configurations spanning dozens of vertices. The 633 configurations mentioned in §5 are, in this sense, a redecomposition into finitely many large chunks of the place where Kempe failed at a single vertex.
References
Section titled “References”- Robin Wilson, Four Colours Suffice: How the Map Problem Was Solved, Allen Lane, 2002 (Japanese translation: Yonshoku Mondai, translated by Kenichiro Mogi, Shinchosha, 2013) — a general-audience history of the four color problem. For the story from Guthrie to Appel and Haken this book is the fullest and the most readable.
- Shin Hitotsumatsu, Yonshoku Mondai: Sono Kaiketsu to Tenkai, Kodansha Blue Backs, 1978 (in Japanese) — an exposition written just after the Appel–Haken proof; it follows discharging and reducibility with formulas.
- N. Robertson, D. Sanders, P. Seymour, R. Thomas, “The four-colour theorem”, Journal of Combinatorial Theory, Series B 70 (1997), 2–44 — the proof now regarded as standard, built from 633 configurations and 32 discharging rules.
- G. Gonthier, “Formal Proof — The Four-Color Theorem”, Notices of the American Mathematical Society 55 (2008), 1382–1393 — the report on the complete formalization in the proof assistant Coq. PDF
- R. Diestel, Graph Theory, 5th ed., Springer, 2017 — Chapter 5, Colouring, contains the proof of the five-color theorem and an outline of the proof of the four color theorem. Euler’s formula is in Chapter 4.
- J. A. Bondy, U. S. R. Murty, Graph Theory, Springer GTM 244, 2008 — a standard textbook on planar graphs and coloring, including an introductory account of discharging.
Appendix: Equivalent reformulations of the four color theorem
Section titled “Appendix: Equivalent reformulations of the four color theorem”The four color theorem as an edge coloring. In 1880 Peter Guthrie Tait translated the four color problem into a problem about coloring edges. Consider the situation in which the borders of a map always meet three at a time — that is, a planar graph every vertex of which has degree 3, a cubic planar graph. Then the following holds: for a cubic planar graph with no bridge (an edge whose removal increases the number of connected components), the faces can be 4-colored if and only if the edges can be colored with three colors so that edges meeting at a vertex receive different colors.
The device behind the translation is to regard the four colors as the elements of the Klein four-group. Defining the color of each edge to be the sum, in the group, of the colors of the two faces on its sides, one recovers a 3-coloring of the edges from a 4-coloring of the faces, and conversely a 4-coloring of the faces from a 3-coloring of the edges.
Tait’s failure. Tait went on to assume that every cubic planar graph without a bridge has a Hamiltonian cycle (a cycle passing through every vertex exactly once). Given a Hamiltonian cycle a 3-coloring of the edges is easy to produce, so the four color theorem should have followed. But the assumption is false. In 1946 W. T. Tutte constructed a counterexample on 46 vertices. Kempe’s error was found after eleven years; Tait’s survived for sixty-six (the location of the error itself had been pointed out by Julius Petersen in 1891).
The moral. The four color problem has repeatedly displayed the property of becoming vastly easier once one plausible-looking lemma is inserted — and every one of those lemmas turned out to be false. That a counterexample can appear after dozens of confirmations is the same moral as the formula that works 40 times and fails on the 41st(Example 4.2)[Why Mathematics Is Hard]. For the record of famous mathematicians who slipped on this problem, read Famous mathematicians as well. The history of proof is the history of correct theorems and, at the same time, the history of plausible errors.
Report an error in this article ・Operated by: Mugen Giken LLC ・Pricing ・Terms ・Legal notice
© 2026 夢現技研合同会社 ・Feeding the text to an LLM is welcome. Code samples are MIT licensed.