The de Bruijn-Erdős compactness theorem states that for a positive integer , a graph has a proper vertex coloring with at most
colors iff all its finite subgraphs
have such a coloring (de Bruijn and Erdős 1951).
In the Hadwiger-Nelson problem, the theorem implies that if the unit-distance graph of
the plane cannot be colored with colors, then some finite subgraph
already requires more than
colors.