MathLabs

Worked solution: Flyspeck: a formal proof of the Kepler conjecture in HOL Light and Isabelle (2015)

Step 4 of 9: Classify every tame plane graph by a verified exhaustive search
In plain words

Since only a restricted family of shapes can occur, a computer can simply try to draw every possible one, throwing away any half-built shape that has already broken a tameness rule, much like solving a jigsaw puzzle by rejecting pieces that don't fit as soon as they're tried. The output is a finite gallery of graphs, and the hard mathematical claim is that this gallery is complete — nothing is missing.

∣Archive∣=18 762 tame plane graphs up to isomorphism|\text{Archive}| = 18\,762 \text{ tame plane graphs up to isomorphism}
The complete graph K4K_4: an example of a small plane graph
A finite plane graph with four vertices and six edges, the complete graph $K_4$, illustrating the kind of small combinatorial object — bounded vertex degree, bounded face size — that the computer search must enumerate and prove complete among all tame plane graphs.
Detailed analysis

A computer search enumerates all finite plane graphs satisfying the tameness conditions, pruning branches that can never become tame; the resulting archive — originally more than 50005000 graphs, later refined to 18 76218\,762 once the tameness definition was sharpened for formalisation — is proved complete: every tame plane graph is isomorphic to one on the list. This completeness theorem was formalised in Isabelle/HOL (the enumeration explores on the order of 2×1092\times 10^{9} intermediate graphs) and then imported into HOL Light as a hand-translated assumption; because every quantifier in the statement ranges over a bounded, finite structure, the statement is equivalent to a propositional satisfiability claim that is provable identically in either logic, which is what justifies moving it across proof assistants.

Terms in this step
isomorphic graphs
Two graphs are isomorphic if one can be relabelled to look exactly like the other — same vertices, same edges, same connections — even if they are drawn differently on the page.
Knowledge used in this step