Documentation

ExpanderGraphs.Coloring

Greedy colouring #

This file proves the greedy colouring bound χ(G) ≤ Δ(G) + 1: a finite simple graph whose vertices all have degree at most d can be properly coloured with d + 1 colours.

Main statements #

theorem SimpleGraph.exists_color_not_used {V : Type u} [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] {d : } (hd : G.maxDegree d) (a : V) (s : Finset V) (c : VFin (d + 1)) :
∃ (x : Fin (d + 1)), vs, G.Adj a vc v x

A vertex a has at most d neighbours, so among d + 1 colours there is always one that no neighbour of a lying in s uses.

theorem SimpleGraph.exists_coloring_on {V : Type u} [Fintype V] (G : SimpleGraph V) [DecidableRel G.Adj] {d : } (hd : G.maxDegree d) (s : Finset V) :
∃ (c : VFin (d + 1)), us, vs, G.Adj u vc u c v

Greedy colouring. Every finite set of vertices can be properly coloured with d + 1 colours, by induction on the set of vertices coloured so far.

Any upper bound d on the maximum degree bounds the chromatic number by d + 1.

The usual form of the greedy bound: χ(G) ≤ Δ(G) + 1.