Jump to content

User:Randall Holmes/Sandbox/semi-formal naive set theory

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Randall Holmes (talk | contribs) at 17:12, 31 January 2006 (Properties and universes). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Here we present a modest proposal for semi-formal naive set theory. This is set theory adequate for all practical purposes outside of set theory itself with no fear of nasty paradoxes sneaking in.

membership and equality

Some things in the mathematical universe are sets. Some things in your favorite universe may not be sets.

We use the notation to say that the object x is an element or member of the set S. We may also say that x belongs to S, or, very briefly x is in S. We will try not to say that x is contained in S because that invites confusion. We are tempted by the nonstandard idiom S owns x, which goes well with the use of "belongs" and avoids the common "S contains x", which is deceptive.

If every element of a set S is also an element of a set T, we say that S is a subset of T, written . We may also say that S is contained in T or that T contains S.

Sets can be given using finite lists. For example is a set whose elements are 1,2,3. Its subsets are (among others) , , itself, and even the infamous or , the empty set. is the same set as , or even (these are lists in which order of elements or repetition of elements has no meaning).

Two sets are equal iff they have the same elements. This does not mean that non-sets (which have no elements, of course) are all identical to the empty set. But it does mean (among other things) that there is only one empty set.

Please notice that if there is a relation of part to whole among sets, it is not the membership relation. If A is part of B and B is part of C, then A is part of C. Notice, though, that , but . has two elements, 2 and 3, while has just one element, . So we see that x is not always the same as the set whose only element is x (if indeed this is ever true!), though we have a tendency to talk this way when talking about points in geometry. On the other hand the subset relation does have the property that if and hold, then follows: the subset relation is formally suitable (and metaphorically suitable) to be the relation of part to whole on sets.

The universe

We start by introducing a major player, the universe of discourse, informally known as U.

  • U is a set.
  • Every finite set of elements of U is also an element of U.
  • Every element of U which is a set has every element and every subset also in U. (Notice that this does not mean that all subsets of U belong to U; we can show that this is not true).
  • For each element A of U, the set of all finite subsets of A belongs to U.

The idea is that U contains all the material we start out wanting to talk about. If a set is part of our universe of discourse, we may reasonably expect all of its elements and all of its subsets to also be in our universe of discourse, and it is convenient to be able to make finite (unordered) lists of things in our universe of discourse and still be in our universe of discourse.

We need to be more explicit about how we arrange for all finite sets to be in U: we stipulate that is in U, that the set is in U for each x in U, and that for each pair of sets A and B, their boolean union , defined as the set of all x such that either or belongs to U as well. This is more than enough to ensure that any = belongs to U if all its elements belong to U.

Our reasons for including "the set of all finite subsets of A" for A in U may be allowed to remain mysterious for the moment. We must, though, say what we mean. An element of U is said to be finite if it belongs to each subset of U which contains the empty set, contains all singletons, and is closed under boolean unions (U itself is stipulated to be such a subset): finiteness for elements of U is sufficient to make it clear what is meant by finite in each of the conditions above.

Numerals

We can use the properties of U cited above to show that there is a sequence of objects usable as numerals in U: define 0 as , 1 as , 2 as , and so forth. Each natural number n is thus defined as the finite set .

Properties and universes

We might naively suppose that any property determines a set whose elements are all the x for which the sentence Q(x) (x has the property Q) is true. This we do not suppose here.

We do suppose that for any property Q, there is a set of all x which have the property Q and belong to our universe U. We suppose further that there is a set U2 which has all subsets of U as elements. Moreover, we allow this process to be repeated: we suppose that there is a set U3 which has all subsets of U2 as elements , and that every property Q determines a set which belongs to U3, and further that Un+1 exists for each natural number n, having among its elements all the subsets of Un, and having elements for each property Q. We suppose (but do not restrict ourself to supposing) that any open sentence R(x) in mathematical language (including the language of our set theory) expresses a property of x.

We usually suppose that every set A belongs to Un for some n (depending on A).

We have not defined U2 as the power set P(U) of U (we can define P(U) as the set of all elements of U_2 which are subsets of U): we have left open the possibility that there are more elements of U2. In fact, we stipulate that each Un has the same closure properties as U: each finite subset of Un belongs to Un, each element or subset of an element of Un belongs to Un, and for any A in Un, the set of all finite subsets of A also belongs to U_n.

Some facts about subsets

For any set , and property Q, we can define as . All elements of A are in U, so this has the intended members, and it belongs to by the discussion above. But it is also a subset of A, and any subset of an element of U belongs to U, so we actually have for any set A belonging to U and any property Q.

Subsets of elements of U are elements of U, but subsets of U itself are not so reliable.

Consider . This set might or might not contain all of U (nothing we have said prevents some sets from being elements of themselves, though it is hard to see how to show that there is (or is not) such a set). One thing that is certain is that it is not an element of U (though it is an element of P(U)). R is an element of R iff R is an element of U and R is not an element of R. If "R is an element of U" were true, this would simplify to the impossible "R is an element of R iff R is not an element of R". We can use the same technique to build sets in each Pn+1(U) which are not in Pn(U). This is the positive content of Russell's paradox for our semi-formal theory.

Notice that U itself cannot belong to U, because it has a subset R which does not belong to U.

The set of natural numbers

For any set x, define as . Notice that for each natural number n as we have defined them individually above, n+1 = n+, and also that for any set x in U, is also in U.

We call a subset I of U just in case is in I and for each x in I, we also have in I.

Notice that U itself is inductive, and that each inductive set contains 0 (as we have defined it) and contains n+1 if it contains n. We define the set N of all natural numbers as the set of all elements of U which belong to every inductive set.

The form of this definition enforces the principle of mathematical induction, and with some cunning enables the definition of relations and operations of arithmetic as well.

It would be entirely natural to stipulate that N, which clearly belongs to P(U), belongs to U as well, and to make similar decisions as further kinds of numbers and basic sets of numbers are constructed.

Ordered pairs, cartesian products, and relations

The ordered pair (a,b) is defined as The crucial point about this (and any) definition of an ordered pair is that (a,b)=(c,d) implies both a=c and b=d.

Notice that for any a and b in U, we have (a,b) in U as well.

This means that for any relation (two place predicate) R(x,y) we will find the set in P(U), which will code the restriction of the relation R to U. Similar constructions work higher up in the hierarchy.

For any sets A and B, we define the cartesian product as . Any relation with domain a subset of A and range a subset of B is coded by a subset of . Though it is a bit late in the game to fiddle with our basic rules, we notice that it would be very nice if U were closed under cartesian products, as then relations between sets from U would be in U for the same reason that subsets of sets belonging to U are in U.

As it turns out, this has already been arranged. Certainly a one- or two-element set is finite. The cartesian product of A and B inhabits the set of all finite subsets of the set of all finite subsets of , which inhabits U if A and B do.