दुर्गा बेरागी Durga Beragi, homeEnter the study →

Library › Mathematics

Naive Set Theory

Paul R. Halmos · 1960 · Van Nostrand

Sets, functions and cardinals in the language mathematicians use.

About the book

Paul Halmos published Naive Set Theory in 1960. It is a short introduction to set theory for students who need it as a tool. The term naive means that axioms are used without formal logic, though the treatment is axiomatic. The book has twenty-five short sections covering extension, specification, unordered pairs, unions and intersections, complements and powers, ordered pairs, relations, functions, families, inverses and composites, numbers, the Peano axioms, arithmetic, order, the axiom of choice, Zorn's lemma, well ordering, transfinite recursion, ordinal numbers, sets of ordinals, ordinal arithmetic, the Schröder-Bernstein theorem, countable sets, cardinal arithmetic and cardinal numbers.

Key ideas

  • Sets are fixed entirely by their members. Two sets with exactly the same members are the same set, which is the axiom of extension. Halmos starts here.
  • Sets can be formed by picking out the members of a given set that have some property. This avoids paradoxes such as Russell's. Halmos explains the paradox briefly.
  • Ordered pairs, relations and functions can all be defined as sets. Most of mathematics can then be built from sets alone. Halmos shows each construction.
  • The natural numbers can be defined as sets, with each number equal to the set of all smaller numbers. The Peano axioms then follow. Halmos derives them.
  • The axiom of choice and its equivalents, Zorn's lemma and the well-ordering theorem, are powerful tools. Halmos shows how they are used. Their equivalence is proved in the text.
  • Infinite sets have sizes, measured by cardinal numbers, and orderings, measured by ordinal numbers. The book ends with their arithmetic. Countable sets get special attention.

Why it is on this shelf

Halmos gives the set theory every working mathematician needs, briefly and clearly, in under two hundred pages. A reader who wants to understand what mathematics is built from, and how infinity is handled in practice, should read it before any heavier logic text.

How to start reading it

Read straight through; each section is only a few pages. Do the exercises in the text as they come. Pay close attention to the sections on the axiom of choice.

About this book

Naive Set Theory is a short book by Paul R. Halmos, first published in 1960 by Van Nostrand in a series of undergraduate mathematics texts. It was later reissued by Springer in its series of undergraduate texts, and it has stayed in print for more than sixty years. It is one of the most widely read introductions to set theory ever written, and one of the most admired pieces of mathematical exposition of its century.

The book is written for a particular reader: the student of mathematics who needs set theory as a tool and not as a specialty. Such a student will spend a working life writing about sets, functions, relations, orderings and infinite collections. They need to know what these words mean exactly, how the basic constructions work, and what the axiom of choice, Zorn's lemma, ordinals and cardinals are for. They do not need the full machinery of formal logic, the study of models of set theory, or the deep independence results that occupy specialists. Halmos gives the first set of things and leaves out the second.

The title needs explaining, because it misleads many readers. In logic, naive set theory usually means the informal theory in which any property defines a set, the theory that leads to Russell's paradox. Halmos does not mean that. His treatment is axiomatic. He states the standard axioms of set theory one at a time and derives everything from them. What is naive is the manner, not the content: the axioms are written in ordinary mathematical English rather than in a formal language, and the reasoning is the ordinary reasoning of mathematics rather than a formal deduction. The book is, in effect, axiomatic set theory presented without the apparatus of symbolic logic.

The book is short. It runs to a little over a hundred pages, divided into twenty-five brief sections, most of them only a few pages long. Each section introduces one idea or construction, proves what needs to be proved about it, and often leaves small exercises embedded in the text. There are no long problem sets at the ends of chapters. The style is conversational, precise and economical. Halmos explains his reasons, admits when something is tedious, and often tells the reader what to notice.

The question the book answers is this: what is the shared language of modern mathematics built from, and how do its basic parts fit together? By the middle of the twentieth century, almost every branch of mathematics had come to be written in the language of sets. A function was a set of ordered pairs. A number system was a set with operations. A space was a set with structure. Halmos shows how that language is built, starting from almost nothing, and carries it far enough to handle infinite sets with confidence.

This study edition is a companion. It explains, in our own words, what the book does, why its key ideas matter, and how to read it well. It does not reproduce the book, which is short enough and clear enough that every serious reader should have it.

The author

Paul Richard Halmos was born in Budapest in 1916. He moved to the United States at the age of thirteen and studied at the University of Illinois, where he first intended to study philosophy and then turned to mathematics. He took his doctorate there in 1938, in probability theory, under Joseph Doob. He then went to the Institute for Advanced Study in Princeton, where for a time he was an assistant to John von Neumann. That experience shaped him deeply. Von Neumann's lectures on operator theory gave Halmos the material for his first book, Finite-Dimensional Vector Spaces, published in 1942, which set out linear algebra in the abstract, coordinate-free style that later became standard.

Halmos taught at several universities over a long career, including Syracuse, the University of Chicago, the University of Michigan, the University of Hawaii, Indiana University and Santa Clara University. His research covered measure theory, ergodic theory, operator theory on Hilbert spaces and algebraic logic. He wrote many books, among them Measure Theory in 1950, a short book on Hilbert space and spectral multiplicity, Lectures on Ergodic Theory, A Hilbert Space Problem Book in 1967, and Naive Set Theory in 1960. He died in 2006.

Halmos was famous as a writer about mathematics as much as a mathematician. His essay How to Write Mathematics, published in 1970, is still given to graduate students as practical advice. His memoir, I Want to Be a Mathematician, published in 1985, which he subtitled an automathography, is a lively account of mathematical life. He received the Leroy P. Steele Prize of the American Mathematical Society for mathematical exposition in 1983. He is credited with popularising the abbreviation iff for if and only if, and the small square or tombstone used to mark the end of a proof is often called the halmos after him.

These facts bear directly on Naive Set Theory. Halmos was a working mathematician in analysis and operator theory, not a specialist in logic, though he did research in algebraic logic. He wrote the book from the point of view of a user of set theory, someone who needs the tools and wants them sharp. And he was a writer who believed that clarity is a duty. The book's tone, its brevity and its constant attention to the reader's understanding all reflect that belief.

The shape of the argument

The book moves in three broad stages, though it is not formally divided into parts. The first stage lays down the basic axioms and builds the elementary toolkit. The second stage builds the natural numbers and the basic structures of order and arithmetic. The third stage goes into the infinite: the axiom of choice and its equivalents, well-ordering, ordinal numbers and cardinal numbers.

In the first stage, Halmos introduces one axiom at a time and shows what it allows. The first axiom says when two sets are equal. The next says how to form subsets by picking out members with a given property. Further axioms allow the formation of pairs, unions and the set of all subsets of a given set. With these in hand, he defines intersections, complements, ordered pairs, Cartesian products, relations, equivalence relations, functions, families of sets, inverses and composites. By the end of this stage, the reader has the vocabulary used in every branch of mathematics, and knows exactly what each word means in terms of sets.

In the second stage, Halmos constructs the natural numbers from sets, using an axiom that guarantees an infinite set exists. He shows that the numbers so constructed satisfy the Peano axioms, which characterise the natural numbers, proves the principle of mathematical induction and the recursion theorem, which justifies definitions by recursion, and then defines arithmetic and order on the natural numbers. This stage shows that the most basic objects of mathematics can be built inside set theory.

In the third stage, the book turns to the infinite in earnest. It states the axiom of choice, proves Zorn's lemma and the well-ordering theorem from it, and develops transfinite induction and recursion, which extend induction and recursion beyond the natural numbers. It introduces a further axiom, the axiom of substitution, sometimes called replacement, and uses it to build ordinal numbers, which measure the length of well-ordered sequences. It then turns to comparing sizes of sets, proving the Schröder-Bernstein theorem, studying countable sets, and finally defining cardinal numbers and their arithmetic.

The method throughout is the same: an axiom or definition, a few short arguments, a few small exercises, and an explanation of where the idea is going. Halmos is not afraid to tell the reader that a particular verification is routine and can be skipped, or that a particular idea is the important one and must be understood. The book's sections are short enough that a reader can finish one in a single sitting and come back the next day for the next.

The book does not develop formal logic. It does not prove that its axioms are consistent or independent. It does not discuss the continuum hypothesis beyond stating it, or the later results showing that it cannot be decided by the usual axioms. These belong to specialised set theory. Halmos's book stops where the working mathematician's needs stop.

Sets are fixed by their members

The first key idea is the axiom of extension: two sets are equal exactly when they have the same members. This seems too obvious to need saying. It is in fact the definition of what a set is, as opposed to other kinds of collection.

Consider the difference between a set and a list. A list has an order and may repeat items: the list of a, b, a is different from the list of a, b, and both are different from the list of b, a. A set has no order and no repetition. The set whose members are a and b is the same as the set whose members are b, a and a. All that matters about a set is which things belong to it. Two descriptions that pick out the same members describe the same set, however different the descriptions look.

An analogy: a club whose identity is fixed purely by its membership roll. Two clubs with different names, different meeting places and different histories, but exactly the same members, would by this rule be the same club. That is unlike real clubs, which is why the rule is worth stating. For sets, membership is everything.

Halmos uses the axiom of extension to prove that two sets are equal by showing that each is a subset of the other. This is the standard method for proving set equalities throughout mathematics. If every member of A is a member of B, and every member of B is a member of A, then A equals B. Much of the early work in the book consists of such double-inclusion arguments, and a reader who learns the habit here will use it for life.

The book is careful to distinguish membership from inclusion. Membership is the relation between an object and a set that contains it. Inclusion, or being a subset, is a relation between two sets: every member of one is a member of the other. A set can be a member of another set without being a subset of it, and the reverse. A singleton set, the set whose only member is some object, is different from the object itself. These distinctions are simple, but students confuse them constantly, and Halmos insists on them from the first pages.

A common confusion is to think the axiom of extension is about how sets are built. It is not. It says nothing about which sets exist. It says only when two sets, if they exist, are the same. The axioms that follow are the ones that say which sets exist.

Specification, and why nothing contains everything

The second key idea is the axiom of specification: given a set and a property, there is a set whose members are exactly those members of the given set that have the property. This is how most sets in mathematics are formed. The set of even numbers is formed from the set of natural numbers by specifying evenness. The set of continuous functions on an interval is formed from the set of all functions on the interval by specifying continuity.

The important restriction is the phrase a given set. Specification does not say that every property defines a set out of nothing. It says that every property picks out a subset of a set you already have. This restriction is what protects the theory from paradox.

The danger it avoids is Russell's paradox. Suppose any property at all defined a set. Consider the property of not being a member of oneself. Most ordinary sets have this property: the set of all chairs is not itself a chair. Let R be the set of all sets that are not members of themselves. Is R a member of itself? If it is, then by definition it is not. If it is not, then by definition it is. Either way there is a contradiction. Unrestricted set formation, which was the naive theory in the logician's sense, is inconsistent.

Halmos uses the same argument, applied within a given set, to prove something positive. Take any set A. Form, by specification, the set of members of A that are not members of themselves. Call it B. If B were a member of A, the same contradiction would arise. So B is not a member of A. Since A was arbitrary, this proves that for every set there is something that is not a member of it. No set contains everything. There is no universal set.

An analogy: a library catalogue that tries to list every catalogue that does not list itself. It cannot exist as one of the catalogues it lists. In Halmos's version, any given library has some catalogue missing from it, namely the catalogue of its own non-self-listing catalogues. This turns a paradox into a theorem: no library contains every catalogue.

A common confusion is to think the paradoxes were solved by a clever trick. The solution is better seen as a change of view. Sets are not formed by arbitrary description out of a pre-existing universe. They are formed step by step, from sets already available, by specified operations. Specification is one such operation, and it is safe because it only ever cuts down an existing set. The other axioms provide the operations that build sets up.

Building the toolkit: pairs, unions and power sets

The third key idea is that a small number of construction axioms, each simple, produce all the elementary operations of set theory. Halmos presents them in order. The axiom of pairing says that for any two sets there is a set that contains both. Combined with specification, this gives the set whose members are exactly those two, called an unordered pair, and as a special case, the singleton set containing just one object.

The axiom of unions says that for any collection of sets there is a set containing every member of every set in the collection. With specification, this gives the union: the set of all things that belong to at least one set in the collection. Intersections need no new axiom. The intersection of a nonempty collection of sets is the set of all things that belong to every set in the collection, and it can be formed by specification from any one member of the collection.

Complements are defined relative to a given set. The complement of A within E is the set of members of E that are not in A. There is no absolute complement, since there is no universal set. Halmos proves the standard laws relating unions, intersections and complements, including De Morgan's laws, which say that the complement of a union is the intersection of the complements, and the reverse.

The axiom of powers says that for any set there is a set whose members are all the subsets of the given set. This is called the power set. It is the first axiom that produces a set much larger than what one started with. For a finite set with n members, the power set has two to the power n members. For an infinite set, as the last part of the book shows, the power set is always strictly larger than the set itself.

These operations are like the basic tools in a workshop: a saw, a drill, a clamp. None of them is impressive alone. Together they build everything else. A reader should practise using them until they are automatic, proving small identities by double inclusion, drawing diagrams of overlapping circles to guide intuition, and then checking that the proof does not depend on the diagram.

A common confusion is to think the empty set is a problem. The existence of at least one set, together with specification using a property nothing has, such as being unequal to itself, yields a set with no members. By extension, there is only one such set. The empty set is a subset of every set, a fact students sometimes find odd. It holds because there is nothing in the empty set that could fail to be in the other set. Statements about all members of the empty set are always true, vacuously.

Everything is a set

The fourth key idea is that the basic concepts of mathematics, which look as if they belong to different kinds, can all be defined as sets. This is the central construction of the first part of the book, and it explains why set theory became the common language of mathematics.

The first step is the ordered pair. A set has no order, but mathematics needs pairs in which order matters: a point in the plane with coordinates three and five is different from the point with coordinates five and three. Halmos defines the ordered pair of a and b as a certain set built from a and b, in such a way that two ordered pairs are equal exactly when their first entries are equal and their second entries are equal. The usual definition, due to Kuratowski, uses the singleton of a and the unordered pair of a and b. The particular definition does not matter much. What matters is that it has the one property ordered pairs need.

With ordered pairs, the Cartesian product of two sets is the set of all ordered pairs whose first entry comes from the first set and whose second entry comes from the second. A relation between two sets is then simply a subset of their Cartesian product: the set of pairs that are related. The relation of being less than, on the natural numbers, is the set of all pairs whose first entry is less than the second. Equivalence relations, which are reflexive, symmetric and transitive, are defined as special relations, and Halmos shows how each one splits its set into disjoint classes, called equivalence classes, and conversely.

A function from one set to another is a relation of a particular kind: for each element of the first set there is exactly one pair in the relation with that element in first place. So a function is, quite literally, its graph. This is a change from the older idea of a function as a rule or formula. Under the set-theoretic definition, two functions with the same graph are the same function, however differently they are described. And many functions have no formula at all.

Families of sets, indexed by some other set, are defined as functions. Inverses, composites, images and inverse images are defined in terms of these. Halmos develops each with care, and proves the basic facts, such as that images preserve unions but not, in general, intersections, while inverse images preserve both. These facts are used constantly in topology and analysis.

An analogy: a builder who discovers that walls, floors, doors and roofs can all be made from the same kind of brick, arranged in different patterns. The patterns are what distinguish them. The bricks are always the same. In mathematics after set theory, the bricks are sets, and the patterns are definitions.

A common confusion is to think this means mathematicians believe a function really is a set of ordered pairs, or a number really is a set. Most do not think in those terms. The point is that such definitions are possible, and that they settle questions of existence and identity exactly. Once the definitions are made, one can work with functions and numbers in the usual way, confident that every claim can, if necessary, be reduced to a claim about sets.

Numbers built from nothing

The fifth key idea is the construction of the natural numbers as sets. Halmos defines zero as the empty set. He defines the successor of any set x as the set whose members are the members of x together with x itself. Then one is the successor of zero, the set containing only the empty set. Two is the successor of one, the set containing zero and one. In general, each natural number is the set of all smaller natural numbers. This construction is due to John von Neumann.

The definition has elegant consequences. The number n has exactly n members. The relation less than between natural numbers coincides with membership: m is less than n exactly when m is a member of n. It also coincides with being a proper subset. So order, size and membership line up.

To collect all natural numbers into a single set, one needs a new axiom. The axiom of infinity says there is a set that contains zero and contains the successor of each of its members. Such a set is called a successor set. The intersection of all successor sets is the smallest one, and this is the set of natural numbers, often called omega.

Halmos then proves that this set satisfies the Peano axioms. Zero is a natural number. Every natural number has a successor that is a natural number. Zero is not the successor of any number. Two numbers with the same successor are equal. And any set of natural numbers that contains zero and contains the successor of each of its members contains all natural numbers. The last of these is the principle of mathematical induction, and in this construction it is almost immediate, because the natural numbers were defined as the smallest set with those closure properties.

The next step is the recursion theorem. It says that one may define a function on the natural numbers by giving its value at zero and a rule for obtaining its value at a successor from its value at the predecessor. This seems obvious, and students often assume it without proof. Halmos proves it, and the proof is a good example of how set theory turns an intuition into a theorem. With recursion in hand, addition, multiplication and exponentiation can be defined, and their laws proved by induction.

An analogy: a staircase built so that each step contains, as part of its structure, all the steps beneath it. The first step is a bare platform. Each new step is the previous step plus a fresh layer on top. The whole staircase is the smallest structure that has a first step and always another step above any step it has.

A common confusion is to think induction is an assumption about numbers that might fail. In this treatment, it is a theorem, and it holds because of how the natural numbers are defined. Another confusion is to take the particular set-theoretic definition of numbers as a claim about what numbers really are. It is better seen as a model: a structure, built from sets, that behaves exactly as the natural numbers must. Dedekind, whose Essays on the Theory of Numbers sits in this bay, had already shown that any two such structures are essentially the same.

Order and its kinds

Between the natural numbers and the axiom of choice, Halmos spends time on order, and it is worth treating as a key idea in its own right. An order is a relation, so it is a set of ordered pairs. What makes it an order is a short list of properties. A partial order is reflexive, so every element is related to itself; antisymmetric, so two different elements are never each below the other; and transitive, so if one element is below a second and the second below a third, the first is below the third. A total order adds the requirement that any two elements are comparable.

The difference between partial and total orders matters more than it first appears. The subsets of a set, ordered by inclusion, form a partial order: the set containing only a and the set containing only b are both below the set containing a and b, but neither is below the other. Divisibility on the positive integers is another partial order: three divides six, and four divides eight, but three and four are not related. Most orders that arise in mathematics outside the number line are partial.

Halmos introduces the vocabulary that goes with orders: least and greatest elements, minimal and maximal elements, upper and lower bounds, least upper bounds and greatest lower bounds, chains and initial segments. Some of these distinctions are fine. A greatest element is above everything. A maximal element merely has nothing above it. In a total order the two coincide. In a partial order they do not: in a family of subsets, there can be many maximal sets, none of which contains all the others. This distinction is exactly the one Zorn's lemma depends on, since the lemma produces a maximal element, not a greatest one.

An analogy: a company's reporting structure, where some people report to others. It is a partial order. Two managers in different departments are not comparable. The chief executive, if there is one, is the greatest element. But in a federation of separate companies with no common head, there are several maximal elements, each the top of its own company, and no greatest one.

Orders also connect back to the earlier sections. The least upper bound property of the real numbers, central to analysis, is a statement about the order on the reals. Well-orderings, which come later, are total orders with an extra condition. And the order on the natural numbers, as constructed by von Neumann, is simply membership. A reader who learns the general vocabulary of order here will find it reused in algebra, topology, analysis and computer science, where partial orders describe dependencies between tasks, versions of documents and states of a computation.

A common confusion is to assume every order must be total, because the most familiar example, the number line, is. Another is to treat maximal and greatest as synonyms. Both confusions lead to wrong proofs, and Halmos's careful separation of the terms is one of the quieter services of the book.

The axiom of choice and its family

The sixth key idea, and the one that occupies the most attention in the second half of the book, is the axiom of choice. It says that for any collection of nonempty sets, there is a function that picks one element from each set. Such a function is called a choice function.

For a finite collection, the axiom is not needed: one can make the choices one at a time. For an infinite collection where a rule is available, such as picking the smallest member of each set of natural numbers, the axiom is also not needed, since the rule defines the function. The axiom is needed when there are infinitely many sets and no rule singles out an element of each. A classic illustration, often attributed to Bertrand Russell, is a collection of infinitely many pairs of shoes and infinitely many pairs of socks. For shoes, one can choose the left shoe from each pair. For socks, which have no left and right, there is no rule, and one needs the axiom to assert that a choice can be made.

The axiom of choice is independent of the other axioms of set theory: it can neither be proved nor disproved from them, provided they are consistent. Gödel showed in the late 1930s that it is consistent with them, and Paul Cohen showed in 1963 that its negation is too. Halmos's book appeared just before Cohen's result, and it treats choice simply as an axiom to be accepted and used. That is how nearly all working mathematicians treat it.

Halmos then proves Zorn's lemma from the axiom of choice. Zorn's lemma says that if every chain in a partially ordered set has an upper bound, then the set has a maximal element. A partially ordered set is a set with an ordering in which not every pair need be comparable. A chain is a subset in which every pair is comparable. A maximal element is one with nothing strictly above it. The proof is the hardest in the book, and it rewards close study. It builds, in effect, a tower of chains, each extending the last, and shows that the process must end at a maximal chain, whose upper bound is the maximal element.

Zorn's lemma is the form of choice most used in practice. It proves that every vector space has a basis, that every ring with identity has a maximal ideal, that every field has an algebraic closure, and many other existence theorems in algebra, topology and analysis. Its typical use is this: one wants an object that is as large as possible in some respect; one shows that any increasing chain of partial attempts has an upper bound; Zorn's lemma then delivers a maximal attempt, and one shows it must be the object wanted.

The well-ordering theorem, which says that every set can be well ordered, is another equivalent of choice, and Halmos proves it from Zorn's lemma. Together, the axiom of choice, Zorn's lemma and the well-ordering theorem form a family: each can be derived from any other, given the remaining axioms.

An analogy for Zorn's lemma: a mountaineer climbing in a region where every ridge, however long, leads up to some point at least as high as all of it. The lemma says there is then a summit, a point from which nothing higher can be reached. The axiom of choice is what lets the climber keep choosing a next step when there is no rule for which way to go.

A common confusion is to think the axiom of choice is controversial in working mathematics. Early in the twentieth century it was, because it asserts the existence of objects that cannot be explicitly described. It also has surprising consequences, such as the Banach-Tarski paradox, which shows that a solid ball can be cut into finitely many pieces and reassembled into two balls of the same size. But the pieces are so irregular that they have no volume, and the result is a theorem about such sets, not a contradiction. Today almost all mathematicians use choice freely, and note its use only in special contexts.

Well-ordering and transfinite processes

The seventh key idea is that induction and recursion extend beyond the natural numbers to any well-ordered set. A set is well ordered if it is totally ordered, so that any two elements are comparable, and every nonempty subset has a least element. The natural numbers in their usual order are well ordered. The integers are not, since the set of negative integers has no least element. The positive rational numbers in their usual order are not either.

The key property of a well-ordered set is that there are no infinite descending sequences in it. This is what makes induction work. In ordinary induction, if a statement fails for some number, there is a smallest number for which it fails, and one derives a contradiction by looking at that number's predecessor. In a well-ordered set, the same argument works, except that some elements have no immediate predecessor. Transfinite induction handles these by requiring that if the statement holds for all elements below a given one, it holds for that one.

An analogy: a queue in which everyone is told to step forward only if everyone in front of them has already stepped forward. In an ordinary queue, this works one person at a time. In a well-ordered queue, there may be infinitely many people in front of someone, yet the rule still guarantees that everyone eventually steps forward, because at any moment there is a first person who has not yet done so, and that person is ready to go.

Transfinite recursion is the matching method of definition. It says that one may define a function on a well-ordered set by specifying its value at each element in terms of its values at all smaller elements. Halmos proves this, and it underlies the construction of ordinals.

Halmos also proves a comparison theorem: given any two well-ordered sets, one of them is order-isomorphic to the other or to an initial segment of it. In other words, well-ordered sets can always be compared in length. This is what makes ordinal numbers possible.

A common confusion is to think well-ordering means ordering in a natural or useful way. The well-ordering theorem says that every set, including the real numbers, can be well ordered, but nobody can describe such an ordering of the reals explicitly. The theorem asserts existence, based on choice, not construction.

Ordinal numbers

The eighth key idea is the ordinal number, the measure of the length of a well-ordered set. Halmos defines ordinals by extending von Neumann's construction of the natural numbers. An ordinal is a well-ordered set in which each element equals the set of all elements that come before it. The natural numbers are ordinals. So is the set of all natural numbers, omega. So is the successor of omega, which is omega together with omega itself as a final element. The sequence goes on: omega plus two, omega plus three, then omega plus omega, and far beyond.

To prove that every well-ordered set has the same length as some ordinal, Halmos needs a new axiom, the axiom of substitution. It says, roughly, that if one replaces each member of a set by some other object according to a rule, the result is again a set. This is a powerful axiom. Without it, one cannot even prove that the set containing omega, the power set of omega, the power set of that, and so on, exists. Halmos introduces it late, precisely where it is needed, which is typical of the book's economy.

Ordinal arithmetic is then defined by transfinite recursion. Addition of ordinals corresponds to placing one well-ordered set after another. Multiplication corresponds to replacing each element of one by a copy of the other. These operations are not commutative. One plus omega equals omega, because putting one element in front of an infinite sequence produces a sequence of the same length. But omega plus one is larger than omega, because adding an element at the end produces a new final element that was not there before.

An analogy: a long corridor of rooms, each numbered. Adding a room at the start, if the corridor is endless, does not change its shape: you simply renumber. Adding a room at the far end of an endless corridor, past all the others, creates something genuinely new, a room that has infinitely many rooms before it.

Ordinals have uses beyond set theory. They measure the strength of formal systems in proof theory, they index the stages of constructions in topology and analysis, and they are needed to define cardinal numbers properly. The book's treatment is brief, but it is enough to make the reader comfortable with transfinite reasoning.

A common confusion is between ordinals and cardinals. Ordinals measure length of a well-ordered arrangement. Cardinals measure size, ignoring arrangement. For finite sets, the two coincide. For infinite sets, they come apart. Omega and omega plus one are different ordinals but have the same cardinality, since there is a one-to-one correspondence between them that ignores order.

Comparing infinities

The ninth key idea is that infinite sets can be compared in size, and that some are strictly larger than others. Two sets have the same size, or are equivalent, if there is a one-to-one correspondence between them. One set is at most as large as another if it can be put in one-to-one correspondence with a subset of the other.

The first major result is the Schröder-Bernstein theorem. It says that if A is at most as large as B, and B is at most as large as A, then A and B are the same size. This sounds obvious, and for finite sets it is. For infinite sets it requires a careful proof, since the two one-to-one maps may not fit together into a correspondence. Halmos gives a proof that does not need the axiom of choice. It is one of the most elegant arguments in the book, and well worth working through.

The next topic is countable sets, those that are finite or the same size as the natural numbers. Halmos proves that subsets of countable sets are countable, that the Cartesian product of two countable sets is countable, and that a countable union of countable sets is countable, the last using choice. The integers and the rationals are countable. These facts are used throughout analysis.

Then comes Cantor's theorem: every set is strictly smaller than its power set. The proof is a diagonal argument. Suppose there were a one-to-one correspondence between a set and its power set. Consider the set of elements that are not members of the subsets they correspond to. That set is itself a subset, so it corresponds to some element. Is that element in it? Either answer gives a contradiction. So no such correspondence exists. The structure of this proof is the same as that of Russell's paradox, and the same as the diagonal arguments used by Cantor for the real numbers and by Gödel and Turing in logic and computation.

Cantor's theorem means there is no largest infinity. Starting from the natural numbers, one gets the power set of the natural numbers, which is the same size as the real numbers, then the power set of that, and so on without end.

Finally Halmos defines cardinal numbers. With the axiom of choice, every set can be well ordered, so every set is the same size as some ordinal. The cardinal number of a set is defined as the smallest such ordinal. He then develops cardinal arithmetic: sums, products and powers of cardinals, and proves basic facts, including that the cardinal of the reals is two to the power of the cardinal of the natural numbers.

An analogy for one-to-one correspondence: two groups of people in a hall can be compared in size without counting either, by asking each person in one group to take the hand of exactly one person in the other. If everyone is paired with nobody left over, the groups are the same size. For infinite groups, this is the only way to compare, since counting never ends. The surprises of infinity come from the fact that an infinite group can be paired with a part of itself, as the natural numbers can be paired with the even numbers.

A common confusion is to think that a proper subset of a set must be smaller. For finite sets it is. For infinite sets it need not be, and this is in fact one way to define infinity, an idea that goes back to Dedekind. Another confusion is to think all infinite sets have the same size. Cantor's theorem shows they do not.

What naive means, and why it is enough

The tenth key idea is about the book's method. Halmos chose to present an axiomatic theory without formal logic. This choice deserves understanding, because it reflects a view about what mathematicians need.

A fully formal set theory is written in a precise symbolic language, with exact rules for what counts as a formula and what counts as a proof. Such a theory can be studied as a mathematical object: one can ask whether it is consistent, whether certain statements are independent of it, what its models look like. Those questions require formal logic. They belong to the specialist in set theory or logic.

The working mathematician does not usually ask those questions. They need to know which sets exist, how to form new ones, and how to prove things about them. For this, the axioms stated in ordinary language and used with ordinary mathematical reasoning are enough. Every proof in the book could, in principle, be translated into a formal proof. But the translation would add nothing to the reader's understanding of the mathematics.

An analogy: a carpenter needs to know how to use a saw, how sharp it is, and what it can and cannot cut. A metallurgist studies the steel of the blade. Both kinds of knowledge are real, but the carpenter does not need the metallurgist's. Halmos writes for carpenters, while being careful never to say anything a metallurgist would object to.

The axioms Halmos uses are essentially those of Zermelo-Fraenkel set theory with the axiom of choice, usually called ZFC: extension, specification, pairing, unions, powers, infinity, choice and substitution. The axiom of foundation, which forbids sets from containing themselves or from forming infinite descending chains of membership, does not play a real part in the book. Its absence makes no difference to the mathematics the book covers.

A common confusion is to think that a naive treatment is a loose or careless one. Halmos's treatment is exact. It is informal only in its language. The book is a demonstration that rigour does not require symbolism, and that clear prose can carry exact mathematics.

The tradition around it

Set theory was created by Georg Cantor in the last quarter of the nineteenth century. His work on infinite sets, ordinals and cardinals, collected in English in Contributions to the Founding of the Theory of Transfinite Numbers in this bay, introduced most of the ideas in the second half of Halmos's book. Richard Dedekind, whose Essays on the Theory of Numbers is also here, constructed the real numbers from the rationals and gave a set-theoretic characterisation of the natural numbers, anticipating much of the first half.

The paradoxes discovered around 1900, especially Russell's, showed that Cantor's informal approach needed restriction. Ernst Zermelo in 1908 published the first axiomatisation of set theory, including the axiom of separation, which is Halmos's specification, and the axiom of choice, which Zermelo had used in 1904 to prove the well-ordering theorem. Abraham Fraenkel and Thoralf Skolem in the early 1920s added the axiom of replacement, Halmos's substitution. John von Neumann gave the modern definition of ordinals. Max Zorn stated his lemma in 1935, though similar principles had been found earlier by others, including Kuratowski.

Later developments went beyond what Halmos covers. Gödel in the late 1930s showed that the axiom of choice and the continuum hypothesis are consistent with the other axioms. Cohen in 1963 showed that their negations are also consistent, using a new method called forcing. Since then, set theory has become a large specialised field, studying large cardinals, determinacy and the structure of the real line.

In this bay, several books connect directly. Rudin's Principles of Mathematical Analysis uses the language Halmos builds on almost every page, and its chapter on countable and uncountable sets is an application of Halmos's last sections. Nagel and Newman's Gödel's Proof explains the logical limits of formal systems, including set theory itself. Hilbert's The Foundations of Geometry shows the axiomatic method at work in geometry. Spivak's Calculus constructs the real numbers in a way that complements Halmos's construction of the natural numbers. Kline's Mathematics: The Loss of Certainty tells the story of the paradoxes and the attempts to resolve them. Davis and Hersh's The Mathematical Experience discusses the philosophical questions that set theory raises.

Among textbooks, books such as Herbert Enderton's Elements of Set Theory and Patrick Suppes's Axiomatic Set Theory cover similar material with more formal detail. Kenneth Kunen's Set Theory is the standard next step for those who want to study independence and forcing.

Questions and criticisms

The book has few serious critics, but it has limitations that readers should know. The first is its brevity. Some arguments, especially in the later sections on ordinals and cardinals, are compressed, and some details are left to the reader. A student working alone may need to fill gaps with care.

The second limitation is the absence of formal logic. Halmos states that his treatment could be formalised, but he never shows how. Readers who later study logic may find that some subtleties, such as exactly what counts as a property in the axiom of specification, are clearer in a formal treatment. The book is not wrong on these points, but it is not explicit.

The third limitation is the lack of exercises in the usual sense. The book contains small exercises embedded in the text, but no long problem sets. Readers who learn by solving many problems will want to supplement it with another text.

The fourth concerns what has aged. The book appeared just before Cohen's independence results, and it says nothing about them. It treats the continuum hypothesis and the axiom of choice as open or as accepted, without the modern understanding of independence. It also does not include the axiom of foundation, which is now standard in presentations of set theory, though its absence matters little for the book's purposes. Some notation is a little old-fashioned.

Some readers find the conversational tone distracting. Halmos often speaks directly to the reader, makes small jokes, and offers opinions about what is interesting or dull. Most readers find this a strength. A few prefer a more impersonal style.

What has held up? Almost everything. The choice of topics remains exactly what a working mathematician needs. The explanations remain among the clearest available. The proof of Zorn's lemma and the treatment of the Schröder-Bernstein theorem remain standard. And the book's demonstration that rigour and readability can coexist remains an example for every writer of mathematics.

One last point. Some teachers argue that students should meet set theory through a fully formal text from the start, so that they never form loose habits. Others argue that the formal route delays understanding and that Halmos's way is the right first step. Experience suggests that most readers do best with Halmos first and a formal text second, if they need one at all. The ideas are the same in both. Only the packaging changes.

Why it is on this shelf

This shelf gathers books on Vedanta, Jyotish, science, economics and technology. Naive Set Theory is here because sets, functions and orders are the shared language in which all modern formal reasoning is written. A reader who wants to understand any of the technical books on this shelf, from analysis to economics to computing, will meet that language on every page, and this is the clearest place to learn it.

For the reader of technology, set theory underlies the theory of data types, databases, relations and functions in programming. A relational database is, in a precise sense, a collection of relations as Halmos defines them. Recursion, which the book justifies carefully, is a central technique in computing.

For the reader of economics, preference orderings, choice functions and the existence of equilibria are all stated in set-theoretic terms. Zorn's lemma and related principles appear in the foundations of general equilibrium theory and social choice.

For the reader of Vedanta, the book's treatment of the infinite is worth attention. Classical Indian thought speaks often of purna, fullness, and of an infinite from which the infinite can be taken while the infinite remains. Cantor's theory gives that kind of statement a precise mathematical counterpart: an infinite set can be put in one-to-one correspondence with a part of itself. We do not claim the two are the same idea. They come from different traditions and serve different purposes. But reading Halmos alongside such texts teaches care about what infinity can mean, and about which statements about it are exact and which are poetic.

For the reader of Jyotish, which works with cycles, orderings and correspondences, the book's ideas of relation, function and order give a clean vocabulary for describing what such a system does, independent of any claim about what it means.

How to read it

The book is meant to be read straight through, one section at a time. A good pace is one or two sections a day, which finishes the book in two to four weeks. Do not try to read it faster. The sections are short, but each contains ideas that need time to settle.

  • Sections on extension, specification, pairing, unions and complements: read these carefully, even if the material seems familiar. Prove every small identity yourself by double inclusion before reading Halmos's version.
  • Sections on ordered pairs, relations and functions: these are the most important for general use. Make sure you can explain why a function is a set of ordered pairs and how equivalence relations correspond to partitions.
  • Sections on numbers, the Peano axioms and arithmetic: work through the proof of the recursion theorem with a pencil. It is the template for transfinite recursion later.
  • Sections on the axiom of choice, Zorn's lemma and well-ordering: give these extra time. Read the proof of Zorn's lemma slowly, perhaps twice, and draw diagrams of chains and towers. Then find three applications of Zorn's lemma in other books and see how each uses it.
  • Sections on transfinite recursion and ordinals: if these feel abstract on a first pass, read them for the main ideas and return later.
  • Sections on Schröder-Bernstein, countable sets and cardinals: work through the Schröder-Bernstein proof in full. Try to prove Cantor's theorem yourself before reading it.

Do every small exercise in the text as you meet it. They are short, and they test whether you have really understood. Keep a notebook of definitions in your own words. When a definition seems arbitrary, ask what would go wrong if it were changed.

What to skip on a first pass: very little. If the sections on ordinal arithmetic are heavy going, skim them and come back. Everything else is needed.

What to read next from this shelf: Cantor's Contributions and Dedekind's Essays, for the original sources of these ideas; Rudin's Principles of Mathematical Analysis, where the language is put to work; Gödel's Proof, for the limits of formal systems; and Kline's Mathematics: The Loss of Certainty, for the history of the foundations debate.

Questions to carry

  • Why does the axiom of specification only allow subsets of an existing set, and what goes wrong without that restriction?
  • How does Halmos turn Russell's paradox into a proof that no set contains everything?
  • What is the difference between membership and inclusion, and can you give an example where one holds without the other?
  • Why is it useful to define a function as a set of ordered pairs rather than as a rule?
  • What single property must any definition of the ordered pair satisfy?
  • How does the von Neumann construction make order, membership and size line up for natural numbers?
  • Why is induction a theorem rather than an assumption in Halmos's treatment?
  • When is the axiom of choice actually needed, and when can a choice be made by a rule?
  • Can you explain the typical pattern of a proof using Zorn's lemma, with one example from algebra?
  • What is the difference between an ordinal and a cardinal, and why do they agree for finite sets?
  • Why is one plus omega equal to omega, while omega plus one is not?
  • Why does the Schröder-Bernstein theorem need proof, if it seems obvious?
  • How is the diagonal argument in Cantor's theorem related to Russell's paradox and to Gödel's theorem?
  • In what sense is this naive set theory, and in what sense is it not?

Words to know

  • Set: a collection determined entirely by its members.
  • Membership: the relation between an object and a set that contains it.
  • Subset: a set all of whose members belong to another set.
  • Axiom of extension: two sets are equal exactly when they have the same members.
  • Axiom of specification: from any set, the members with a given property form a set.
  • Empty set: the unique set with no members.
  • Power set: the set of all subsets of a given set.
  • Ordered pair: a set-theoretic construction in which the order of two entries matters.
  • Cartesian product: the set of all ordered pairs drawn from two given sets.
  • Relation: a set of ordered pairs.
  • Equivalence relation: a relation that is reflexive, symmetric and transitive, and so splits a set into classes.
  • Function: a relation in which each element of the domain is paired with exactly one element.
  • Successor: the set formed by adding a set to its own members, used to build the natural numbers.
  • Axiom of infinity: there is a set containing zero and the successor of each of its members.
  • Peano axioms: a short list of properties that characterise the natural numbers, including induction.
  • Recursion theorem: a function on the natural numbers can be defined by its starting value and a rule for each next value.
  • Axiom of choice: for any collection of nonempty sets there is a function choosing one element from each.
  • Partially ordered set: a set with an ordering in which some pairs may be incomparable.
  • Zorn's lemma: if every chain in a partially ordered set has an upper bound, the set has a maximal element.
  • Well-ordering: a total order in which every nonempty subset has a least element.
  • Transfinite induction: induction extended to any well-ordered set.
  • Axiom of substitution: replacing each member of a set by another object according to a rule yields a set; also called replacement.
  • Ordinal number: a well-ordered set in which each element is the set of all earlier elements; it measures length of well-ordering.
  • Cardinal number: a measure of the size of a set, defined as the smallest ordinal of that size.
  • Countable set: a set that is finite or the same size as the natural numbers.

A note on this edition

This is a study edition written for the shelf of durgaberagi.com in our own words. It explains what Paul Halmos's Naive Set Theory sets out to do, how it is organised, what its key ideas mean, and how to read it well. It does not reproduce the book's text, proofs or exercises, and the examples and analogies here are our own.

The book itself is in copyright. It is short, inexpensive and easy to find in libraries and bookshops. It is worth owning and reading in full, with a pencil, one section at a time. This companion is meant to help that reading, not to replace it.

More from “Mathematics”

The whole section →