Aditya Makkar
Zorn's Lemma

Introduction

I have been self-studying some functional analysis recently, and Zorn's lemma comes up often in proofs (for example, showing that every nontrivial vector space has a Hamel basis (I show this fundamental result below) or in the proof of Hahn-Banach theorem). Since I have no formal background in mathematics (my undergrad was in Mechanical engineering), it was my first time hearing about Zorn's lemma. I read its statement from the Wikipedia article, naively assuming I understood this extremely powerful tool. But every usage of Zorn's lemma seemed contrived to me, and it was only in retrospect that I could see how Zorn's lemma seems like an obvious tool to apply. An excellent article which helped me understand Zorn's lemma is How to use Zorn's lemma by Timothy Gowers. If you didn't know about Gowers's article, then mentioning it is the biggest contribution of my article and I recommend you read it.

In this article, I want to show how to use Zorn's lemma by stating two theorems and discussing their proofs. Things "clicked" for me when I proved the first theorem discussed below. I will therefore try to be verbose, and go through my thinking process in detail. But before we do that let me define some important concepts.

Preliminaries

Recall the concept of relation I defined here.

Definition 1: Let PP be a nonempty set. A partial order relation in PP is a relation which is symbolized by \preceq and that satisfies the following properties for all x,y,zPx,y,z \in P:

  1. Reflexivity: xxx \preceq x;

  2. Antisymmetry: xyx \preceq y and yxy \preceq x implies x=yx = y;

  3. Transitivity: xyx \preceq y and yzy \preceq z implies xzx \preceq z.

The set PP is then called a partially ordered set. If in addition to these three properties, the set PP also satisfies

  1. any two elements are comparable, i.e., either xyx \preceq y or yxy \preceq x,

then the relation is called a total order relation and the set PP is called a totally ordered set or a chain. We often write xyx \prec y to mean xyx \preceq y but xyx \neq y.

Examples

  1. Let PP be the set of all positive integers, and let mnm \preceq n mean that mm divides nn. Then PP is a partially ordered set. It is not a chain as 22 and 33 are not comparable, for example.

  2. Let PP be the set of all real numbers, and let xyx \preceq y mean that yxy-x is nonnegative. Then PP is a chain. Note that with this choice of ordering we have our usual ordering of real numbers, which we denote by xy.x \leq y.

  3. Let PP be the class of all subsets of some universal set UU, and let ABA \preceq B for A,BPA,B \in P mean that AB.A \subseteq B. Then PP is a partially ordered set. It is not a chain because if UU contains at least two elements, then we can find two subsets of UU neither of which is a subset of the other.

Definition 2: If PP is a partially ordered set, an element xPx \in P is said to be maximal if for any yPy \in P for which xyx \preceq y, we must have x=yx = y.

Note that a maximal element does not have to be bigger than everything else: it just must not be smaller than anything else. A maximal element may not exist, and if it exists it may not be unique. Examples 1 and 2 above have no maximal elements. Example 3 has one maximal element: U.U.

Definition 3: Let QQ be a nonempty subset of a partially ordered set P.P. An element xPx \in P is called an upper bound of QQ if yxy \preceq x for every yQ.y \in Q. An upper bound of QQ is called a least upper bound of QQ if it is less than or equal to every upper bound of Q.Q.

Similarly for lower bound and greatest lower bound.

Note how similar these definitions are to the definitions of supremum and infimum for real numbers. That's because in that case they are the same. In Example 1 above, if we take QQ to be any finite subset of PP, then the greatest lower bound is the greatest common divisor of all the elements of QQ and the least upper bound is the least common multiple. In Example 3 above, let QQ be any nonempty subset of P.P. Then the least upper bound is the union of all the sets in QQ, and the greatest lower bound is the intersection of all the sets in Q.Q.

We are now ready to state the Zorn's lemma.

Zorn's Lemma

Zorn's lemma: If PP is a partially ordered set in which every chain has an upper bound, then PP possesses a maximal element.

I'll mention in passing that Zorn's lemma is equivalent to the axiom of choice.

Example Application 1

Theorem 1: Any infinite set XX can be represented as a union of a disjoint class of countably infinite subsets.

The first thing that we need to do is realize Zorn's lemma can be applied here. I use the following description taken from Gowers's article as a guiding principle:

If you are building a mathematical object in stages and find that (i) you have not finished even after infinitely many stages, and (ii) there seems to be nothing to stop you continuing to build, then Zorn’s lemma may well be able to help you.

The fact that we need to build XX by taking a union of some sets, and it could be an uncountable union and therefore we might not finish even in countably infinite number of stages, suggests Zorn's lemma might be helpful here. Zorn's lemma will prove the existence of a maximal element in a partially ordered set, therefore, we want to construct a partially ordered set such that we can prove that its maximal element constructs X.X.

We want to build our partially ordered set to be consisting of elements of this form: disjoint class of countably infinite subsets of X.X. The reason we want to define our partially ordered set this way is because, first, the subset operation makes it a partially ordered set, and second, it seems intuitively true that the maximal element of this partially ordered set, if it exists, will be such that the union of its elements is X.X.

To this end, let P\mathscr{P} be the set of all disjoint classes of countably infinite subsets of X.X. P\mathscr{P} is partially ordered by \subseteq as we saw in Example 3 above.

To be able to apply Zorn's lemma we need to show that every chain in P\mathscr{P} has an upper bound. Let C\mathscr{C} be a chain in P.\mathscr{P}. A natural guess for the upper bound of C\mathscr{C} is U=SCS.\mathcal{U} = \bigcup _{\mathcal{S} \in \mathscr{C}} \mathcal{S}. To show that U\mathcal{U} is an upper bound of C\mathscr{C} we need to show that UP\mathcal{U} \in \mathscr{P} and SU\mathcal{S} \subseteq \mathcal{U} for every SC.\mathcal{S} \in \mathscr{C}. The second claim is trivial from U\mathcal{U}'s definition. It is easy to see that U\mathcal{U} is a class of countably infinite subsets of XX because this is true for each SC.\mathcal{S} \in \mathscr{C}. To show that U\mathcal{U} is a disjoint class, let A,BUA, B \in \mathcal{U} be distinct elements of U.\mathcal{U}. There exist elements SA,SBC\mathcal{S}_A, \mathcal{S}_B \in \mathscr{C} such that ASAA \in \mathcal{S}_A and BSB.B \in \mathcal{S}_B. Since C\mathscr{C} is a chain, either SASB\mathcal{S}_A \subseteq \mathcal{S}_B or SBSA.\mathcal{S}_B \subseteq \mathcal{S}_A. Without loss of generality, SASB.\mathcal{S}_A \subseteq \mathcal{S}_B. Then A,BSBA, B \in \mathcal{S}_B and this implies AA and BB are disjoint because this is true for the elements of our chain. Thus U\mathcal{U} is a disjoint class of countably infinite subsets and hence belongs to P.\mathscr{P}.

By the Zorn's lemma, P\mathscr{P} possesses a maximal element M.\mathcal{M}. If EME=X\bigcup _{E \in \mathcal{M}} E = X then we are done because M\mathcal{M} is the required disjoint class of countably infinite subsets whose union is X.X. But it can still happen that some elements of XX are not present in this union. In this case we can show that these leftover elements form a finite set and we can get our required disjoint class by adding these leftover elements to any element of M.\mathcal{M}. To see that the leftover elements must be finite, denote the set of leftover elements by Y=XEME.Y = X \setminus \bigcup _{E \in \mathcal{M}} E. If YY is infinite it must contain a countably infinite subset ZY.Z \subseteq Y. Consider the class M{Z}.\mathcal{M} \cup \{Z\}. It is an element of P\mathscr{P} because it is a disjoint class of countably infinite subsets of X.X. But M\mathcal{M} is a strict subset of M{Z}\mathcal{M} \cup \{Z\} which contradicts the fact that M\mathcal{M} is a maximal element of P.\mathscr{P}.

We are done!

Example application 2

Let us end by showing a fundamental theorem in functional analysis.

Definition 4: Let XX be a nontrivial vector space (i.e., X{0}X \neq \{0\}) over the field K.\mathbb{K}. Then a Hamel basis of XX is any family {ei}iI\{e_i\}_{i \in I} of vectors eiXe_i \in X that satisfies

  1. The family is linearly independent, i.e., given any finite subfamily {ej}jJ\{e_j\}_ {j \in J} of {ei}iI\{e_i\}_{i \in I} and any scalars {αj}jJK\{\alpha_j\}_{j \in J} \subseteq \mathbb{K}**such that jJαjej=0\sum_{j \in J} \alpha_j e_j = 0, then αj=0\alpha_j = 0 for all jJj \in J, and

  2. Span({ei}iI)=X\text{Span}\left(\{e_i\} _{i \in I}\right) = X, i.e., given any vector xXx \in X, there exists a finite subfamily {ej}jJ\{e_j\} _ {j \in J} of {ei}iI\{e_i\} _ {i \in I} and there exist scalars {xj}jJK\{x_j\} _ {j \in J} \subseteq \mathbb{K}, such that x=jJxjej.x = \sum _ {j \in J} x_j e_j.

Theorem 2: Let XX be a nontrivial vector space, then there exists a Hamel basis of X.X.

Let P\mathcal{P} denote the set formed by all linearly independent families of vectors of X.X. Hence, P\mathcal{P} is nonempty, since P\mathcal{P} contains {x}\{x\}, where xx is any nonzero vector of X.X. We define a partial order on the elements of P\mathcal{P} as follows: if E={ei}iIE = \{e_i\} _ {i \in I} and F={ej}jJF = \{e_j\} _ {j \in J} are any two elements of P\mathcal{P}, then EFE \preceq F iff EF.E \subseteq F.

The next step is to show that if C\mathcal{C} is any chain in P\mathcal{P}, then C\mathcal{C} has an upper bound in P.\mathcal{P}. To this end, define U=SCS.U = \bigcup_{S \in \mathcal{C}} S. We claim that this is the desired upper bound. UU is in P\mathcal{P} because any finite subfamily {ei}i=1n\{e_i\} _ {i=1}^n of UU is a subfamily of some SCS \in \mathcal{C} since C\mathcal{C} is a chain, and therefore the vectors {ei}i=1n\{e_i\} _ {i=1}^n are linearly independent. Also, UU is clearly an upper bound of C\mathcal{C}, since SUS \subseteq U for all SC.S \in \mathcal{C}.

By the Zorn's lemma, P\mathcal{P} possesses a maximal element MM, which we claim to be a Hamel basis of X.X. For otherwise, there would exist a nonzero vector xXx \in X that cannot be written as a linear combination of elements of M.M. But then M{x}M \cup \{x\} would be an element of P\mathcal{P} that satisfies MM{x}M \prec M \cup \{x\}, a contradiction.