MathomalyA field guide to patterns, proofs and open questions

WatchNo. 06

Who checks the checker?

No. 0613:39

In 1976 the four colour theorem was proved with a computer checking 1,936 cases, more than anyone could get through by hand, and the proofs have only grown since: Thomas Hales’s proof that no stack of oranges beats the grocer’s took a team about eleven years to rewrite for computer proof checkers, and the proof that the numbers up to 7,825 cannot be coloured in two colours without a Pythagorean triple all one colour is almost 200 terabytes. Now a machine can write a whole argument, and one put online as a proof in 2026 was withdrawn over a single wrong sign, so when a machine says it has proved something, how do we know it is right?

Shorts from this episode

About a minute each

Explore it yourself

The explorations this episode covers

Notes and references

Four colours suffice

The four colour theorem says that any ordinary flat map can be coloured with four colours so that regions sharing a stretch of border get different colours; touching at a single corner does not count. In 1976 Kenneth Appel and Wolfgang Haken proved it, with a computer doing a large part of the checking and John Koch’s programming behind it. The University of Illinois mathematics department, where they worked, replaced the slogan on its outgoing postmark with “Four colors suffice”; Paul Bateman arranged it, and the American spelling is the postmark’s. The episode opens there and asks the question the rest of it follows: when a machine says it has proved something, how do we know it is right? It also looks ahead to 2026, when an argument written by a machine was released as a proof and withdrawn the day after its release because of one wrong sign. The last two chapters say exactly what was withdrawn and why.

A proof people believed

Alfred Kempe published a proof in 1879, and Percy Heawood found the hole in it in 1890, eleven years later. Kempe’s idea was to swap two colours along a chain of neighbouring regions to free a colour; the trouble is that one swap can upset the conditions another one needs. Five regions that all touch each other cannot be drawn in an ordinary map, but that rules out only one obstacle, and the chains are what stand in the way of the simple argument. Heawood kept what could be saved, a proof that five colours always suffice. Appel and Haken’s route was to show that a certain list of local patterns is unavoidable, and that each pattern on it is reducible, so that a smallest map needing five colours would have to contain one and could not. That reduces infinitely many maps to a finite job without trying every map. Their announcement used 1,936 configurations; the printed Part I discusses 1,834 and a sufficient subset of 1,482, which are stages of one streamlined list and not rival counts. They report about 1,200 hours of computer time across three computers, which is their figure and not a measured clock time on one machine. Some mathematicians celebrated and others asked whether a calculation no one could survey by hand was a proof. Robertson, Sanders, Seymour and Thomas announced a simpler computer-assisted proof in 1996, with 633 configurations and the full paper in 1997, and in 2005 Georges Gonthier’s project had the proof assistant Coq check the whole argument, not only the cases.

The end of endurance

Stacked oranges fill about 74 per cent of the space: the close-packed density is π/√18, about 0.7405. Kepler asked in 1611 whether any packing of equal balls does better, and a proof was announced in 1998 by Thomas Hales and Samuel Ferguson. Twelve equal balls can touch a thirteenth, the kissing number in three dimensions, and thirteen cannot; that was proved by geometry in 1953. Around one ball the local picture is better than the grocer’s: give it all the space nearer to it than to any other ball, and with twelve neighbours in the right places it fills about 75.5 per cent of that cell, which Hales and McLaughlin proved is the best any cell can do. That arrangement cannot be repeated through all of space, and Kepler’s theorem is the statement that no packing beats the stack everywhere. Hales and Ferguson ruled out the rival arrangements with geometry and rigorous computer calculation: graph enumeration, linear programming and interval arithmetic. A panel of twelve referees spent years on it. They were reported as 99 per cent certain, which is their confidence and not a share of the proof, and they could not certify every computation; Hales recalls that they wore themselves out. Annals of Mathematics published the mathematical account in 2005. Hales then launched Flyspeck in 2003 to have the proof checked by computer proof checkers, HOL Light and Isabelle, and his team finished in 2014, about eleven years later; the paper followed in 2017. A formal proof still depends on the statement being the right one, and on the logic and software that checked it.

An answer too big to read

A Pythagorean triple is three whole numbers with a² + b² = c², such as 3, 4, 5 and 5, 12, 13. Colour each number red or blue, with each number keeping one colour wherever it appears, so that no triple is all one colour. On the Colour Without a Triple page you can colour the numbers one at a time and see how far you get; the page also shows a colouring of 1 to 7,824 that a solver found and that your browser checks against every triple. Heule, Kullmann and Marek proved in 2016 that such a colouring exists up to 7,824 and that none exists for 1 to 7,825. That second half is cited on the page, not recomputed there. The proof was found by a SAT solver on the Stampede supercomputer, with an allocation of 800 cores for about two days, and the proof file is almost 200 terabytes. A compressed certificate of 68 gigabytes lets other computers regenerate it and check it, which is a lot of work in its own right. The episode’s “about a hundred billion pages” is arithmetic on the file’s size, at about 2,000 characters a page, and not a claim that the file is prose. Ronald Graham had offered US$100 for the answer and gave the cheque to Heule in May 2016. The Kaprekar page has a result of the same kind that is small enough to see: every four-digit start that is not four identical digits reaches 6174 within seven steps, checked for all 9,990 of them. A check of every case shows that it happens; it does not by itself say why. In 2026 William Wesley posted a much shorter argument that two colours always leave some triple all one colour. It still includes a small computer check, it does not give the exact threshold of 7,825, and he says an advanced language model found the outline of the proof, which he then checked and refined. It is a preprint, and this page has not audited it.

Who is listening?

Join every pair of six dots with a line and the lines cross; moving the dots changes how many times. On the How Few Crossings page you can drag the dots and watch an exact count. A formula from the 1950s, the Harary–Hill formula, gives the fewest crossings anyone has drawn for a complete graph. Whether any drawing can do better is the Harary–Hill conjecture. On 6 October 2026 OpenAI released 722 mathematical manuscripts, which is a number of manuscripts and not of established theorems. OpenAI says the collection holds results at different stages of verification, not all with Lean formalisations, that the manuscripts are best read as raw research data, and that it defers to mathematicians on credit and priority. Among them were claimed proofs of the Harary–Hill conjecture and of the Zarankiewicz conjecture for complete bipartite graphs, and the crossing numbers page lists both as claimed, not proved. Two mathematicians then wrote about the Harary–Hill argument. Martin Balko’s preprint, dated 25 October 2026, is a streamlined version of it; he writes that the original is short but quite difficult to follow, and he combines the result with known reductions to find the crossing numbers of several other families of graphs. Gelasio Salazar’s preprint of 2 November 2026 is a detailed exposition with an extension to rotation systems. Both are preprints and neither is a journal verdict. A proof can also fail. In OpenAI’s manuscript on Weil classes on split abelian eightfolds, a signed count of −m had to cancel to zero by adding m stabilisation traces, each taken as +1. Each trace actually has sign −1, so the count becomes −2m, not 0, and the cancellation theorem the argument uses needs a count of zero. Two other manuscripts used that construction. OpenAI withdrew all three, lists the withdrawal under 7 October, and told Retraction Watch that its own audit found the errors. The withdrawal notice concerns the proof, not whether the statement is false. A proof checker such as Lean checks each step against an exact statement, and someone still has to ask whether that statement says what was meant.

The dark room

Andrew Wiles worked largely in secret for seven years on Fermat’s Last Theorem; Nick Katz was one person he consulted. In the 1997 NOVA documentary The Proof he compares doing mathematics to entering a dark mansion: you go into the first room, it is completely dark, you learn where the furniture is, and eventually you find the light switch. He announced a proof in 1993. Katz, refereeing it line by line in July and August, found a gap. About a year of repair followed, with Richard Taylor joining him in 1994, and the final papers appeared in 1995. William Thurston wrote in 1994 that “What we are producing is human understanding.” The counterweight is that most of us already rely on mathematics we will never check ourselves: the classification of finite simple groups runs to thousands of pages by more than a hundred authors, estimates of its length differ, and people build on it every day. The episode ends on what is different now, that there may be nobody to ask, and on the question in its title and the one after it: who checks the checker, and who turns on the light? Its challenge is the colouring game. The computer proved that the limit is 7,824, and the page’s top target is 100.

How the site classes a statement as proved, checked or open is set out in the method.

References

  1. A. B. Kempe, On the geographical problem of the four colours, American Journal of Mathematics 2(3), from p. 193, 1879. Link to On the geographical problem of the four colours
  2. K. Appel, W. Haken, The solution of the four-color-map problem, Scientific American 237(4), pp. 108–121, October 1977 (reprinted on Celebratio Mathematica), 1977. Link to The solution of the four-color-map problem
  3. K. Appel, W. Haken, Every planar map is four colorable. Part I: Discharging, Illinois Journal of Mathematics 21(3), pp. 429–490, 1977. Link to Every planar map is four colorable. Part I: Discharging
  4. G. Gonthier, Formal proof: the four-color theorem, Notices of the American Mathematical Society 55(11), pp. 1382–1393, 2008. Link to Formal proof: the four-color theorem
  5. Postmarks used by the Department of Mathematics, University of Illinois at Urbana-Champaign, University of Illinois Department of Mathematics (PDF). Link to Postmarks used by the Department of Mathematics, University of Illinois at Urbana-Champaign
  6. T. C. Hales, The formal proof of the Kepler conjecture: a critical retrospective, arXiv:2402.08032, preprint, 2024. Link to The formal proof of the Kepler conjecture: a critical retrospective
  7. T. Hales, M. Adams, G. Bauer, T. D. Dang, J. Harrison, L. T. Hoang, C. Kaliszyk, V. Magron, S. McLaughlin, T. T. Nguyen, Q. T. Nguyen, T. Nipkow, S. Obua, J. Pleso, J. Rute, A. Solovyev, T. H. A. Ta, N. T. Tran, T. D. Trieu, J. Urban, K. Vu, R. Zumkeller, A formal proof of the Kepler conjecture, Forum of Mathematics, Pi 5, e2, 2017. Link to A formal proof of the Kepler conjecture
  8. M. J. H. Heule, O. Kullmann, V. W. Marek, Solving and verifying the boolean Pythagorean triples problem via cube-and-conquer, Theory and Applications of Satisfiability Testing – SAT 2016, Lecture Notes in Computer Science 9710, pp. 228–245, 2016. Link to Solving and verifying the boolean Pythagorean triples problem via cube-and-conquer
  9. M. J. H. Heule, Everything’s bigger in Texas: the authors’ page for the Boolean Pythagorean triples result, University of Texas at Austin. Link to Everything’s bigger in Texas: the authors’ page for the Boolean Pythagorean triples result
  10. Marijn Heule uses Texas’ Stampede supercomputer to crack 200-terabyte math proof, UT Austin Department of Computer Science, 2016 (reproduces the Nature news report of 31 May 2016), 2016. Link to Marijn Heule uses Texas’ Stampede supercomputer to crack 200-terabyte math proof
  11. W. J. Wesley, An elementary proof of the 2-regularity of Pythagorean triples, arXiv:2609.39063 [math.CO], preprint, 30 September 2026, 2026. Link to An elementary proof of the 2-regularity of Pythagorean triples
  12. A. Gallegos, OpenAI withdraws three preprints a day after releasing 722 manuscripts on unsolved math problems, Retraction Watch, 8 October 2026, 2026. Link to OpenAI withdraws three preprints a day after releasing 722 manuscripts on unsolved math problems
  13. OpenAI mathematics release: README and catalogue, GitHub, openai/math (as read on 2026-11-11). Link to OpenAI mathematics release: README and catalogue
  14. OpenAI mathematics release: history of withdrawals, fixes and additions, GitHub, openai/math (as read on 2026-11-11). Link to OpenAI mathematics release: history of withdrawals, fixes and additions
  15. M. Balko, Proof of the Harary–Hill conjecture: an exposition, arXiv:2610.34444 [math.CO], preprint, 25 October 2026, 2026. Link to Proof of the Harary–Hill conjecture: an exposition
  16. G. Salazar, The proof of the Harary–Hill conjecture: a detailed exposition and an extension to rotation systems, arXiv:2611.03515, preprint, 2 November 2026, 2026. Link to The proof of the Harary–Hill conjecture: a detailed exposition and an extension to rotation systems
  17. The Proof (transcript of the NOVA documentary on Andrew Wiles), PBS NOVA, broadcast 28 October 1997, 1997. Link to The Proof (transcript of the NOVA documentary on Andrew Wiles)
  18. W. P. Thurston, On proof and progress in mathematics, Bulletin of the American Mathematical Society 30(2), pp. 161–177 (arXiv:math/9404236), 1994. Link to On proof and progress in mathematics
  19. S. Ornes, The whole universe catalog, Scientific American 313(1), pp. 68–75 (online as “Researchers race to rescue the Enormous Theorem before its giant proof vanishes”), 2015. Link to The whole universe catalog

← All episodes