Image: Inductiveload, CC BY-SA 3.0The four colour theorem and the proof nobody could check by hand
On 23 October 1852 Augustus De Morgan wrote to William Rowan Hamilton about a question a student had brought him that day. Francis Guthrie, colouring a map of the counties of England, had noticed that four colours were enough to give neighbouring counties different colours, and wondered whether four were always enough for any map. De Morgan could not prove it and said so. The question stayed open for 124 years, and when it was settled, in 1976, the proof was the first in mathematics that no human being could check.
A proof that stood for eleven years
The problem became public when Arthur Cayley asked the London Mathematical Society in 1878 whether it had been solved, and published a short note on it in 1879. In the same year Alfred Kempe, a barrister who did mathematics in his spare time, published a proof in the American Journal of Mathematics. It was accepted, admired, and earned him a fellowship of the Royal Society.
Kempe's argument runs as follows. Suppose a map needs five colours, and take the smallest such map. By Euler's formula, which Unit 6 of the Graph Theory Masterclass proves, some country has at most five neighbours. Remove it, colour the rest with four colours by minimality, and try to put the country back. If it has at most three neighbours a colour is free. If it has four, Kempe looks at the chain of countries coloured alternately red and blue that starts at the red neighbour: either it fails to reach the blue neighbour, in which case the colours along it can be swapped to free red, or it does reach it, in which case the chain blocks any green and yellow chain between the other two neighbours and those colours can be swapped instead. Such chains are called Kempe chains, and this part of the argument is correct.
For a country with five neighbours Kempe swapped two chains at once. In 1890 Percy Heawood showed with an explicit map that the two swaps can interfere with each other, so that the second one undoes the first. Heawood could not repair the proof. What he could show, by the same chains, was that five colours always suffice, and that theorem is still proved his way; Unit 7 gives it in full.
Unavoidable sets and reducible configurations
The eventual proof kept Kempe's structure and replaced his single country of degree five by a list of patterns. Two properties are needed. A set of patterns is unavoidable if every map contains at least one of them; Kempe's list of a country with at most five neighbours is an unavoidable set, by Euler's formula. A pattern is reducible if any map containing it can be four-coloured whenever the smaller map obtained by shrinking the pattern can, which is what Kempe showed for degrees up to four. If one finds an unavoidable set in which every pattern is reducible, the smallest five-colour map cannot exist, and the theorem follows.
Heinrich Heesch, working in Hanover from the 1930s, developed both halves: a method called discharging for proving a set unavoidable, and criteria for reducibility that a computer could test. He estimated that an unavoidable set of reducible patterns would have around 10,000 members and could not get the computer time to find it.
1976
Kenneth Appel and Wolfgang Haken at the University of Illinois found the set. They announced the proof in 1976 and published it in 1977 in two papers in the Illinois Journal of Mathematics, with a microfiche supplement of over 400 pages. Their unavoidable set had 1,936 patterns, and checking the reducibility of each took in total about 1,200 hours on the university's computers. The discharging argument, which proves the set unavoidable, was done by hand and ran to hundreds of pages. The mathematics department put the words Four Colors Suffice on its postage meter.
The reaction was uneasy. A proof is supposed to be something a reader can follow and be convinced by, and nobody could follow this one: the computer part was too long for any human, and the hand part was too long for almost any. Reviewers found small errors in the hand part over the next decade, all repairable, and Appel and Haken published a corrected and complete version as a book in 1989. The philosophical question of whether a computer computation is a proof filled journals for years and is still discussed.
1997 and 2005
In 1997 Neil Robertson, Daniel Sanders, Paul Seymour, and Robin Thomas published a new proof along the same lines, with an unavoidable set of 633 patterns and a simpler discharging argument with 32 rules. Both halves were now done by computer, which removed the error-prone hand part, and the programs were made public so anyone could run them. The proof also gives an algorithm that four-colours any map with n countries in time proportional to n squared.
The question of trusting the programs was answered in 2005. Georges Gonthier, with Benjamin Werner, formalized the entire proof of 1997 in the proof assistant Coq, so that a small, independently checked kernel verified every step, including the computations. His account appeared in the Notices of the American Mathematical Society in 2008. Trust in the four colour theorem now rests on trust in a few thousand lines of kernel code, which is less than one needs for most of the software one uses every day.
What was learned
Three things. Kempe chains, the one correct idea of the wrong proof, are a tool used throughout colouring theory. Discharging, Heesch's method for proving a set of patterns unavoidable, has become a standard technique for planar graphs far beyond this theorem. And the theorem itself is weaker than it looks: it says nothing about maps on a torus (seven colours are needed there, by a theorem Heawood stated in 1890 and Ringel and Youngs completed in 1968), and it has no simple proof even today. Hadwiger's conjecture of 1943, which Unit 8 describes, would contain the four colour theorem as a special case and is open.
Anyone can draw a map that needs four colours: four countries each touching the other three, which is what Guthrie drew for De Morgan. Nobody can draw one that needs five, and after 1976 we know why.


