Motivation
The Four-Colour Theorem was proved by Appel and Haken (1976–77) and re-proved by Robertson, Sanders, Seymour and Thomas (RSST, 1997) with a simpler, fully computer-checkable argument. Both proofs rest on reducibility: a configuration is reducible when every 4-colouring of the ring around it can be modified, by Kempe-chain recolouring, into one that extends inside. RSST make this precise with a purely combinatorial notion, the consistent set of edge-colourings of a circuit (§3 of their paper), which captures exactly which boundary colourings Kempe interchanges can reach from one another.
The oldest results about consistent sets predate the computer proofs. G. D. Birkhoff (1913) analysed rings of length 4 and 5 and showed that the possible "Kempe-closed" sets of boundary colourings on such short rings are very restricted. RSST restate Birkhoff's analysis in their language as (6.3) (rings of length 4) and (6.4) (rings of length 5). These two lemmas power the short-circuit subroutine of their quadratic 4-colouring algorithm (6.5), which colours a triangulation across a separating circuit of length 4 or 5.
Timeline:
- 1879–1890. Kempe introduces chain interchanges; Heawood finds the gap in Kempe's argument.
- 1913. Birkhoff, The reducibility of maps, studies rings of small size and introduces reducibility.
- 1976–77. Appel and Haken prove the Four-Colour Theorem.
- 1997. Robertson, Sanders, Seymour and Thomas give a new proof and an O(n2) colouring algorithm; consistent sets and lemmas (6.3), (6.4) appear in §§3 and 6.
- 2005–08. Gonthier formalizes the Four-Colour Theorem in Coq, with a different encoding of Kempe closure (chromograms on hypermaps).
Setting
Let R be a circuit of length k: a cycle with edges e1,…,ek in order, with no repeated vertices or edges. An edge-colouring of R is a map κ:E(R)→{−1,0,1}.
A match is an unordered pair {e,f} of distinct edges, and a signed match is a pair ({e,f},μ) with μ=±1. A signed matching is a set M of signed matches such that for any two distinct members ({e,f},μ), ({e′,f′},μ′): the pairs {e,f} and {e′,f′} are disjoint, and e,f lie in the same component of R with e′ and f′ deleted. Write E(M) for the edges covered by M.
For θ∈{−1,0,1}, the colouring κ θ-fits M when E(M) is exactly the set of edges with κ(e)=θ, and for each ({e,f},μ)∈M, κ(e)=κ(f) holds if and only if μ=1. A set C of edge-colourings is consistent if for every κ∈C and every θ there is a signed matching M that κ θ-fits such that C contains every edge-colouring that θ-fits M.
Two edge-colourings are equivalent if one is obtained from the other by a permutation λ of {−1,0,1}. On the circuit of length 5, Aij (i=j) is the equivalence class of the colouring that is 1 on ei, −1 on ej and 0 elsewhere. Then Ci=Aij∪Aik∪Ajk, where ej,ek are the two edges sharing an end with ei; Di=Aac∪Aad∪Abc∪Abd, where ea,eb,ec,ed are the other edges in order; and E=A12∪A23∪A34∪A45∪A15. In Lean these are A, C5, D5, E5, and Consistent.
Formalization targets
Goal: Birkhoff's lemma for rings of length 5, (6.4)
C consistent, C=∅, C∩E=∅⟹∃i, Ci⊆C or ∃i, Di⊆C or E⊆C.
Milestones
- Every consistent set is a union of equivalence classes (§6, p. 25): κ∈C⇒[κ]⊆C.
- Claim (1) of the proof of (6.4): if A12⊆C then C includes one of A13,A15 and one of A23,A25.
- Claim (2): if A13⊆C then C includes one of A23,A35.
- The closure facts of §3, p. 8: ∅ is consistent, unions of two consistent sets are consistent, and every set S has a unique maximal consistent subset S′.
Companion: Birkhoff's lemma for rings of length 4, (6.3)
With C0,…,C3 the classes of (0,0,0,0), (0,1,1,0), (0,1,0,1), (0,0,1,1), every non-empty consistent set includes one of C0∪C1, C1∪C2, C2∪C3, C3∪C0.
Significance
The result. (6.3) and (6.4) say that on rings of length at most 5 the Kempe-closed families of boundary colourings are rigid: a non-empty consistent family always contains one of a short explicit list of families. This is what makes separating circuits of length 4 and 5 harmless in a minimal counterexample and in the RSST colouring algorithm: whatever colourings one side of the circuit admits, the other side can be made to agree after Kempe changes.
Formalizing it. The Four-Colour Theorem itself is machine-checked (Gonthier, Coq), but that proof uses a different combinatorial encoding; RSST's notion of a consistent set, their signed matchings, and Birkhoff's ring lemmas in their formulation have no machine-checked version. The Four-Colour Theorem as such is not part of this mission; it is posed separately on the platform as the open goal FourColor.four_color. This mission builds the self-contained §3 layer (consistency) that RSST's reducibility computations rest on, proves two of its basic structural facts, and proves the two Birkhoff lemmas the paper uses. The definitions are reusable for a later formalization of (3.1) (lifts of tri-colourings form a consistent set) and of D-reducibility.
Difficulty
The statements are about finite objects: on a 5-ring there are 35=243 edge-colourings, and the signed matchings have at most two matches. The difficulty lies elsewhere. Consistency quantifies over every member of C, every θ and the existence of a signed matching together with a closure property, so a consistent set cannot be checked locally. The component condition on signed matchings is a statement about connectivity in a graph with two edges deleted, which must be connected to elementary arithmetic on the cycle before anything can be computed. An argument by brute force over all 2243 subsets is infeasible, so a proof has to pass through the structure of the classes Aij. The paper's own proof also uses the dihedral symmetry of the 5-ring without stating it as a lemma; it is not a milestone.
Formalization scope
- The circuit of length k is
SimpleGraph.cycleGraph k on Fin k; its edges are indexed by Fin k, edge i being {i,i+1} (mod k). The paper's ei is edge i−1: A12 is A 0 1, A15 is A 0 4, A25 is A 1 4, A35 is A 2 4.
- Colours are Mathlib's
SignType; an edge-colouring is Fin k → SignType; μ∈ ℤˣ; a match is a non-diagonal Sym2 (Fin k) of edge indices; a signed matching is a Set.
- The component condition is encoded literally with
deleteEdges and Reachable, for both orders of every distinct pair; both halves of "consistent" are kept; equivalence uses Equiv.Perm SignType.
C5 i uses edges i±1; D5 i uses (a,b,c,d)=(i+1,i+2,i+3,i+4) mod 5, the order along the path R−ei, which is the reading the paper's proof requires (D4⊇A25,A12,A13,A35).
- General-k statements assume k≥3: circuits of length at most 2 have parallel edges and are not cycle graphs.
- Ruled out: dropping the component condition (crossing pairs would become signed matchings), a one-sided "consistent" (every set would be consistent and (6.4) false), any use of the junk class
A i i, and degenerate circuits.
All definitions are in one file, FourColourRSST.Ring.Setting. Proofs of any item are welcome, as are lemmas making consistency decidable on small rings and the symmetry of the 5-ring under rotations and reflections.
Selected references
- N. Robertson, D. P. Sanders, P. Seymour, R. Thomas, The Four-Colour Theorem, J. Combin. Theory Ser. B 70 (1997), 2–44. https://doi.org/10.1006/jctb.1997.1750
- G. D. Birkhoff, The reducibility of maps, Amer. J. Math. 35 (1913), 115–128. https://doi.org/10.2307/2370276
- K. Appel, W. Haken, Every planar map is four colorable. Part I: Discharging, Illinois J. Math. 21 (1977), 429–490. https://doi.org/10.1215/ijm/1256049011
- G. Gonthier, Formal proof — the Four-Color Theorem, Notices Amer. Math. Soc. 55 (2008), 1382–1393. https://www.ams.org/notices/200811/tx081101382p.pdf