55

Note that "a working mathematician" is probably not the best choice of words, it's supposed to mean "someone who needs the theory for applications rather than for its own sake". Think about it as a homage to Mac Lane's classic. I'm in no way implying that set theory is not "real mathematics" (whatever that expression might mean, though I've heard some people say it, and I don't respect this point of view that something abstract is "not real mathematics") and I have a great respect for that field of study.

However, I'm personally not interested in set theory and its logic for their own sake (as of now). For a while I have treated them naively, and it was fine as I haven't needed anything beyond introductory chapters in compheresnive books on algebra, analysis or topology. But recently I decided to understand the foundations of category theory based on Grothendieck universes and inaccessible cardinals. So, I went to read some sources on set theory. And was really confused at first about such definitions as of a "transitive set", which implicitly assume that all elements of all sets are sets. Then I read more about it and discovered that in $\mathrm{ZFC}$

everything is a set!

It seemed absurd to me at first. After consulting several sources, I realized that ZFC was meant to be a (or even the) foundation for mathematics, rather than simply a theory which gives us a framework to work with sets, so at that time people thought that every mathematical object can be defined in term of sets. It didn't seem as unreasonable as before anymore, but still...

It still doesn't feel right for me. I understand that at the time when Zermelo and Fraenkel were developing axiomatic set theory, it was reasonable to think that every conceivable mathematical object is set. But it was a long time ago; is it still this way - especially concerning category theory?

If we work in $\mathrm{ZFC}$ (+ $\mathrm{UA}$) we have to assume that every object in any category is a actually as set. And the same should go for morphisms. Because, given a category $\mathrm{C}$, $\operatorname{ob} \mathrm{C}$ and $\operatorname{mor} \mathrm{C}$ are sets, so their elements, namely, objects and morphisms of $\mathrm{C}$, should also be sets.

The question is: is the assumption that there are no urelements, that is, that every conceivable mathematical object can be modeled in term of sets, reasonable, as of the second decade of the 21st century? Is there an area of mathematics where we need urelements? Can this way of thinking be a burden in some mathematical fields? (Actually, it's three questions, sorry. But they are related)

P.S. I hope this question is not too "elementary" for this site. But as I understand there are quite a lot of working mathematicians who don't think much about foundations. So, even if this question is not useful for them, it can at least be interesting for them.

Jxt921
  • 1,095
  • 2
    There is a fine point here: there are objects which are generally proper classes. If we augment ZFC by additional axioms (e.g. large cardinal axioms, mild or not), then we can sometimes model these objects as sets (e.g. Tarski--Grothendieck universes), and sometimes we can only interpret them as sets: namely we construct some mini-universe of mathematics, in that universe those objects are classes, which are sets of our meta-universe; but these objects no longer interact with the rest of the universe "properly" (e.g. all manner of things from HoTT). – Asaf Karagila Nov 28 '16 at 18:13
  • 23
    So once you relieve yourself of the Platonistic burden of a fixed mathematical universe, you can amend your boldface statement: Everything is a set in some universe of set theory. – Asaf Karagila Nov 28 '16 at 18:14
  • 5
    What I wrote at http://mathoverflow.net/questions/90820/set-theories-without-junk-theorems/90945#90945 might be relevant for you. – Andreas Blass Nov 28 '16 at 18:27
  • 2
    @AsafKaragila "platonistic burden" I like this phrase very much. – guest Nov 28 '16 at 18:55
  • 2
    Ignoring the question in the post and just answering the question in the title: Have a look at ETCS, SEAR and similar systems of axioms! – Johannes Hahn Nov 28 '16 at 20:42
  • 4
    In foundations it is easier to talk about problems/theorems instead of mathematical objects. A Turing halting problem is clear, although it can take many forms. But what is a number, set, predicate, function? That is much harder. – Lucas K. Nov 28 '16 at 21:30
  • 20
    The main problem with the notion "everything is a set" is that it implies a semantics, and encourages people to pay attention to those semantics more than is wise. I once read a text that carefully checked that no real number was an ordered pair, and then defined the underlying set of the complex numbers to be $\mathbb{C} = \left( \mathbb{R}^2 \setminus (\mathbb{R} \times { 0 }) \right) \cup \mathbb{R}$ and addressed how to adjust the arithmetic operations defined on $\mathbb{R}^2$ to be defined for $\mathbb{C}$... just so that $\mathbb{R} \subseteq \mathbb{C}$ was literally true of the sets –  Nov 29 '16 at 00:12
  • 3
    @Hurkyl: I've said it before, and I will say it again: if people would bother to study logic and set theory just a bit more than they "absolutely have to", they will understand exactly why your example is not caused by the assumption that "everything is a set", and more due to the fact that whoever did that, failed to understand something basic about foundations. – Asaf Karagila Nov 29 '16 at 03:35
  • @Asaf: I will definitely agree that "everything is a set... plus additional context for interpreting that statement" can be much more reasonable. I was trying to describe where that notion leads without that additional context. –  Nov 29 '16 at 03:42
  • 5
    @Hurkyl: I understand that. I just wanted to emphasize that this is not due to the nature of "everything is a set", but rather due to the failure of educators to teach "how to use your foundations properly". That's what happens when your department doesn't have a set theorist... And I'm not just saying that because I'm applying to postdoc positions these days! ;-) – Asaf Karagila Nov 29 '16 at 03:45
  • 1
    Nobody mentioned ZFCU so far, namely ZFC with urelements? – user21820 Nov 29 '16 at 06:40
  • 25
    The situation is very analogous to strongly-typed versus weakly-typed programming languages. ZFC is somewhat analogous to assembly language: when I read data from a memory address, I can treat the data as another address, or as a signed integer, or as a sequence of characters, etc. Other foundational systems are more like strongly-typed languages: each data type has its own operations, and I can only apply the appropriate operations to each type. It is well known that strongly typed programming languages are more convenient for some purpose, while weakly typed ones are convenient for others. – Carl Mummert Nov 29 '16 at 15:23
  • @Hurkyl I found that pretty funny. Why would anyone want to do that? I can understand that being able to say $\Bbb R\subset\Bbb C$ in the literal sense is quite compelling. However, the price that one needs to pay doesn't seem to worth the effort. – BigbearZzz Nov 29 '16 at 19:34

10 Answers10

73

Set theory provides a foundation for mathematics in roughly the same way that Turing machines provide a foundation for computer science. A computer program written in Java or assembly language isn't actually a Turing machine, and there are lots of good reasons not to do real programming in Turing machines - real languages have all sorts of useful higher order concepts. But Turing machines are a useful foundation because everything else can be encoded by Turing machines, and because it's much easier to study Turing machines than it is to study a more complicated higher order language.

Similarly, the point isn't that every mathematical object is a set, the point is that every mathematical object can be encoded by a set. It doesn't represent higher level ideas, like the fact that mathematical objects usually have types (as one of my colleagues likes to point out, the question "is the integer 6 an abelian group" is technically a reasonable one in set theory, but not in mathematics). But it's a (relatively) simple system to study, and just about everything we want to do can be encoded in set theory.

To answer your specific questions, yes, it's still true that every mathematical object can be encoded as a set. Because sets are very flexible, there's no reason to think this will not continue to be true. There is no current field of mathematics in which urelements are essential, and because things one would do with urelements can instead be encoded with sets, there is unlikely to be such a field.

ZFC does impose some limitations on category theory, because it doesn't allow objects on the same scale of the universe of sets. (For instance the category of categories is awkward to consider within ZFC, because the objects of this category cannot be a set.) These are reflected in the discussions of "small" and "locally small" categories. These issues can be worked around in mild extensions of ZFC by using things like Grothendieck universes. (Note that this is a feature of ZFC, not of set theoretic foundations in general. Quine's New Foundations allows certain self-containing sets.)

This way of thinking can't really be burden because ZFC doesn't impose a way of thinking. The fact that things can be encoded as sets doesn't, and shouldn't, mean that we always think of them that way. It's perfectly consistent with having a set theoretic foundation to work with things like urelements, or to think about groups and categories without thinking of them as sets. (Worrying about things like self-containing categories can be a burden, but it's a necessary one given the history of paradoxical objects containing themselves.)

  • 22
    One should add, perhaps, that the importance of being able to encode everything to sets is that it allows you to know that it is enough for set theory to be consistent in order for the rest of mathematics to be consistent. And also, it might be worth mentioning that there is a good reason for "large" objects to cause paradoxes, which can occur even if you ignore sets and just think about the category of all categories, or something like that. (Unless you worked in NF or something from the get go... but then... you're weird!) – Asaf Karagila Nov 28 '16 at 18:18
  • 3
    That every mathematical object can be encoded somehow as a set is a hypothesis which I doubt anyone can prove, and I don't think that we should (still) follow this limiting point of view. In my opinion every foundation with only one type does not model mathematics properly. – HeinrichD Nov 28 '16 at 19:05
  • 21
    @Heinrich: Do you also feel that a computing system which only operates on electrical pulses with two kinds of voltage does not model computation properly? – Asaf Karagila Nov 28 '16 at 19:13
  • 17
    @HeinrichD: The proof in ZFC is straightforward. More seriously, I don't makes sense to talk about a proof in the mathematical sense; any such proof is probably just a statement about the system it's proven in. But as an empirical claim, it has survived well. I deny that this view is limiting; no one demands that all mathematics be presented in set theoretic terms, so there's nothing stopping people from producing new objects that would refute this hypothesis. Given the ease of encoding typed systems, I'm skeptical that the presence of multiple types is foundationally significant. – Henry Towsner Nov 28 '16 at 19:38
  • 10
    @HeinrichD: I think in order to say that the aforementioned point of view is "limiting", one should first be able to find a mathematical object which cannot be coded as a set (in ZFC or other set theories). No one forces mathematicians to only work with objects that can be encoded in set theories, they just happen to do so. – Burak Nov 28 '16 at 21:07
  • 1
    "Worrying about things like self-containing categories can be a burden" ...Or maybe not? :) I would be interested in a foundation that allows us to say something like $\mathbf{Cat}\in \mathrm{Ob}(\mathbf{Cat})$ without causing contradictions – Qfwfq Nov 29 '16 at 03:43
  • 1
    @Qfwfq: I talked with one of the NFites last year, and she said that one of the appeals of NF was that it allowed some cleaner category theoretic things. But on the other hand, it seems that the consistency strength of NF is closer to that of PA, rather than to that of Z or ZF, and so I don't know if you would actually want to have that as your foundational theory. :-) – Asaf Karagila Nov 29 '16 at 03:52
  • 1
    @Burak The Feynman integral is an important concept and we still struggle to define it rigorously in the current mathematical theories (ZFC or category theory). Physicists routinely create mathematical objects that are pretty hard to formalize. Yet nobody would deny the mathematical nature of these objects. It is still an open question whether set theory (or rigorous math for what matters) is the correct language to describe our world at small scale. – coudy Nov 29 '16 at 14:22
  • 12
    @coudy: We don't know how to define those notions rigorously, irrespective of how they're encoded; the obstacle to defining them rigorously happens at a higher level - at the level of choosing the right analytic framework - not at questions about how to encode the objects. Further, as Burak points out, the set theoretic perspective isn't limiting because it isn't stopping anyone from investigating these objects, and in the (spectacularly unlikely) event that they can be defined rigorously but can't be encoded in set theory, everyone will agree to move to a foundation that does include them. – Henry Towsner Nov 29 '16 at 14:58
  • @AsafKaragila: I don't think this is so much about consistency, as about truth. I don't think a "working mathematician" worries so much about whatever he does being (just) consistent. For example, a lot of serious theorems and conjectures (could be put in a form) trivially true under ZF-$\infty$ and hence 'consistent' in a sense, but that is of little interest (for most mathematicians). What really matters is that if you believe the axioms of ZFC are all (mostly) true, then so is anything that they prove (and not only prove is consistent). – tomasz Nov 30 '16 at 00:00
  • 3
    @coudy For a lot of us, our livelihoods depend on the belief that physicist-created mathematics, e.g. Feynman integrals, can be formalized within mathematician-created mathematics. We just (believe that we) don't know how to do it yet. We also believe that we are actively making progress towards that goal. – Theo Johnson-Freyd Nov 30 '16 at 01:26
  • 1
    @tomasz: I have an issue with "truth", because I have an issue with Platonism. But I think we mean the same thing. – Asaf Karagila Nov 30 '16 at 05:57
  • 1
    I'd say that "is the integer 6 an abelian group" is not a reasonable one in set theory, because 6 and abelian groups aren't set theoretical objects. There are various ways of encoding groups in set theory, and you could write out the group theorems in a way that a certain representation of the integer 6 stood for Z_6, or that it stood for S_6, and done correctly either would represent standard group theory in set theory. – prosfilaes Nov 30 '16 at 08:52
  • @AsafKaragila: I meant "truth" in an abstract sense, not necessarily Platonic. I think (more or less) the same will be true for any concept of (meta-mathematical) truth considered relevant by (a significant fraction of) mathematicians. – tomasz Nov 30 '16 at 11:01
  • @tomasz: As I said, I think that we ultimately meant the same thing. – Asaf Karagila Nov 30 '16 at 11:19
  • 4
    @prosfilaes there are conventional encodings of both the integers and groups; if one takes a strong view of what it means to have set theoretic foundations, all references to "6" are implicitly referring to the set which conventionally encodes 6. One can then ask whether the same set happens to also encode an abelian group (but one shouldn't, because it's a stupid question about encodings rather than the actual object) – Henry Towsner Nov 30 '16 at 13:38
  • @prosfilaes: It is a valid question (once expressed) in set theory, but not a reasonable one in mathematics itself (as an abstract notion independent of formalization). There are many ways to formalize mathematics that preserve such separation between the concrete and abstract. For example, you can replace the axiom of infinity in ZFC by the axiom of existence of a model of PA, in which case you will truly be able to prove nothing about $6$ that is irrelevant! Alternatively, you should be proving things about all models of PA (see this). – user21820 Nov 16 '19 at 18:32
  • In other words, I disagree slightly with @HenryTowsner; I think the natural numbers are not a specific encoding but objects in an arbitrary model of PA, even if one takes ZFC as the sole foundation. Things get a lot hairier with pairs and functions, which need to be encoded somehow (we cannot reason about all possible encodings of pairs and functions), but for that purpose I believe that my other approach via a change to the formal system itself is best if we want to avoid meaningless 'well-formed' statements. – user21820 Nov 16 '19 at 18:42
27

I prefer to think of ZFC as a proposed model of mathematics. I want to emphasize both words "proposed" and "model". For comparison, consider quantum mechanics. It can be modeled — as far as we know, perfectly — by the theory of Hilbert spaces. But the state right now of the electron in your retinal cell being excited by photon being emitted by the leftmost pixel in this word is not a vector in a Hilbert space: there is a Hilbert space $\mathcal H$ with a vector $v \in \mathcal H$ that, so far as we know, perfectly models that physical interaction, but $(v,\mathcal H)$ is only isomorphic to the physical system, it isn't itself a physical system.

So ZFC proposes not that mathematics "is" Sets, but that mathematics is "isomorphic to" Sets.

One reason to think that ZFC remains only a proposed model is that there is continued debate about the "correct" axioms for set theory. You can find, for example, recent papers by Woodin arguing that $\mathfrak c = \aleph_2$. Certainly such arguments are not "proofs" in ZFC — the value of $\mathfrak c$ is independent of ZFC (beyond that ZFC proves $\mathfrak c > \aleph_0$) — but arguments about the "actual mathematical world" (specifically, the actual world of sets).

I wonder how Asaf will interpret this answer in terms of Platonistic burdens.

  • It's an Aristotelian burden. More pragmatic and scientific. –  Nov 29 '16 at 00:51
  • 2
    Woodin has been a strong proponent of GCH in the past few years, actually. So his days of $\mathfrak c=\aleph_2$ are over... :-) – Asaf Karagila Nov 29 '16 at 03:50
  • 2
    Also, Asaf interprets this answer as somewhat comparing mathematics and physics, which is not surprising if one bothers to read your profile. Not that it's bad. It's an interesting interpretation. (Asaf also finds that talking about Asaf in third-person is just weird. So he will stop doing that.) – Asaf Karagila Nov 29 '16 at 04:15
  • @AsafKaragila so who will prove the Omega-conjecture now? – David Roberts Nov 29 '16 at 06:24
  • 1
    @David: I guess you're going to have to do that now. Good luck! – Asaf Karagila Nov 29 '16 at 06:42
  • 11
    So ZFC proposes not that mathematics "is" Sets, but that mathematics is "isomorphic to" Sets I like it. Similar to saying: Not that the real numbers "are" Dedekind cuts, but merely "isomorphic" to them. – Gerald Edgar Nov 29 '16 at 13:20
  • 'Isomorphic' seems like an unfortunate choice, given that you want to allow for fundamentally different theories (I suppose). But then again, I'm not entirely sure that I get the point of your proposal. – Stefan Mesken Nov 29 '16 at 19:47
  • @AsafKaragila I clearly am set-theoretically out of date! – Theo Johnson-Freyd Nov 30 '16 at 01:05
  • 2
    @Stefan That was a sloppy sentence. I mean the following. As Gerald said, I do not accept that $\mathbb R$ "is" the set of Dedekind cuts in $\mathbb Q$, nor that it "is" the set of equivalence classes of Cauchy sequences, or the set of functions $\mathbb Z \to \mathbb Z$ whose failure to be a homomorphism is absolutely bounded. $\mathbb R$ "is" something unto itself, and probably not (just) a set at all. However, I accept that $\mathbb R$ can be perfectly modeled by a complicated arrangement of sets. Similarly for all the mathematics I have ever come across. It can all be perfectly modeled... – Theo Johnson-Freyd Nov 30 '16 at 01:09
  • 1
    ... by (complicated arrangements of) sets. Sometimes this is valuable, and of course sometimes it is not. – Theo Johnson-Freyd Nov 30 '16 at 01:10
  • @Stefan I'm not sure if I made that any better, or just repeated myself for emphasis. (Perhaps if I repeat essentially the same thing with slightly different words enough times, you will understand and be convinced?) You might be (correctly) complaining that there is a type mismatch: "mathematics" cannot "be Sets", because they are different types of things. Probably by "Sets" I mean what I called "complicated arrangements of sets". Like how one popular set-theoretic model of $\mathbb N$ consists of sets $\emptyset, {\emptyset}, \dots$, and sets ${{a,{a,b}},{a+b,{a,{a,b}}}}$... – Theo Johnson-Freyd Nov 30 '16 at 01:17
  • 1
    for each pair of elements $a,b\in \mathbb N$ — such sets together encode the function $+ : \mathbb N \times \mathbb N \to \mathbb N$ — and a bunch of other sets that encode arithmetic. Note that this particular complicated arrangement is not really a well-defined thing, because you and I might disagree about what constitutes arithmetic. Certainly we agree that "$\mathbb N$" loses all meaning if it is supposed to consist of all sets I can build from $\emptyset$ and so on, so we need to be selective when putting together the sets that comprise $\mathbb N$... – Theo Johnson-Freyd Nov 30 '16 at 01:20
  • What is the category in which Mathematics and Sets are isomorphic? – fosco Mar 15 '18 at 04:45
  • @FoscoLoregian Well, it includes the category of undergraduate logic classes, at least. – Theo Johnson-Freyd Mar 16 '18 at 05:05
22

There are already some excellent answers explaining in what senses ZFC can still be a foundation for most mathematics. But it also seems appropriate to mention some ways in which ZFC is insufficient as a foundation for modern mathematics. [Disclaimer: throughout this answer I will talk about "ZFC", but the remarks apply just as well to its variations including large cardinals and so on, and in some cases require variations such as removing choice or using constructive logic.]

To start with, by asking the question the way you did, as a dichotomy between sets and "urelements", you bias the answers you're likely to get. In fact, most real-world alternatives to ZFC are not simply obtained by "adding urelements" that have no members: instead they call into question the whole assumption of ZFC that there is a "membership" relation that can be meaningfully applied to any two mathematical objects. In such theories there are basic objects, sometimes still called "sets" but other times called something else like "types", and these objects have "elements"; but we cannot compare elements of two different sets/types or ask whether one set/type is an element or subset of another.

One such theory that calls its objects "sets" is Lawvere's ETCS. Those that call their objects "types" are generally called "type theory" of one sort or another; here is a blog post I wrote introducing type theory. In general, these alternative theories are inter-translatable with ZFC (or some minor variation of it), and in particular equiconsistent. Thus, any of them can serve equally well to encode most of mathematics and thereby guarantee its consistency.

However, consistency is not the only purpose of having a foundation for mathematics. There are several other purposes that could be mentioned, but one that's particularly relevant is "change of universe" or "internalization". Any sufficiently powerful formal system like ZFC, ETCS, or type theory admits more than one model; even if we assume there is one "real" model (which is itself debatable), from that starting model we can always construct lots of other models. Moreover, it so happens that many of these other models are intrinsically interesting as mathematical objects even if we accept the original model as the only "real" one. For instance, if $X$ is any topological space, the sheaves on $X$ form a model of these theories (at least if we use constructive logic).

Now if some formal system can be used as a foundation for (some fragment of) mathematics, that means that any theorem can be encoded into that formal system, and is therefore "true internally" in any model of that formal system. If this model is not the "real" one, then that "internal" truth will be different from "real" or "external" truth, but if the model is interesting then the internal truth is generally also interesting. For instance, the theory of local rings, when interpreted internally in the model of sheaves on $X$, becomes the theory of sheaves of rings on $X$ whose stalks are all local; while the theory of real numbers becomes the theory of continuous real-valued functions on $X$. In this way, using a formal system as a foundation for mathematics allows us to get much more bang for our buck: we prove one theorem, and we automatically deduce not only the "real" version of that theorem but also the "internalized" versions of that theorem in all other models of our formal system.

The reason I bring this up is that as compared with ETCS and type theory, ZFC is poorly-adapted to this sort of use. Even if our "real" model consists of ZFC-style sets with a global membership relation, most other interesting models do not come naturally with one: they generally present as categories of one sort or another, and in general there is no way to say that one object of a category is a member of another one. So it is much more straightforward to internalize ETCS or type theory into a category than to internalize ZFC.

It is possible to internalize ZFC (or related theories) into a category, such as by first internalizing ETCS or type theory and then passing across the above-mentioned translation to ZFC. However, in many cases this involves a loss of information. To construct of a model of ZFC from a model of ETCS or type theory, we explicitly build "well-founded hereditary membership trees" of some sort or other; see for instance here. The resulting model only "sees" those sets or types in the original model that can be equipped with such a structure, sometimes called the "well-founded part" of a category. In some cases this is the whole thing; in other cases it can be quite different. So if we want our internalized theorems to apply to all objects of a category, then ZFC-style theories aren't good enough.

In the case of 1-categories, we can to a certain extent fix this problem by... adding urelements! We consider the "non-well-founded" objects of our category to be "sets of urelements", thereby including them in the resulting model of ZFC+urelements (see for instance this paper). So this actually provides an answer even to your question as phrased, "do we need urelements"? The construction is still much more involved than modeling ETCS or type theory, but at least it is possible.

More radical still is the situation for higher categories, whose objects behave internally like higher groupoids (or even higher categories themselves). No ZFC-style theory is known whose basic objects behave in this way, even allowing urelements. But there is a version of type theory, called homotopy type theory, whose types do behave like higher groupoids. (The model theory of homotopy type theory is not completely developed, but indications so far are promising.) Thus, for the purpose of internalizing in higher categories, it seems that ZFC really is insufficient.

A different way to put this last point is as follows. A central concept in homotopy theory and higher category theory is that of an $\infty$-groupoid. Unsurprisingly, because sets are very flexible, the notion of $\infty$-groupoid --- or at least A notion of $\infty$-groupoid --- can be encoded using sets (for instance, as a Kan simplicial set). However, this encoding forces the thereby-encoded $\infty$-groupoids to have certain properties, such as "Whitehead's principle" (a map inducing isomorphisms on all homotopy groups is an equivalence) or "sets cover" (every $\infty$-groupoid admits a surjective map from a discrete one). But we might not necessarily want these properties to hold: for instance, when internalizing in a higher category, with $\infty$-groupoids corresponding to objects of that category, they often turn out to be false.

So I would claim, contrary to what others have said, that ZFC does impose a way of thinking: namely, an assumption that everything should be encoded using sets. It's an observed fact that essentially all mathematical concepts can be encoded somehow as sets. But it's only an article of faith that every theorem we can prove about the encoding is necessarily true about the original concept.

Mike Shulman
  • 65,064
  • 6
    I was waiting for you to show up. – Asaf Karagila Nov 30 '16 at 11:23
  • 3
    @AsafKaragila: Is this the first line of a Wild West duel? ;) – HeinrichD Nov 30 '16 at 11:54
  • 9
    @Heinrich: Not even a little bit! Mike is someone whose opinions on foundations of mathematics I respect and consider both interesting and well-motivated (in contrast to some people who will repeat buzzwords and "junk theorems arguments"). I was honestly waiting to see what he's going to say. (I know that you wrote your comment as a tongue in cheek kind of comment, but nevertheless, I felt obligated to explain.) – Asaf Karagila Nov 30 '16 at 12:04
9

This complements the other answers. Let's take the natural numbers as an example for discussion.

When we use mathematics, we typically want to use properties of the natural numbers: after every natural number there's a next one, adding two of them yields another one, same with multiplying, those two operations play nice together (distributive laws), the principle of induction, prime numbers and factorization, etc. etc.

At some point mathematicians wonder whether using these properties is a good idea. For example, could some of those properties contradict other properties in some subtle way? (That induction property, in particular, might hide some subtle pitfalls....) Does there even exist a set that (once $+$ and $\times$ are defined on that set the way we want them to be defined) has all of the properties we want the natural numbers to have? In other words, are those properties "consistent", and do they have a "model"?

Set theory provides a way to construct a set, and operations $+$ and $\times$ on that set, for which it can be proved that all of the properties we want to hold for the natural numbers actually hold for that set. This provides mathematicians with formal reassurance that there isn't some subtle fatal flaw with our list of properties. Nevertheless, when we work with the natural numbers, we generally work with the properties themselves, without worrying about whether $6$ is a set or urelement or whatever.

Formalizing "the list of properties we want the natural numbers to have" is something that itself required some thought; you can read more about the Peano axioms, for example. And formalizing what it means for a collection of mathematical statements to be "consistent" is also something that requires thought; this is what ZFC addresses.

Greg Martin
  • 12,685
  • I really like this answer. I've always sort of considered that even though technically math isn't founded on Peanos axioms, or the natural numbers; its sole purpose is to investigate using these tools. And if set theory is the foundation, it's only really the foundation because it meshes so well with natural numbers. Or intuition, and logic so addressed by them. –  Nov 29 '16 at 00:45
  • 2
    "This provides mathematicians with formal reassurance that there isn't some subtle fatal flaw with our list of properties" ....Only if ZFC is itself consistent! But ZFC is clearly more "problematic", as for consistency, than PA. We would have (had) an actual "formal reassurance" about PA only if its consistency could be proved inside something even more "elementary", i.e. if Hilbert's program was possible. Sadly (or, rather, interestingly) Goedel's theorem tells us that this is not the case. – Qfwfq Nov 29 '16 at 03:18
  • I agree with you. I used "reassurance" rather than "proof" for a reason :) – Greg Martin Nov 29 '16 at 03:29
  • Greg, You mentioned that we generally work with the properties themselves without worrying about whether 6 is a set. Isn’t “being a set” a property too? We want to say that we care only about the structural properties. This requires giving an analysis of what it is for a property to be structural. To my knowledge, this is an open problem. – Haidar Dec 06 '16 at 20:13
6

Is there an area of mathematics where we need urelements?

Yes, in a certain sense. Indeed, we can get an example of such just within set theory.

Admissible set theory provides many pocwerful tools for reasoning about models of set theory. The downside is that they only directly apply to admissible sets (= transitive models of Kripke-Platek set theory, a weak fragment of $\mathsf{ZF}$, possibly formulated to allow urelements). To get around this limitation, Barwise introduced the notion of the admissible cover of a (possibly ill-founded) model of set theory. Specifically, given $(M,E) \models \mathsf{KP}$ we can talk about admissible structures with $M$ as their urelements. The admissible cover of $M$ is the smallest such admissible structure satisfying certain reasonable properties. See the appendix of Barwise's book for details (conveniently available here). The admissible cover provides a way for some of the tools of admissible set theory to be applied to ill-founded models of set theory. To use the application Barwise gives in his appendix, one can prove that any countable model of $\mathsf{ZF}$ has an end-extension to a model of $\mathsf{ZF} + V = L$. Starting with a well-founded model of $\mathsf{ZF}$, this is a straightforward argument using the Barwise compactness theorem. Proving the result for ill-founded models goes through looking at the admissible cover for the ill-founded model.

The notion of the admissible cover only makes sense if we allow urelements for our models of set theory, so this gives us something where we need urelements.

But, let me point out that there is a sense in which the use of urelements can be avoided here. Namely, we can always find copies of whatever structure we are interested in inside the pure sets, i.e. sets whose transitive closure contain no urelements. If $A$ is some set whose transitive closure contains urelements, via a simple inductive argument we can find a pure set $B$ and relation $E$ on $B$ so that $(\mathrm{tc}(A),\mathord\in \upharpoonright \mathrm{tc}(A)) \cong (B,E)$. (And from this we can identify the copy of $A$'s urelements in $B$.) To use the example from the above paragraph, $\mathsf{ZFC}$ (formulated without urelements) proves that any model of $\mathsf{ZF}$ can be end-extended to a model of $\mathsf{ZF} + V = L$; the arguments involving the admissible cover can be simulated just using pure sets to get a proof that works in the no-urelements context.

5

If you have urelements, then you have objects that contain other objects (sets) or are empty, and objects that contain no other objects (urelements) and maybe you count $\emptyset$. As long as you are not trying to find objects in them, they are no different. So the only thing urelements give you are objects in which you are not allowed to take elements.

If you want to limit the $\in$-relation in this way for some set of urelements, you can do the following. You fix a set you do not care about. For example, you can think of all sets being generated in "stages" indexed by ordinals. In most of mathematics, you can limit how far you want to go, so you can take all sets generated at a certain sufficiently high stage, this will give you a set. Let $U$ be this set. You can then define $\in^*$ by $(x\in^* y)\iff (x\in y \wedge y\notin U)$. For the relation $\in^*$, the set $U$ is a set of urelements and for most of your applications, you will be able to replace $\epsilon$ by $\epsilon^*$. There might be applications where you have to choose $U$ differently, but there should usually be some set you do not care about. Otherwise, you really are doing set theory. So urelements are not needed on a formal level. If you want to have large categories encoded in set theories, you can just assume that really high stages exist, the existence of inaccessible cardinals. It helps to have an understanding of set theory when doing such constructions, but it is usually clear that one can avoid any trouble.

On a more philosophical level, you might be worried by the fact that for certain ways of encoding real numbers as sets, you have $3\subseteq \pi$. You might think this answers a question that shouldn't be even askable, and you would not be alone in this. But foundations need to be somewhat artificial. A picture is not an arrangement of pixels, but the possibility to do so allows us to represent pictures in a way in which can talk about the concept. Mathematics is full of different things and a common foundation kind of requires us to break this diversity to a few things. Luckily, the working mathematician does not need to worry constantly about foundations, so nobody forces you to commit to a particular, somewhat artificial, representation of the things you work with.

That every object in set theory but the empty set contains other sets brings additional structure that is useless baggage for many applications. For perspectives on the general question of whether this is avoidable, see the question Set theories without “junk” theorems?.

  • 1
    I like the likening of junk theorems to pixels in an image! – Asaf Karagila Nov 28 '16 at 18:15
  • 2
    I don't agree with "But foundations need to be somewhat artificial", in particular because there are non-artificial foundations. – HeinrichD Nov 28 '16 at 19:08
  • 3
    @Heinrich: Do you mean category-based approaches, or HoTT? Those are not necessarily natural for every field of mathematics. The important things about foundational research is not "my foundation is better than yours", but rather how these different approaches interact and interpret one another, so when someone finds HoTT more natural to work with, they will have an easy way of translating what someone preferring set theory is saying from a foundational point of view. – Asaf Karagila Nov 28 '16 at 19:12
  • @Michael: I really don't see how you conceive "questions that shouldn't be even askable". In English, you can certainly ask if countries are mammals, or any other nonsensical question. I see this as an artifact of the richness of the language, so I see nothing wrong with it. – Martin Argerami Nov 29 '16 at 02:32
  • @AsafKragila: rather than categorical foundations, maybe a "non artificial" foundation could be something in the vein of ETCS. It is still equivalent to set theory, but free of junk theorems. – Qfwfq Nov 29 '16 at 03:28
  • @Qfwfq: No foundation is free of junk theorems, unless you define a junk theorem as "something that isn't provable from ...". If you can encode some object into another object, you will either get an isomorphic copy, or you will get junk theorems. This is always the case with type casting. – Asaf Karagila Nov 29 '16 at 03:32
  • @AsafKragila: I see your point, and I agree. But I meant in ETCS, at least, we can't avoid worrying that $3\in \pi$. – Qfwfq Nov 29 '16 at 03:38
  • @Qfwfq: But you can worry that ${3}$ and ${\pi}$ are isomorphic, or that $\pi$ of $[0,\pi]$ and that of $\Bbb R$ are not the same object. Which is something to worry about if you are thinking in terms of concrete objects: you either have to remember things "up to isomorphisms" and then stop distinguish between singletons, or you cannot have the same element belonging to both a set and its subsets. I find that worrying. – Asaf Karagila Nov 29 '16 at 03:43
  • [typo: of course I meant to write "in ETCS we can avoid worrying (...)"] – Qfwfq Nov 29 '16 at 03:48
  • @Asaf: but, i think, ${ 3 }$ and ${ \pi }$ ought to be isomorphic: after all they're sets with the same cardinality. On the other hand, I don't really know ETCS enough to say if asking if $3$ and $\pi$ (without braces) are isomorphic is legitimate or not; but, if I understand the main concern of ETCS, it should not. – Qfwfq Nov 29 '16 at 03:55
  • 2
    @Qfwfq: My point is that if I want to think about sets in a concrete way, like we all naturally do, then $[0,\pi]$ is a subset of $\Bbb R$, but they are disjoint, and since elementhood is defined essentially by having a certain arrow from a singleton, it means that all the elements of all the sets are all isomorphic, so you stop being able to distinguish them. So the junk theorem are now due to the "extra-structure" imposed by these definitions, rather than "the ability to ask if $3\subseteq\pi$". (sorry, it's a very early morning for me.) – Asaf Karagila Nov 29 '16 at 04:01
  • @Qfwfq: And let me say that I feel that we both repeated our points enough times by now. I have written extensively about these sort of things on my personal website. Feel free to email me if you want to continue this discussion on a different platform. – Asaf Karagila Nov 29 '16 at 04:01
  • @Asaf: I don't understand the problem with not having "the same element belonging to both a set and its subsets". There is no "belonging" - there are just morphisms, that are in some relations with each other: for example, the situation $\pi \in [0,\pi] \subseteq \mathbb{R}$ could be encoded by the assertion that $J=j i$ where, say, $i:{\pi}\hookrightarrow [0,\pi]$, $j:[0,\pi]\hookrightarrow\mathbb{R}$, and $J:{\pi}\hookrightarrow \mathbb{R}$. (cont'd) – Qfwfq Nov 29 '16 at 04:04
  • (cont'd) But maybe I just don't know how ETCS really works (I naively assume that it's only about expressing things with the language of category theory, and avoiding "evil" statements). – Qfwfq Nov 29 '16 at 04:05
  • 3
    @Qfwfq: See? I don't understand the problem with having $3\subseteq\pi$ or not; these are just statements you can say. Exactly like "My dog is a table" or "Desk wants to talk to you". Sure, they can mean something in some context, but they don't really matter to us in an everyday communication, and they are certainly not a reason to worry that English is not a sufficient language for talking with other people. (Now I'm really signing off this comment thread.) – Asaf Karagila Nov 29 '16 at 04:06
  • @Asaf: Oh yes, sorry, I read your reply now: let's stop here then. :) – Qfwfq Nov 29 '16 at 04:07
3

A real number "is" an initial segment with no maximum in the linearly ordered set of all rational numbers. Or else a real number "is" an equivalence class of Cauchy sequences.

In the first case, the real number $1.4$ is a subset of the real number $\sqrt 2$, and of course that is nonsense, as seen by the fact that in the second case, it's not.

It is only in that sense that everything "is" a set. It is more accurate to say that everything can be encoded as a set.

Michael Hardy
  • 11,922
  • 11
  • 81
  • 119
  • 1
    A real number is an element of a complete ordered field, no? – David Roberts Nov 29 '16 at 06:20
  • @DavidRoberts : Yes. But I wonder if you have some point that's escaping me. – Michael Hardy Nov 29 '16 at 06:25
  • 1
    I was just highlighting the fact that (among other options) your seeming either/or is not exclusive :-) one can work without specifying any particular construction. – David Roberts Nov 29 '16 at 06:27
  • But that doesn't seem to bear on the point, which is that that is the sense in which everything "is" a set. – Michael Hardy Nov 29 '16 at 06:28
  • 8
    A real number is a function from $\omega$ to $\omega$. So no real number is a subset of another, nor it is an element of another. Now that everyone is happy about that, can we drop this tiring point already? – Asaf Karagila Nov 29 '16 at 06:44
  • 3
    @AsafKaragila: I thought that a real number was simply an element of an uncountable standard Borel space. =P – Burak Nov 29 '16 at 12:10
  • 4
    Of course some will argue that the natural number 7 "is not" equal to the real number 7, merely canonically identified with it. – Gerald Edgar Nov 29 '16 at 13:17
  • @Gerald Edgar: a perhaps more interesting question is whether the vector space $\mathbb{R}^2$ is equal to the set of all ordered pairs of real numbers. – Carl Mummert Nov 29 '16 at 15:11
  • 2
    @AsafKaragila : I hope there's at least some sarcasm in your comment, rather than just being intended literally. – Michael Hardy Nov 29 '16 at 19:21
  • 2
    @MichaelHardy: I think that Asaf's comment can be interpreted both ways. Whenever a set theorist talks about "reals", he or she usually means either the Baire space $\omega^{\omega}$ or the Cantor space $2^{\omega}$. (In some rare cases, they also refer to $\mathbb{R}$ as "reals"!) – Burak Nov 29 '16 at 20:46
  • 3
    And here I thought a real number was a fixed point of any order-2 field automorphism of any algebraically closed field of cardinality $\mathfrak c$. – Theo Johnson-Freyd Nov 30 '16 at 01:33
  • 3
    @Theo: That is particularly false. Look at the hyperreal numbers, their algebraic closure is an extension of order two, and conjugation fixes exactly the hyperreal numbers. I might be a bit wrong, though. – Asaf Karagila Nov 30 '16 at 05:17
  • @AsafKaragila : I'm pretty sure you're right about fixing precisely the hyperreals. – Michael Hardy Nov 30 '16 at 15:15
  • 2
    @Theo: It's not hard to calculate that ${}^\Bbb R$ has size continuum; and therefore its algebraic closure---which is an extension of order 2---also has the same cardinality. So yes, ${}^\Bbb C\cong\Bbb C$ as fields. – Asaf Karagila Nov 30 '16 at 15:28
  • 1
    @AsafKaragila Sorry, you are exactly right, which I realized as soon as I posted my (now deleted, but not before you saw it, it seems) comment. I knew these basic facts once. I think it is the case that an algebraically closed field admitting an order-2 field automorphism is necessarily (noncanonically) $\mathbb C$. I hadn't thought about the fact that different order-2 automorphisms might be in different conjugacy classes, and so might have different fixed sub-fields. – Theo Johnson-Freyd Nov 30 '16 at 15:30
  • 2
    In fact, if memory serves, only in characteristic $0$ are there any finite-order field automorphisms of algebraically closed fields. And I do think I at least get a totally-ordered field of fixed points. (I can reconstruct the order by declaring that fixed points are positive if they are squares of fixed points, and negative if their two square roots are interchanged by the chosen field automorphism.) I don't know if said totally-ordered field is a model of $\mathbb R$... I am just a physicist after all. – Theo Johnson-Freyd Nov 30 '16 at 15:38
  • 1
    @Theo: https://en.wikipedia.org/wiki/Real_closed_field and the Artin–Schreier theorem might be of interest. – Asaf Karagila Nov 30 '16 at 15:58
  • 1
    @AsafKaragila : That ${}^*\Bbb C$ and $\Bbb C$ are isomorphic as fields is really startling. – Michael Hardy Apr 15 '17 at 18:50
2

If we follow the category-theoretic notion that we only care about things "up to equivalence", then we actually have

"Everything is a set!" is equivalent to "Sets have urelements!"

More precisely, suppose we have some reasonable universe of sets with urelements in which the cardinality of every set is an ordinary cardinal number (e.g. the initial ordinal number of that cardinality). Define two categories:

  • SetU, the category of all sets (with urelements) and functions between them
  • Set, the full subcategory of SetU consisting only of ordinary sets

The premise implies that every object of SetU is isomorphic to an object of Set, and consequently we have an equivalence of categories SetU $\equiv$ Set.

On the presumption that everything is "built up" from the category of sets, we conclude that, up to equivalence, doing math with urelements is the same thing as doing math without urelements.

2

Within traditional set theory (and without abandoning it for category theory) one can make a compelling case that not everything is a set, or more precisely that the assumption that everything is a set is both limiting and counterproductive when dealing with fruitful frameworks that are conservative extensions of the traditional set theory.

Thus, Edward Nelson's Internal Set Theory is a way of working with infinitesimals within the ordinary real line, modulo foundational adjustments that involve introducing a richer language into set theory. Namely, one works not merely with an $\in$-language with with a $(\in,\mathbf{st})$-language. Here $\mathbf{st}$ is a one-place predicate "standard", where $\mathbf{st}(x)$ reads "$x$ is standard". To emphasize, Nelson's theory is a conservative extension of ZFC, unlike some of the other frameworks discussed in this space.

The point is that the collection of standard $x$'s is typically not a set, even when $x$ are ordinary (integer or real) numbers. Thus the new predicate violates the axiom of separation. A blanket assumption that "everything is a set" would make Nelson's approach incomprehensible.

Mikhail Katz
  • 15,081
  • 1
  • 50
  • 119
1

For an alternative view have a look at Vladimir Voevodsky's Univalent Foundations of Mathematics and Homotopy Type Theory. I found the talk of Sept 5, 2011 reasonable.

As a working Engineer with a strong interest in maths, this was something that sparked my interest - I think it was one of these posts, especially as it covers mechanisms that allow computer proofs (I use the Mathcad CAS as a core part of my daily work).