De Bruijn–Erdős theorem: another application of Zorn’s lemma
A graph is colorable if it can be colored using colors such that no two connected vertices have the same color.
Theorem 1.
Let be an infinite graph such that every finite subgraph is k-colorable. This implies is k-colorable.
Proof
If is -colorable, there exists a function such that for all , . is the set of all vertices in that have color , and there will not exist any edges between its elements.
Define . Define a partial order on by if . Let be a chain. Let , and let be our candidate upper bound for . We have to show that , i.e, every subgraph of is k-colorable. Let be a finite subgraph of . Let . Let . Let . is a subgraph of , which is in , so is k-colorable.
So, by Zorn’s lemma , the partial order has a maximal element . Consider the binary relation , iff . Evidently, is reflexive and symmetric. We will show that it is transitive.
Let , , .
Now, . So, has a finite subgraph which is not -colorable. Note that and are forced. Also, for all k-colorings of , and must get the same color.
Similarly, for there is a finite subgraph which is not k-colorable and . So, for all k-colorings of , and have the same color.
Now consider . It is k-colorable, and from the properties of and discussed above, and must have the same color, and and must have the same color. Thus, and must have the same color. So, we have found a subgraph of such that in every possible k-coloring of the subgraph, and have the same color. This makes it impossible for and to be connected in .So, is an equivalence relation on . It partitions into equivalence classes.
and , implies .
Claim: .
Otherwise, pick equivalence classes and . The graph induced by is a complete graph with vertices, which is not k-colorable.Thus, is k-colorable. Note that any k-coloring for also works for .