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.
Recall the concept of relation I defined here.
Definition 1: Let be a nonempty set. A partial order relation in is a relation which is symbolized by and that satisfies the following properties for all :
Reflexivity: ;
Antisymmetry: and implies ;
Transitivity: and implies .
The set is then called a partially ordered set. If in addition to these three properties, the set also satisfies
any two elements are comparable, i.e., either or ,
then the relation is called a total order relation and the set is called a totally ordered set or a chain. We often write to mean but .
Let be the set of all positive integers, and let mean that divides . Then is a partially ordered set. It is not a chain as and are not comparable, for example.
Let be the set of all real numbers, and let mean that is nonnegative. Then is a chain. Note that with this choice of ordering we have our usual ordering of real numbers, which we denote by
Let be the class of all subsets of some universal set , and let for mean that Then is a partially ordered set. It is not a chain because if contains at least two elements, then we can find two subsets of neither of which is a subset of the other.
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:
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 to be any finite subset of , then the greatest lower bound is the greatest common divisor of all the elements of and the least upper bound is the least common multiple. In Example 3 above, let be any nonempty subset of Then the least upper bound is the union of all the sets in , and the greatest lower bound is the intersection of all the sets in
We are now ready to state the Zorn's lemma.
I'll mention in passing that Zorn's lemma is equivalent to the axiom of choice.
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 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
We want to build our partially ordered set to be consisting of elements of this form: disjoint class of countably infinite subsets of 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
To this end, let be the set of all disjoint classes of countably infinite subsets of is partially ordered by as we saw in Example 3 above.
To be able to apply Zorn's lemma we need to show that every chain in has an upper bound. Let be a chain in A natural guess for the upper bound of is To show that is an upper bound of we need to show that and for every The second claim is trivial from 's definition. It is easy to see that is a class of countably infinite subsets of because this is true for each To show that is a disjoint class, let be distinct elements of There exist elements such that and Since is a chain, either or Without loss of generality, Then and this implies and are disjoint because this is true for the elements of our chain. Thus is a disjoint class of countably infinite subsets and hence belongs to
By the Zorn's lemma, possesses a maximal element If then we are done because is the required disjoint class of countably infinite subsets whose union is But it can still happen that some elements of 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 To see that the leftover elements must be finite, denote the set of leftover elements by If is infinite it must contain a countably infinite subset Consider the class It is an element of because it is a disjoint class of countably infinite subsets of But is a strict subset of which contradicts the fact that is a maximal element of
We are done!
Let us end by showing a fundamental theorem in functional analysis.
Definition 4: Let be a nontrivial vector space (i.e., ) over the field Then a Hamel basis of is any family of vectors that satisfies
The family is linearly independent, i.e., given any finite subfamily of and any scalars **such that , then for all , and
, i.e., given any vector , there exists a finite subfamily of and there exist scalars , such that
Let denote the set formed by all linearly independent families of vectors of Hence, is nonempty, since contains , where is any nonzero vector of We define a partial order on the elements of as follows: if and are any two elements of , then iff
The next step is to show that if is any chain in , then has an upper bound in To this end, define We claim that this is the desired upper bound. is in because any finite subfamily of is a subfamily of some since is a chain, and therefore the vectors are linearly independent. Also, is clearly an upper bound of , since for all
By the Zorn's lemma, possesses a maximal element , which we claim to be a Hamel basis of For otherwise, there would exist a nonzero vector that cannot be written as a linear combination of elements of But then would be an element of that satisfies , a contradiction.