Introduction to Sets

Type:


Math

Repository Link:


https://git.sr.ht/~skylermarks/notes

Now we’ll discuss the backbone of all modern math, set theory. Math can be thought of as, in it’s most basic form, the study of collections; a series of advanced ways of counting. A set is effectively a well-define collection of objects; however, it is actually quite difficult to specify what “well-defined” means. There was a time when a set was taken to be any collection of objects which could be described; however, this leads to paradoxes. For example, let SS denote the collection of all collections which do not contain themselves. Is SS in SS? If it is, then SS contains itself, and so SS cannot be an element of SS, a contradiction. But if it is not, then SS does not contain SS, so SS must be in SS, another contradiction. The only possibility is that “membership”, the relation that specifies if SS is in the collection SS, is not well defined, and so the collection is not well-defined.

The schema where any collection of objects is a set is called “naive set theory”, and has some pretty clear paradoxes. To remedy this, a plethora of set theories were invented; these take the form of a set of axioms or definitions (depending on how you like to look at things) which outline how sets behave. Zermello-Fraenkel Choice (ZFC) set theory is what one might call the “industry standard” set theory, the one most mathemeticians use. The first two words (Zermello-Fraenkel) refer to the two mathemeticians who first defined it, while the “Choice” part refers to a particularly interesting axiom which ZFC includes (called the axiom of choice).

We’ll be studying the properties of ZFC specifically for the next two or three lessons, although all of math can be thought of as consequences of ZFC. Today, we’ll introduce the axioms of Zermelo set theory. Next lesson we’ll play with those axioms and see what constructions we can create from them. Finally, two lessons from now, we’ll discuss two additional axioms to make Zermelo set theory into ZFC.

Language of ZFC

In set theory, the objects we deal with are called sets. In addition to the logical connectives ¬,,,    ,    \lnot, \land, \lor, \implies, \iff and the quantifiers ,\exists, \forall, we specify an equality symbol == and a membership symbol \in. Two sets xx and yy are said to be equal whenever xx can be replaced by yy in any logical statement without changing it’s truth value; in this case we say x=yx=y. If xyx\in y, we say that xx is a member of yy, or xx lies in yy. The meaning of this statement is dictated by the axioms of ZFC. For more information, see Wikipedia: Zermello-Fraenkel Set Theory - Formal Language. We will define in the axioms the intersection \cap and union \cup of two sets.

Notational Remark

For this article, I use lowercase letters to represent sets. In math, almost everything is a set, but it’s useful to view some sets as numbers, some sets as functions, some sets as relations, etc. When we do this, we’ll often keep track of what things we want to deal with as sets and what things we want to deal with otherwise by writing the sets as uppercase letters and the elements with lowercase letters. We’ll start doing this next week and remind you then.

Axioms of Zermelo Set Theory

We’ll begin by discussing Zermelo’s set theory, then add on axioms which Fraenkel included, and finally discuss the axiom of choice. These axioms are somewhat redundant; in reality, only nine are necessary. I’ve endeavored to put the ones I find most useful or use the most often first; the ones at the end are technical specifications to avoid paradoxes, which I almost never use. For more information, see here. Zermelo set theory includes, in addition to the axioms listed here, an axiom known as the axiom of choice, which we’ll discuss later. I’m drawing some of my descriptions of the axioms from the relevent descriptions here.

  1. Empty Set. There is a set \emptyset, called the empty set, which contains no element. Formally, we say

     s.t. x,¬(x).\exists \emptyset \text{ s.t. } \forall x, \lnot(x\in \emptyset) .
  2. Extensionality. Two sets are equal if and only if they contain the same elements. This means whenever sets xx and yy include the same element, we can replace xx for yy in any logical statement and obtain the same truth-value. This can be written formally as

    x,y(z,(zx    zy)    x=y).\forall x, \forall y ( \forall z, (z\in x \iff z\in y) \implies x=y).

    Note that this implies the empty set is unique, i.e. if a set yy has x,¬(xy)\forall x, \lnot (x\in y), then y=y=\emptyset. (Show this to be true!).

  3. Schema of Restricted Comprehension. Let xx be a set. For any predicate ϕ\phi, the collection of all yxy\in x such that ϕ(y)\phi(y) holds is a set. This is technically speaking an axiom for every predicate ϕ\phi, but we’ll generally ignore that logical technicality. (That is, however, the reason for the name “schema”). We write this set using “set builder notation” as

    {yxϕ(y)}, or {yx s.t. ϕ(y)}, or {yx:ϕ(y)},\{y\in x | \phi(y)\}, \text{ or }\{y\in x \text{ s.t. } \phi(y)\}, \text{ or }\{y\in x : \phi(y)\},

    and this is read “the set of all yy in xx such that ϕ(y)\phi(y) (holds)”. A special case of this is the intersection. For sets xx and yy we define the intersection xyx\cap y to be

    xy:={zxzy},x\cap y:= \{z\in x | z\in y\},

    i.e. the set of all zz in xx such that zz is (also) in yy.

  4. Pairing. If xx and yy are sets, then there is a set zz which contains xx and yy as elements. Formally, we say

    x,y,z s.t. ((xz)(yz)).\forall x, \forall y, \exists z \text{ s.t. } ((x\in z)\land (y\in z)).
  5. Power Set. If xx is a set, we say yy is a subset of xx (or yxy\subseteq x, or yxy\subset x) if every element of yy is an element of xx. Formally,

    z(zy    zx).\forall z( z\in y\implies z\in x).

    The axiom of power set states that for each set xx there is a set P(x)\mc P(x) such that if yxy\sub x, then yP(x)y\in P(x). Formally,

    x,P(x) s.t. (y(yx    yP(x))).\forall x, \exists \mc P(x) \text{ s.t. } (\forall y (y\sub x \implies y\in \mc P(x))).
  6. Union. If xx is a set, there is a set yxy\bigcup_{y\in x}y which contains zz for each zyz\in y and for each yxy\in x. We can write this as

    x,y,z,w, s.t. (((zx)(zy))    zw.\forall x, \forall y, \forall z, \exists w, \text{ s.t. } (((z\in x)\lor (z\in y))\implies z\in w.

    If yy and zz are sets, we apply this axiom to {y,z}\{y, z\} (which is a set by the axiom of pairing) and denote the result yzy\cup z.

  7. Infinity. Let xx be a set. We know that {x}\{x\} is a set by the axiom of pairing; then the set {x,{x}}\{x, \{x\}\} exists by the axiom of pairing as well. Define S(x)S(x) to be

    S(x):=y{x,{x}}y=x{x}S(x):= \bigcup_{y\in \{x, \{x\}\}}y = x\cup \{x\}

    there is a set XX containing both the empty set \emptyset and the set S(x)S(x) for each set xXx\in X. (This axiom effectively asserts the existence of the natural numbers, as we’ll see next week).

  8. Regularity. Every non-empty set xx contains a member yy such that xy=x\cap y = \emptyset. If xy=x\cap y = \emptyset we say that xx and yy are disjoint. We can write this logically as

    x(¬(x=)    y s.t. (yx(yx=)))\forall x(\lnot(x= \emptyset)\implies \exists y \text{ s.t. }(y\in x\land (y\cap x = \emptyset)))

    This exists to ensure that paradoxes don’t occur. In particular, no set can be an element of itself; if there was a set xx such that xxx\in x,

A Note on Proofs