# Zorn's lemma

Zorn's lemma, also known as the Kuratowski–Zorn lemma, is a proposition of set theory. It states that a partially ordered set containing upper bounds for every chain (that is, every totally ordered subset) necessarily contains at least one maximal element.

The lemma was proved (assuming the axiom of choice) by Kazimierz Kuratowski in 1922 and independently by Max Zorn in 1935.[2] It occurs in the proofs of several theorems of crucial importance, for instance the Hahn–Banach theorem in functional analysis, the theorem that every vector space has a basis,[3] Tychonoff's theorem in topology stating that every product of compact spaces is compact, and the theorems in abstract algebra that in a ring with identity every proper ideal is contained in a maximal ideal and that every field has an algebraic closure.[4]

Zorn's lemma is equivalent to the well-ordering theorem and also to the axiom of choice, in the sense that within ZF (Zermelo–Fraenkel set theory without the axiom of choice) any one of the three is sufficient to prove the other two.[5] An earlier formulation of Zorn's lemma is Hausdorff's maximum principle which states that every totally ordered subset of a given partially ordered set is contained in a maximal totally ordered subset of that partially ordered set.[6]

## Motivation

To prove the existence of a mathematical object that can be viewed as a maximal element in some partially ordered set in some way, one can try proving the existence of such an object by assuming there is no maximal element and using transfinite induction and the assumptions of the situation to get a contradiction. Zorn's lemma tidies up the conditions a situation needs to satisfy in order for such an argument to work and enables mathematicians to not have to repeat the transfinite induction argument by hand each time, but just check the conditions of Zorn's lemma.

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.

— William Timothy Gowers, "How to use Zorn’s lemma"[7]

## Statement of the lemma

Preliminary notions:

• A set P equipped with a binary relation ≤ that is reflexive (xx for every x), antisymmetric (if both xy and yx hold, then x = y), and transitive (if xy and yz then xz) is said to be (partially) ordered by ≤. Given two elements x and y of P with xy, y is said to be greater than or equal to x. The word "partial" is meant to indicate that not every pair of elements of a partially ordered set is required to be comparable under the order relation, that is, in a partially ordered set P with order relation ≤ there may be elements x and y with neither xy nor yx. An ordered set in which every pair of elements is comparable is called totally ordered.
• Every subset S of a partially ordered set P can itself be seen as partially ordered by restricting the order relation inherited from P to S. A subset S of a partially ordered set P is called a chain (in P) if it is totally ordered in the inherited order.
• An element m of a partially ordered set P with order relation ≤ is maximal (with respect to ≤) if there is no other element of P greater than m, that is, if there is no s in P with sm and ms. Depending on the order relation, a partially ordered set may have any number of maximal elements. However, a totally ordered set can have at most one maximal element.
• Given a subset S of a partially ordered set P, an element u of P is an upper bound of S if it is greater than or equal to every element of S. Here, S is not required to be a chain, and u is required to be comparable to every element of S but need not itself be an element of S.

Zorn's lemma can then be stated as:

Zorn's lemma — Suppose a partially ordered set P has the property that every chain in P has an upper bound in P. Then the set P contains at least one maximal element.

Variants of this formulation are sometimes used, such as requiring that the set P and the chains be non-empty.[8]

Zorn's lemma (for non-empty sets) — Suppose a non-empty partially ordered set P has the property that every non-empty chain has an upper bound in P. Then the set P contains at least one maximal element.

Although this formulation appears to be formally weaker (since it places on P the additional condition of being non-empty, but obtains the same conclusion about P), in fact the two formulations are equivalent. To verify this, suppose first that P satisfies the condition that every chain in P has an upper bound in P. Then the empty subset of P is a chain, as it satisfies the definition vacuously; so the hypothesis implies that this subset must have an upper bound in P, and this upper bound shows that P is in fact non-empty. Conversely, if P is assumed to be non-empty and satisfies the hypothesis that every non-empty chain has an upper bound in P, then P also satisfies the condition that every chain has an upper bound, as an arbitrary element of P serves as an upper bound for the empty chain (that is, the empty subset viewed as a chain).

The difference may seem subtle, but in many proofs that invoke Zorn's lemma one takes unions of some sort to produce an upper bound, and so the case of the empty chain may be overlooked; that is, the verification that all chains have upper bounds may have to deal with empty and non-empty chains separately. So many authors prefer to verify the non-emptiness of the set P rather than deal with the empty chain in the general argument.[9]

## Example applications

### Every vector space has a basis

Zorn's lemma can be used to show that every vector space V has a basis.[10]

If V = {0}, then the empty set is a basis for V. Now, suppose that V ≠ {0}. Let P be the set consisting of all linearly independent subsets of V. Since V is not the zero vector space, there exists a nonzero element v of V, so P contains the linearly independent subset {v}. Furthermore, P is partially ordered by set inclusion (see inclusion order). Finding a maximal linearly independent subset of V is the same as finding a maximal element in P.

To apply Zorn's lemma, take a chain T in P (that is, T is a subset of P that is totally ordered). If T is the empty set, then {v} is an upper bound for T in P. Suppose then that T is non-empty. We need to show that T has an upper bound, that is, there exists a linearly independent subset B of V containing all the members of T.

Take B to be the union of all the sets in T. We wish to show that B is an upper bound for T in P. To do this, it suffices to show that B is a linearly independent subset of V.

Suppose otherwise, that B is not linearly independent. Then there exists vectors v1, v2, ..., vkB and scalars a1, a2, ..., ak, not all zero, such that

${\displaystyle a_{1}\mathbf {v} _{1}+a_{2}\mathbf {v} _{2}+\cdots +a_{k}\mathbf {v} _{k}=\mathbf {0} .}$

Since B is the union of all the sets in T, there are some sets S1, S2, ..., SkT such that viSi for every i = 1, 2, ..., k. As T is totally ordered, one of the sets S1, S2, ..., Sk must contain the others, so there is some set Si that contains all of v1, v2, ..., vk. This tells us there is a linearly dependent set of vectors in Si, contradicting that Si is linearly independent (because it is a member of P).

The hypothesis of Zorn's lemma has been checked, and thus there is a maximal element in P, in other words a maximal linearly independent subset B of V.

Finally, we show that B is indeed a basis of V. It suffices to show that B is a spanning set of V. Suppose for the sake of contradiction that B is not spanning. Then there exists some vV not covered by the span of B. This says that B ∪ {v} is a linearly independent subset of V that is larger than B, contradicting the maximality of B. Therefore, B is a spanning set of V, and thus, a basis of V.

### Every nontrivial ring with unity contains a maximal ideal

Zorn's lemma can be used to show that every nontrivial ring R with unity contains a maximal ideal.

Let P be the set consisting of all proper ideals in R (that is, all ideals in R except R itself). Since R is non-trivial, the set P contains the trivial ideal {0}. Furthermore, P is partially ordered by set inclusion. Finding a maximal ideal in R is the same as finding a maximal element in P.

To apply Zorn's lemma, take a chain T in P. If T is empty, then the trivial ideal {0} is an upper bound for T in P. Assume then that T is non-empty. It is necessary to show that T has an upper bound, that is, there exists an ideal IR containing all the members of T but still smaller than R (otherwise it would not be a proper ideal, so it is not in P).

Take I to be the union of all the ideals in T. We wish to show that I is an upper bound for T in P. We will first show that I is an ideal of R. For I to be an ideal, it must satisfy three conditions:

1. I is a nonempty subset of R,
2. For every x, yI, the sum x + y is in I,
3. For every rR and every xI, the product rx is in I.

#1 - I is a nonempty subset of R.

Because T contains at least one element, and that element contains at least 0, the union I contains at least 0 and is not empty. Every element of T is a subset of R, so the union I only consists of elements in R.

#2 - For every x, yI, the sum x + y is in I.

Suppose x and y are elements of I. Then there exist two ideals J, KT such that x is an element of J and y is an element of K. Since T is totally ordered, we know that JK or KJ. Without loss of generality, assume the first case. Both x and y are members of the ideal K, therefore their sum x + y is a member of K, which shows that x + y is a member of I.

#3 - For every rR and every xI, the product rx is in I.

Suppose x is an element of I. Then there exists an ideal JT such that x is in J. If rR, then rx is an element of J and hence an element of I. Thus, I is an ideal in R.

Now, we show that I is a proper ideal. An ideal is equal to R if and only if it contains 1. (It is clear that if it is R then it contains 1; on the other hand, if it contains 1 and r is an arbitrary element of R, then r1 = r is an element of the ideal, and so the ideal is equal to R.) So, if I were equal to R, then it would contain 1, and that means one of the members of T would contain 1 and would thus be equal to R – but R is explicitly excluded from P.

The hypothesis of Zorn's lemma has been checked, and thus there is a maximal element in P, in other words a maximal ideal in R.

## Proof sketch

A sketch of the proof of Zorn's lemma follows, assuming the axiom of choice. Suppose the lemma is false. Then there exists a partially ordered set, or poset, P such that every totally ordered subset has an upper bound, and that for every element in P there is another element bigger than it. For every totally ordered subset T we may then define a bigger element b(T), because T has an upper bound, and that upper bound has a bigger element. To actually define the function b, we need to employ the axiom of choice.

Using the function b, we are going to define elements a0 < a1 < a2 < a3 < ... < aω < aω+1 <…, in P. This uncountably infinite sequence is really long: the indices are not just the natural numbers, but all ordinals. In fact, the sequence is too long for the set P; there are too many ordinals (a proper class), more than there are elements in any set (in other words, given any set of ordinals, there exists a larger ordinal), and the set P will be exhausted before long and then we will run into the desired contradiction.

The ai are defined by transfinite recursion: we pick a0 in P arbitrary (this is possible, since P contains an upper bound for the empty set and is thus not empty) and for any other ordinal w we set aw = b({av : v < w}). Because the av are totally ordered, this is a well-founded definition.

The above proof can be formulated without explicitly referring to ordinals by considering the initial segments {av : v < w} as subsets of P. Such sets can be easily characterized as well-ordered chains SP where each xS satisfies x = b({yS : y < x}). Contradiction is reached by noting that we can always find a "next" initial segment either by taking the union of all such S (corresponding to the limit ordinal case) or by appending b(S) to the "last" S (corresponding to the successor ordinal case).[11]

This proof shows that actually a slightly stronger version of Zorn's lemma is true:

Lemma — If P is a poset in which every well-ordered subset has an upper bound, and if x is any element of P, then P has a maximal element greater than or equal to x. That is, there is a maximal element which is comparable to x.

## History

The Hausdorff maximal principle is an early statement similar to Zorn's lemma.

Kazimierz Kuratowski proved in 1922[12] a version of the lemma close to its modern formulation (it applies to sets ordered by inclusion and closed under unions of well-ordered chains). Essentially the same formulation (weakened by using arbitrary chains, not just well-ordered) was independently given by Max Zorn in 1935,[13] who proposed it as a new axiom of set theory replacing the well-ordering theorem, exhibited some of its applications in algebra, and promised to show its equivalence with the axiom of choice in another paper, which never appeared.

The name "Zorn's lemma" appears to be due to John Tukey, who used it in his book Convergence and Uniformity in Topology in 1940. Bourbaki's Théorie des Ensembles of 1939 refers to a similar maximal principle as "le théorème de Zorn".[14] The name "Kuratowski–Zorn lemma" prevails in Poland and Russia.

## Equivalent forms of Zorn's lemma

Zorn's lemma is equivalent (in ZF) to three main results:

A well-known joke alluding to this equivalency (which may defy human intuition) is attributed to Jerry Bona: "The Axiom of Choice is obviously true, the well-ordering principle obviously false, and who can tell about Zorn's lemma?"[15]

Zorn's lemma is also equivalent to the strong completeness theorem of first-order logic.[16]

Moreover, Zorn's lemma (or one of its equivalent forms) implies some major results in other mathematical areas. For example,

1. Banach's extension theorem which is used to prove one of the most fundamental results in functional analysis, the Hahn–Banach theorem
2. Every vector space has a basis, a result from linear algebra (to which it is equivalent[17]). In particular, the real numbers, as a vector space over the rational numbers, possess a Hamel basis.
3. Every commutative unital ring has a maximal ideal, a result from ring theory known as Krull's theorem, to which Zorn's lemma is equivalent[18]
4. Tychonoff's theorem in topology (to which it is also equivalent[19])
5. Every proper filter is contained in an ultrafilter, a result that yields completeness theorem of first-order logic[20]

In this sense, we see how Zorn's lemma can be seen as a powerful tool, applicable to many areas of mathematics.

### Analogs under weakenings of the axiom of choice

A weakened form of Zorn's lemma can be proven from ZF + DC (Zermelo–Fraenkel set theory with the axiom of choice replaced by the axiom of dependent choice). Zorn's lemma can be expressed straightforwardly by observing that the set having no maximal element would be equivalent to stating that the set's ordering relation would be entire, which would allow us to apply the axiom of dependent choice to construct a countable chain. As a result, any partially ordered set with exclusively finite chains must have a maximal element.[21]

More generally, strengthening the axiom of dependent choice to higher ordinals allows us to generalize the statement in the previous paragraph to higher cardinalities.[21] In the limit where we allow arbitrarily large ordinals, we recover the proof of the full Zorn's lemma using the axiom of choice in the preceding section.

## In popular culture

The 1970 film Zorns Lemma is named after the lemma.

The lemma was referenced on The Simpsons in the episode "Bart's New Friend".[22]

## Notes

1. ^ Serre, Jean-Pierre (2003), Trees, Springer Monographs in Mathematics, Springer, p. 23
2. ^ Moore 2013, p. 168
3. ^ Wilansky, Albert (1964). Functional Analysis. New York: Blaisdell. pp. 16–17.
4. ^ Jech 2008, ch. 2, §2 Some applications of the Axiom of Choice in mathematics
5. ^ Jech 2008, p. 9
6. ^ Moore 2013, p. 168
7. ^ William Timothy Gowers (12 August 2008). "How to use Zorn's lemma".
8. ^ For example, Lang, Serge (2002). Algebra. Graduate Texts in Mathematics. Vol. 211 (Revised 3rd ed.). Springer-Verlag. p. 880. ISBN 978-0-387-95385-4., Dummit, David S.; Foote, Richard M. (1998). Abstract Algebra (2nd ed.). Prentice Hall. p. 875. ISBN 978-0-13-569302-5., and Bergman, George M (2015). An Invitation to General Algebra and Universal Constructions. Universitext (2nd ed.). Springer-Verlag. p. 162. ISBN 978-3-319-11477-4..
9. ^ Bergman, George M (2015). An Invitation to General Algebra and Universal Constructions. Universitext (Second ed.). Springer-Verlag. p. 164. ISBN 978-3-319-11477-4.
10. ^ Smits, Tim. "A Proof that every Vector Space has a Basis" (PDF). Retrieved 14 August 2022.
11. ^ Lewin, Jonathan W. (1991). "A simple proof of Zorn's lemma". The American Mathematical Monthly. 98 (4): 353–354. doi:10.1080/00029890.1991.12000768.
12. ^ Kuratowski, Casimir (1922). "Une méthode d'élimination des nombres transfinis des raisonnements mathématiques" [A method of disposing of transfinite numbers of mathematical reasoning] (PDF). Fundamenta Mathematicae (in French). 3: 76–108. doi:10.4064/fm-3-1-76-108. Retrieved 24 April 2013.
13. ^ Zorn, Max (1935). "A remark on method in transfinite algebra". Bulletin of the American Mathematical Society. 41 (10): 667–670. doi:10.1090/S0002-9904-1935-06166-X.
14. ^ Campbell 1978, p. 82.
15. ^ Krantz, Steven G. (2002), "The Axiom of Choice", Handbook of Logic and Proof Techniques for Computer Science, Springer, pp. 121–126, doi:10.1007/978-1-4612-0115-1_9, ISBN 978-1-4612-6619-8.
16. ^ J.L. Bell & A.B. Slomson (1969). Models and Ultraproducts. North Holland Publishing Company. Chapter 5, Theorem 4.3, page 103.
17. ^ Blass, Andreas (1984). "Existence of bases implies the Axiom of Choice". Axiomatic Set Theory. Contemporary Mathematics. Vol. 31. pp. 31–33. doi:10.1090/conm/031/763890. ISBN 9780821850268. {{cite book}}: |journal= ignored (help)
18. ^ Hodges, W. (1979). "Krull implies Zorn". Journal of the London Mathematical Society. s2-19 (2): 285–287. doi:10.1112/jlms/s2-19.2.285.
19. ^ Kelley, John L. (1950). "The Tychonoff product theorem implies the axiom of choice". Fundamenta Mathematicae. 37: 75–76. doi:10.4064/fm-37-1-75-76.
20. ^ J.L. Bell & A.B. Slomson (1969). Models and Ultraproducts. North Holland Publishing Company.
21. ^ a b Wolk, Elliot S. (1983), "On the principle of dependent choices and some forms of Zorn's lemma", Canadian Mathematical Bulletin, 26 (3): 365–367, doi:10.4153/CMB-1983-062-5
22. ^