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 -coloring is a vertex coloring using at most distinct labels. The chromatic number of a graph is the least such that has an -coloring.
Vertex coloring may also be expressed in terms of graph homomorphisms: a -coloring of is the same thing as a graph homomorphism into the complete graph on vertices. This formulation makes clear the duality between colorings and cliques: an -clique in is the same thing as a homomorphism .
Vertex coloring is functorial; a homomorphism of graphs existing means that , since any -coloring of can be extended to by . There are many categories of graphs, but to be general, given some cardinal (almost always assumed to be ) let
be the category of sets smaller than with a symmetric relation
be the subcategory of spanned by the irreflexive relations
be the poset of cardinalities less than or equal to
be the poset of cardinalities less than
Then and . 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 , since no graph of size could actually have a -coloring.
It makes sense from the definition that 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.
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:
Tom Leinster: Colouring a Graph, n-Category Café post of April 12, 2013.
Tom Leinster: Graph Colouring and Cartesian Closed Categories, n-Category Café post of December 5, 2014.
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.