nLab vertex coloring

Contents

Idea

A (proper) vertex coloring of a graph is a labelling of its vertices with the property that no two vertices sharing an edge have the same label, while an nn-coloring is a vertex coloring using at most nn distinct labels. The chromatic number χ(G)\chi(G) of a graph GG is the least nn such that GG has an nn-coloring.

Vertex coloring may also be expressed in terms of graph homomorphisms: a nn-coloring of GG is the same thing as a graph homomorphism GK nG \to K_n into the complete graph on nn vertices. This formulation makes clear the duality between colorings and cliques: an nn-clique in GG is the same thing as a homomorphism K nGK_n \to G.

Definitions

Vertex coloring is functorial; a homomorphism f:GHf \colon G \rightarrow H of graphs existing means that χ(G)χ(H)\chi(G) \le \chi(H), since any nn-coloring c:HK nc \colon H \to K_n of HH can be extended to GG by fcf \circ c. There are many categories of graphs, but to be general, given some cardinal κ\kappa (almost always assumed to be |||\mathbb{N}|) let

  • Grph +\mathbf{Grph}_+ be the category of sets smaller than κ\kappa with a symmetric relation

  • Grph\mathbf{Grph} be the subcategory of Grph +\mathbf{Grph}_+ spanned by the irreflexive relations

  • κ +\kappa_+ be the poset of cardinalities less than or equal to κ\kappa

  • κ\kappa be the poset of cardinalities less than κ\kappa

  • χ(G)min{n|Hom(G,K n)}\chi(G) \coloneqq min\big\{\, n \,\big\vert\, Hom(G, K_n) \ne \emptyset \big\}, keeping in mind that minmin is the product in a poset.

Then χ:Grph +κ +\chi \colon \mathbf{Grph}_+ \to \kappa_+ and Grphκ\mathbf{Grph} \to \kappa. Grph +\mathbf{Grph}_+ is a nicer category to work in, since it has a terminal object, but it means that not all graphs can technically be colored, so we can identify the chromatic number of a graph with a loop to κ\kappa, since no graph of size <κ\lt \kappa could actually have a κ\kappa-coloring.

It makes sense from the definition that χ\chi preserves coproducts (disjoint unions), and it preserves the terminal object (graph with one object and loop), so it’s easy to assume it preserves products, too, but this question has actually been open since 1966 under the name Hedetniemi's conjecture.

References

  • Chris Godsil and Gordon Royle (2001), Algebraic Graph Theory, Springer.

  • Pavol Hell and Jaroslav Nešetřil (2001), Graphs and Homomorphisms, Oxford University Press.

Two posts by Tom Leinster at the n-Category Café on vertex-coloring and a categorical formulation of Hedetniemi’s conjecture:

Other references:

Last revised on March 30, 2025 at 07:21:00. See the history of this page for a list of all contributions to it.