In material set theory, there is an intuitive conception of what a set is, which may be stated informally as follows: a set is a collection of sets. Actually, it is possible to have urelements in a material set theory (such as ZFA), although the most common axiom systems do not allow this; in any case we can say that a pure set is a collection of pure sets.
The primary motivation for structural set theory is that this conception of a set is not needed in ordinary mathematics; it is sufficient to characterise the category of sets (although a structural set theory can also be described in ways other than category-theoretic). However, material set theory is itself part of mathematics, and we may want to describe the material notion of a pure set in structural terms.
There is also a very practical point to this exercise: the translation between material and structural set theories. Any model of a material set theory is already a model of a corresponding structural set theory, but we go through the yoga below to construct a model of a material set theory out of a model of a structural set theory. In particular, we must do this to prove that two set theories (one material and one structural) are equiconsistent.
See also at material-structural adjunction.
Taking a structural notion of set as granted, we wish to define a pure set to be a set of pure sets. On the face of it, this is a circular definition, but like many such definitions, it can be made precise in (at least) two ways: recursively and corecursively.
The ‘recursive’ meaning is that all pure sets must be constructed, starting from nothing, as sets of other previously constructed pure sets. This results in the well-founded pure sets. Thus, at first, the only well-founded set possible is the empty set , the set of no pure sets. Once you have that, you can form , then and , and so on. In this way we can obtain at least all hereditarily finite sets; if we use an axiom of infinity as well, we can jump to the countably infinite set of all hereditarily finite sets and continue from there.
The ‘corecursive’ meaning is that any pure set can be deconstructed into a set of other pure sets, and every possible such deconstruction defines a unique pure set. In this way we obtain not just well-founded pure sets but also ill-founded pure sets. (The inclusion of well-founded sets among the ill-founded sets is an example of the red herring principle.) Possible examples of non-well-founded sets include a set such that (a suggestive model for the point), or sets and such that and .
If the foundation is ‘material’ or ‘membership-based,’ such as ZFC, then the elements of a set can, in fact, be other sets. Therefore, in this case we are defining (either recursively or corecursively) an adjective “pure” that can be applied to the noun “set:” a set is pure if at no point in its construction or deconstruction into elements do we encounter anything that is not a pure set.
In the most common material set theories, such as ZFC, all sets are pure, since the only ‘things’ the theory deals with (hence the only things that can be elements of sets) are sets. However, there are easy modifications of these theories that allow ‘atoms’ or urelements that are not sets, and in this case the pure sets will be those that ‘hereditarily’ contain no atoms. Many common material set theories (starting with von Neumann 1925, Zermelo 1930) also include an axiom of foundation asserting that all (pure) sets are well-founded; the dual axiom of anti-foundation (due to Aczel) allows and ‘tames’ the ill-founded sets.
If the foundation is ‘structural’ or ‘categorial’, such as ETCS or SEAR, then the elements of a set cannot be other sets. Thus, in this case we are defining a single noun “pure set,” with no a priori relation to the structural notion of “set” that occurs in the foundational theory. A pure set, according to this definition, is a set equipped with structure assigning to each of its elements another pure set (interpreted either recursively or corecursively).
From this point of view, the definition of pure set provides a construction of a model of material set theory within a model of structural set theory: a global relation of can be defined between pure sets which will satisfy the axioms of some material set theory. (Of course, the sets in a model of material set theory always model a structural set theory, so this is the ‘difficult’ direction of the equivalence between the two types of set theory.) Whether we use the recursive or corecursive definition determines whether the resulting material set theory will satisfy the axiom of foundation or the axiom of anti-foundation. Note that using these two choices, the composite operation “material structural material” reduces to the standard proofs of the relative consistency of the axioms of foundation and anti-foundation, since the passage from material to structural requires neither one.
In material set theory without urelements, every set is a pure set. If there are urelements, so that not all sets are pure, then it is easy to define the class of pure sets as follows:
A set is pure if given any sequence , all of the are sets.
Whether this produces the well-founded pure sets or the ill-founded ones depends on whether the axiom of foundation is satisfied in the ambient set theory.
One way to state the basic theoretical idea is that the class of well-founded sets is the initial algebra of the covariant power set functor, while the class of ill-founded sets is the terminal coalgebra of the same functor. Of course, neither of these algebras exists as a set, since this would violate Cantor's theorem, but we can still describe what their elements would be like. We can also define these algebras as discrete large categories, or as proper classes in a structural set-class theory such as algebraic set theory.
The discussion which follows is phrased informally, like most mathematics. However, it is purely structural and can be interpreted in any structural set theory. For instance, the definition below of a “graph” as a set with a binary relation should be formalized as a set together with an injection .
To describe a pure set, we must give all the elements of that set, each of which is a pure set and thus must have its own elements, which are also pure sets, and so on. A convenient way to “picture” a pure set is with a graph.
For the purposes of this page, a graph will mean a set of nodes equipped with a binary relation on the nodes. A node is called a child of a node if .
The idea of a graph-picture of pure sets is that the nodes represent pure sets, and we have precisely when . Clearly the membership relations between any collection of pure sets should be representable by a graph. To what extent the converse holds, i.e. which graphs can be interpreted as membership-relations between pure sets, depends on whether the pure sets in question are well-founded or ill-founded. For purposes of drawing well-founded pure sets, only well-founded graphs should be used, whereas arbitrary graphs can be used to draw ill-founded sets. (In fact, one form of the axiom of anti-foundation is that any graph is the picture of some pure sets.)
A set of nodes in a graph is -inductive if whenever all children of some node are in , then itself is in . A graph is well-founded if the only -inductive set of nodes is the set of all nodes.
Assuming the principle of excluded middle, well-foundedness is equivalent to saying that the tree has no infinite paths.
If we want to use a graph to describe a specific pure set, then we should single out one particular node as representing that set. Moreover, it makes sense to demand that the graph contain no “superfluous” data other than what is necessary to describe the hereditary membership structure of the particular set in question.
A graph is pointed if it is equipped with a specified node called the root. A pointed graph is accessible if for every node , there exists a path to the root; this is equivalent to saying that is a top element for the reflexive-transitive closure of . An accessible pointed graph is abbreviated APG.
An APG gives all the data necessary to characterize a pure set , and the pure set in question is well-founded iff the APG is well-founded. We can think of the root as representing itself, the root's children as the elements of , the next level as those elements' elements, and so on.
If we want to think of these elements as pure sets themselves, then we can “externalize” them into separate APGs. Specifically, for any node in a graph , the subgraph consisting of all those nodes which admit some path to is an APG, which describes the pure set represented by ; we write it as and call it the full subgraph of rooted at . If is an APG and is a child of the root, we say that is an immediate subgraph of . The immediate subgraphs of represent the pure sets that are the “elements” of the pure set represented by . Thus, the APG pictures the hierarchy of elements of , where each immediate subgraph corresponds to its root , and is interpreted as membership.
Note that the nodes in most of the pictures below have labels, but these are for illustration only; they are not part of the structure defining the tree.
First, consists of nothing but a root:
The set has the empty set attached to the root (which we draw at the top):
Notice that is an immediate subgraph, so we can write .
Then the two most obvious ways of representing the ordinal as a pure set, namely and , can be drawn as follows:
Looking at immediate subtrees, , , and , but .
can also be represented as :
Of course, as a graph this is isomorphic to , and hence should represent the same pure set.
These sets are all well-founded. A non-well-founded set can be represented either by an infinite picture, or by a picture with loops. Here is an infinite picture of :
and here is a finite picture:
In both cases, the unique immediate subgraphs verify that .
APGs are sufficient to describe all pure sets, but multiple APGs, even non-isomorphic ones, can represent the “same” pure set. Firstly, we have so far not eliminated the possibility of duplicate branches. For instance, the pure set can also be represented as :
It is easy to eliminate APGs with such “obviously redundant” branches.
An APG is rigid if whenever and are two children of the same node such that , then in fact .
Assuming excluded middle, rigidity is equivalent to saying that any graph automorphism is the identity function. Note also that if two rigid APGs are isomorphic, they must be uniquely isomorphic. Thus, for rigid APGs, being isomorphic is a property, rather than structure.
Even among rigid APGs, however, there are are ambiguities. For example, the pure set can also be drawn by the APG
The issue here is that the “same” pure set can occur in more than one place in the membership hierarchy of a pure set, and we have to choose whether or not to identify them in the graph. There are three solutions to this problem:
These are of course related; the first two can be seen as specifying a particular isomorphism class within each of the equivalence classes defined by the third. In particular, they all result in equivalent notions of pure set, when they all apply. (However, in predicative set theories, it seems that only the first method is applicable.) We will consider them all in turn.
A natural way to ensure that the same node is never “shared” between two occurrences is to require that our APGs be trees.
A tree may or may not be well-founded. Note, though, that in a tree, the opposite relation is automatically well-founded: each node has a unique natural number height, namely the length of its unique path to the root, so well-foundedness of implies well-foundedness of .
It now makes sense to define a pure set to be a rigid accessible pointed tree. The idea is that two such trees represent the same pure set iff they are isomorphic. We define “membership” between such trees to mean that is isomorphic to some immediate subtree of (that is, a tree where is a child of the root of ).
For example, the tree representation of is the one we gave first:
and the tree representation of is the infinite path:
So we have , , , etc.
A tree models a hereditarily finite set if every node has finitely many children; a tree models a well-founded hereditarily finite set if and only if it is finite and is decidable. The relationship between these two facts and the no-infinite-path formulation of well-foundedness is a form of Kőnig's Lemma?.
Given these definitions, one can prove the various axioms of material set theory. Specifically, if ETCS holds for the structural sets (of nodes, etc) used in this definition, then (which is ZFC with only bounded separation and no axioms of replacement or foundation) holds for rigid trees, while ( together with foundation) holds for well-founded rigid trees. Similar results hold for constructive weakenings of ETCS and , since these definitions involve only function-sets and not power-sets. Likewise, we can strengthen both sides with axioms of replacement, collection, or separation, or by adding Grothendieck universes.
The argument for the axiom of extensionality is perhaps the most interesting; it goes as follows. If each immediate subtree of is isomorphic to an immediate subtree of and conversely, then and are mutually uniquely determined by rigidity, so we have a bijection between the children of the roots of and of . Since the isomorphisms are also unique, again by rigidity, and each is disjoint from for , by the tree property, we can piece together these isomorphisms to define an isomorphism . (In particular, the uniqueness of all these isomorphisms means that the axiom of choice is not needed.)
(Note, though, that this is only the “weak” version of extensionality. This is sufficient for well-founded sets, but we may need to strengthen rigidity somehow to obtain stronger notions of extensionality, which are generally more appropriate for ill-founded sets. More precisely, the well-founded rigid trees model the usual axioms of extensionality and foundation, while arbitrary rigid trees model not Aczel’s axiom of anti-foundation AFA, but its “Scott” variant, SAFA.)
The “tree” representation can be thought of as an unwrapped picture; we now consider a wrapped picture in which there is no duplication at all. The natural way to ensure this is to require our graphs to be extensional. For well-founded graphs, this is easy: a well-founded graph is extensional if for any nodes and such that for all , we have iff , then necessarily . For non-well-founded graphs, we need the notion of “strong extensionality” defined as follows.
If and are graphs, a bisimulation from to is a binary relation from to such that for any and with , then:
A graph is extensional if the largest bisimulation from to is the identity.
The idea is that a bisimulation identifies pairs of nodes which “represent the same pure set.” One can show that a well-founded graph is extensional in this sense iff it is extensional in the weaker sense given above. Note also that any extensional APG is necessarily rigid, since any isomorphism induces a bisimulation.
Thus, it also makes sense to define a pure set to be an extensional APG. Two such APGs represent the same set iff they are isomorphic, and we define membership in the same way: if for some child of the root of . Of course, one can again prove the axioms of material set theory from this definition. If we restrict to well-founded extensional APGs, we get the axiom of foundation, while if we allow all extensional APGs, we get Aczel’s axiom af anti-foundation (along with its strong version of the axiom of extensionality). Note that this definition is not predicative, since the notion of extensionality involves quantification over bisimulations, which are relations, i.e. subsets. Thus, it requires at least limited separation.
For example, the extensional representation of is this one:
while the extensional representation of is the loop:
Finally, here is the set of von Neumann natural numbers:
Again we have , , , etc.
Now an extensional accessible graph models a hereditarily finite set iff the graph itself is finite and is decidable.
Finally, we consider the third solution to the ambiguity problem, and its relation to the first two: defining a looser notion of equivalence between APGs. Recall the notion of bisimulation. We say that two APGs and are equivalent if there is a bisimulation from to such that . Note that if is a bisimulation from to such that , then the APGs and are equivalent; this justifies the interpretation of a bisimulation.
We can now define a pure set to be an APG, with equality represented by equivalence in the above sense. Likewise, we define “membership” to mean that is equivalent to some immediate subgraph of . One can again prove the various axioms of material set theory with these definitions (either using well-founded APGs or arbitrary ones). As with extensional APGs, in this case we obtain the strong notion of extensionality (which is equivalent to the weak one for well-founded sets). This definition is also not predicative.
The relationship of this approach to the previous ones is as follows.
Every APG is equivalent to an extensional one. Namely, let be the maximal bisimulation on (the union of all bisimulations); it is an equivalence relation, and its quotient inherits the structure of an extensional APG which is equivalent to . This is the extensional quotient; see extensional relation.
Two extensional APGs are equivalent iff they are isomorphic. For if is a bisimulation from to , then defining in if there exists a node in with and gives a bisimulation on , which must be the identity, and similarly for ; hence must in fact be a bijection. Thus, the notion of “pure set” obtained from “extensional APGs and isomorphism” is the same as that obtained from “arbitrary APGs and equivalence.”
Every APG is equivalent to one that is a tree, its “unwrapping”. The nodes of the tree can be taken to be the finite paths ending at the root, with any “one-level extension” being a child of . The bisimulation relates each path to its initial node .
Moreover, every APG is equivalent to a rigid accessible pointed tree. The key here is to first take the extensional quotient, then perform the above “unwrapping” construction: the unwrapping of any extensional graph will always be rigid.
Two well-founded rigid accessible pointed trees are equivalent iff they are isomorphic. For if is a bisimulation from to , define a new relation from to such that iff there are paths from and to the corresponding roots which are pointwise related by , i.e. we have and , with . We can then prove by well-founded induction that whenever , then is a bijection between the children of and of . For assume that all the children of and have this property. Then if we have and with and , then by hypothesis is a bijection between and , and between and , hence we have ; thus by rigidity . Therefore, is a bijection between the children of and the children of . The construction of then ensures that for any child , relates each node in to a node in at most one ; hence is in fact a bijection from to . Thus, by induction, is a bijection.
In order to extend this last result to non-well-founded trees, we would need to use a stronger notion of rigidity. (This makes sense since SAFA is incompatible with AFA. We could expect to be able to use “Scott-extensionality” in place of extensionality to obtain a theory equivalent to that of rigid trees.) For example, the following two ill-founded trees are equivalent but not isomorphic, yet both are rigid.
In conclusion, there are two extreme ways to represent a pure set by an isomorphism class of graphs, but any accessible pointed graph will represent a pure set one way or another. For well-founded sets, the two extreme ways are equivalent, but for ill-founded sets the choice between them can make a difference (and in fact, there are a number of other possible variants, corresponding to the spectrum of anti-foundation axioms discussed by Aczel).
Note that the version on the left is the unwrapping of the loop; we would like a stronger version of rigidity that would rule out the version on the right. As it is, the best that we have come up with is simply: isomorphic to the unwrapping of some extensional APG. Technically this works, but it is not very satifsying.