70

From what I have been told, everything in mathematics has a definition and everything is based on the rules of logic. For example, whether or not $0^0$ is $1$ is a simple matter of definition.

My question is what the definition of a set is?

I have noticed that many other definitions start with a set and then something. A group is a set with an operation, an equivalence relation is a set, a function can be considered a set, even the natural numbers can be defined as sets of other sets containing the empty set.

I understand that there is a whole area of mathematics (and philosophy?) that deals with set theory. I have looked at a book about this and I understand next to nothing.

From what little I can get, it seems a sets are "anything" that satisfies the axioms of set theory. It isn't enough to just say that a set is any collection of elements because of various paradoxes. So is it, for example, a right definition to say that a set is anything that satisfies the ZFC list of axioms?

John Doe
  • 3,233
  • 5
  • 43
  • 88
  • 10
    No, but it is in the right spirit. Rather, if you have a whole bunch of anythings that, together, satisfy the axioms, then you can say that the whole bunch is a model of the theory of sets. – Andrés E. Caicedo Sep 26 '15 at 17:15
  • 9
    Regarding your last comment, the idea isn't quite right; the axioms of ZFC define universes of sets rather than define sets, in the same way that the axioms you learn in linear algebra define vector spaces rather than define vectors. –  Sep 27 '15 at 00:10
  • 2
    A collection of objects are called sets, and a relation on those objects is called membership, if they satisfy the ZFC axioms (usually). Some highlights: There is a set with no members. There is a set with infinitely many members (skipping details on this one). Two sets are equal if they have the same members. The union of a family of sets exists. Etc. – Akiva Weinberger Sep 27 '15 at 06:49
  • 3
    But it is not true that everything in math has a definition ... – Mauro ALLEGRANZA Sep 27 '15 at 19:10
  • 4
    Every term in mathematics can not be defined.because, to define one term in mathematics or logic ,we need another term.so it is impossible to define everything. To draw a line on plain paper, at least we have to start from some point. Moreover, the Münchhausen trilemma, also called Agrippa's trilemma, purports that it is impossible to prove any certain  truth even in fields such as logic and mathematics. According to this argument, the proof of any theory rests either on circular reasoning, infinite regress, or unproven axioms. – ramanujan Sep 27 '15 at 20:39
  • 2
    For most of the uses a naive aproach is enough. To really strictly define it you have to dig down in details of mathematic foundation (fx ZF axioms, the formalism of first order logic and so on). It basically (in ZF set theory) boils down to everything (substantial) is a set - so the definition would be that $x$ is said to be a set if $\exists a:x=a$ (or any other formula that contains $x$). – skyking Sep 28 '15 at 08:36
  • 3
    See also http://math.stackexchange.com/a/1334753/21820. – user21820 Sep 28 '15 at 15:40
  • I'll chime in and politely disagree that "whether or not $0^0$ is $1$ is a simple matter of definition". Some definitions have precedence, in being more consistent with the pre-existing system than others. Some want $0^0$ to be undefined as reminder that there is a discontinuity in the function $a^b$ at that point. Others want 1 to be consistent with other use of the Binomial Theorem, etc. No one wants it to be $-{1 \over 12}$ because that would just be inconsistent with everything else. – Daniel R. Collins Sep 29 '15 at 05:53
  • Just for fun see Norman Wildberger's video about definition of set https://www.youtube.com/watch?v=dyCRPT6iFBg – Fallen Apart Sep 29 '15 at 18:11
  • Not everything in math is defined. For example, geometry starts with undefined terms. There can not be a definition of every term or otherwise there is an infinite regress and then there is no initial terms to define in math. However, some books in axiomatic set theory do provide a definition of a set. (y is a set) ≡ (For some x)(x∈ y or y = ∅) is the definition of a set in Patrick Suppes Axiomatic Set Theory. This is a perfectly acceptable definition of a set compatible with ZFC axioms. – Eric Brown Sep 29 '15 at 23:47
  • Note that "a vector" is not a thing you can define all on its own: it is really something that acts in the way vectors act, in relation to other vectors and some scalars (one doesn't need sets to do this, but that's a distraction for now). Likewise, one cannot define "a set" as a thing in isolation: it is a set because it acts the way we think sets act in relation to other sets. – theHigherGeometer Oct 01 '15 at 07:57
  • @BLAZE: I don't think that the new tag fits. – Asaf Karagila Jan 07 '17 at 06:25
  • @AsafKaragila Okay, very well, I leave it up to you to remove/replace the tag as you see fit since you are more qualified to choose which tags reflect the question best than I am. – BLAZE Jan 07 '17 at 11:31

13 Answers13

91

Formally speaking, sets are atomic in mathematics.1 They have no definition. They are just "basic objects". You can try and define a set as an object in the universe of a theory designated as "set theory". This reduces the definition as to what we call "set theory", and this is not really a mathematical definition anymore.

In naive settings, we say that sets are mathematical objects which are collections of mathematical objects, and that there is no meaning to order and repetition of the objects in the collection.

And when we move back to formal settings, like $\sf ZF,NBG,ETCS,NF$2 or other set theories, we try to formalize the properties we expect from sets to have. These may include, for example, the existence of power sets, or various comprehension schemata. But none of them is particularly canonical to the meaning of "set".

These are just ways to formalize, using a binary relation (or whatever you have in the language), the idea of membership, or inclusion, or whatever you think should be the atomic relation defining sets. But as for a right definition? In this aspect "set" is as Platonic as "chair" or "number" or "life".


Footnotes:

  1. This assumes that you take a foundational approach based on set theory. There are other approaches to mathematics, e.g. type theory, in which the notion of "type" is primitive, and sets are just a certain type of objects.

    Sufficiently strong set theories can interpret these foundations as well, reducing them to sets if you choose to, or not if you choose not to.

  2. These are Zermelo-Fraenkel, von Neumann-Goedel-Bernays, Elementary Theory of Category of Sets, and New Foundations. These are not the only set theories, of course. And the point of the answer is that these just offer formal frameworks for the notion of "set" as a primitive object (in one way or another).

Asaf Karagila
  • 393,674
  • 4
    It is good to see that your writing prowess hasn't waned over the years. :) – Lord_Farin Sep 26 '15 at 18:02
  • 13
    @Lord_Farin: I haven't even finished my Ph.D., what "over the years" are you talking about? I'm not done honing my writing skills, let alone my mathematical or my philosophical chops. :-) (But thanks, I guess!) – Asaf Karagila Sep 26 '15 at 18:39
  • 5
    Just the years that I've had the pleasure of reading your answers on this site :). – Lord_Farin Sep 26 '15 at 18:52
  • 7
    Let's revisit this in a decade, eh? :-) – Asaf Karagila Sep 26 '15 at 18:53
  • Sorry to bother you with this suggested edit. I didn't know that explaining the meaning of the mentioned abbreviations is not your intention. I didn't know them and thought this would improve the post. – null Sep 27 '15 at 18:34
  • 2
    Your first paragraph reminds me of an abstract of a recent talk of Lawvere: "I propose to continue the following dialog: ‘What is a space?’ ‘A space is an object in a category of spaces.’ ‘So what is a category of spaces?’" – Zhen Lin Sep 27 '15 at 20:31
  • 2
    @ZhenLin: Hah. We can continue this in three days, when I'm sitting on the bridge of the river Cam. :-) – Asaf Karagila Sep 27 '15 at 20:46
  • 2
    @null: I'm sorry that you feel that way, and that you think this answer deserves a downvote because I rejected your edit. I don't think it was very helpful. Mostly because there was really no reason to add those links. The entire point is that it does not matter what formal system you're using, or what are its axioms. If someone is so inclined, they can google " set theory" and find out. The point is that each formal system proposes rules for what sets should behave like, and these are essentially different from one another. – Asaf Karagila Sep 27 '15 at 20:47
  • 2
    I was so inclined and did find out (at least for 3 of them). I fail to understand how this is supposedly intended behaviour but editing in the result is not. – null Sep 27 '15 at 21:46
  • @AsafKaragila Hah, perhaps we will. I should be in the office. – Zhen Lin Sep 28 '15 at 00:21
  • @AsafKaragila: Thank you for the answer. Would you be able to give a bit more background/detail? I have started a bounty for this. – John Doe Sep 28 '15 at 17:15
  • 2
    @John Doe: I'm not quite sure what "background/detail" would be in this context. – Asaf Karagila Sep 28 '15 at 21:49
  • Inadvertently down-voted. I can undo it if you make a make a small change. – Dan Christensen Sep 29 '15 at 04:32
  • Asaf, you write that sets have no definition. But this is one feature of HoTT, that sets have a definition, namely as $0$-truncated types. Unfortunately, goblin's answer on this has been deleted. – Martin Brandenburg Sep 29 '15 at 08:44
  • @Martin: So what is the definition of a type? You can interpret sets via other means as well. It all a question of what you want to take as primitive. – Asaf Karagila Sep 29 '15 at 09:04
  • Yes, and in HoTT types are primitive. From this perspective, you can define sets. Therefore I don't agree with "there is no definition of sets". This is kinda outdated, and depends on the context. – Martin Brandenburg Sep 29 '15 at 12:48
  • @Martin: I don't know, because HoTT is just some structure imposed on sets. So... I disagree with "kinda outdated". I guess it depends on the foundational choice. – Asaf Karagila Sep 29 '15 at 12:56
  • "HoTT is just some structure imposed on sets." - This is not correct. Please read the introduction of the HoTT book. – Martin Brandenburg Sep 29 '15 at 13:43
  • @Martin: You won't hear a Christian preacher telling you that Christian belief can, essentially be interpreted inside Judaism. And you won't see a book about one foundational approach to mathematics telling you it can be reduced to a different kind of foundation. Of course the HTT book won't tell you that you can interpret it inside set theory. Why would it? – Asaf Karagila Sep 29 '15 at 16:42
  • @Martin: Despite all I said, it is a good point that I have clarified in my post. – Asaf Karagila Sep 29 '15 at 17:16
  • @Dan: I have added two footnotes, so if you want to undo you vote, you're welcome to do it now. – Asaf Karagila Sep 29 '15 at 17:17
  • Which set theory are they talking about when they say that the thing which has, say, all the rings is not set? Why is not good to consider such a thing a set? – leo Sep 30 '15 at 04:57
  • 2
    @leo: That's a good question. In a nutshell, we prefer set theory that is easy to work with. Which means that limiting the comprehension schema (which was shown to be inconsistent by the many paradoxes of naive set theory) should be reasonably easy to work with. As a consequence there is no set of all sets. If there was a set of all rings, and every set can be made into a ring, there would be a set of all sets. That's impossible. I wrote a bit more on the topic (in this answer)[http://math.stackexchange.com/a/909772/622]. – Asaf Karagila Sep 30 '15 at 07:48
  • @John Doe: Please let me know if the edit improved things. I'd be very happy to extend my answer as much as I can, but I'm not entirely sure what sort of additions you're looking for. – Asaf Karagila Sep 30 '15 at 22:11
  • @AsafKaragila: I was looking for something along the lines of what Markus Scheuer and Mauro ALLEGRANZA write in their answers. – John Doe Oct 05 '15 at 14:45
  • 1
    @John Doe: Okay. If I had known before hand, I might have had the time to try and edit my answer. I guess it will have to wait a few days, because I have prior engagements coming up. But I'll try to extend my answer in a helpful way. – Asaf Karagila Oct 05 '15 at 14:47
  • @AsafKaragila With less than 2 hours remaining it looks like this bounty will be awarded to you automatically but at half, which is not great considering what you've given to this post. – BLAZE Oct 05 '15 at 15:11
  • @BLAZE: That is not true on several accounts, actually. First of all, there is a 24 hours period to manually award the bounty. Secondly, my answer was written before the bounty was set, so it is not up for "half the bounty automatically". So either I get the bounty, or I don't get anything. Whatever the result is, I am just happy to write these answers (since I get a lot from them). – Asaf Karagila Oct 05 '15 at 15:58
  • @AsafKaragila Okay, I'm glad to hear it, you truly deserve it. – BLAZE Oct 05 '15 at 16:07
  • @AsafKaragila: If it helps, I can give you a 75 point bounty later or we can agree that I give you a 300 point bounty when I have enough reputation. Sorry for not checking your comment earlier. I am not on every day. – John Doe Oct 05 '15 at 17:16
  • @AsafKaragila: You know, thinking about it. If you promise to expand, I will give you this 300 bounty. Then I can give the others bounties as I get reputation. (I still have 24 hours to award the bounty) Deal? – John Doe Oct 05 '15 at 17:17
  • 1
    @John Doe: I rather you give someone else the bounty (my vote is Mauro), and if you like my edit, then you can accept my answer or give it another bounty, or whatever you want. – Asaf Karagila Oct 05 '15 at 17:24
  • @AsafKaragila: Sounds good. – John Doe Oct 05 '15 at 17:32
  • @John Doe: In the meantime, you should clarify this for me. You pointed at two answers here. But one of them really just focused on why the axiom of choice is a reasonable axiom to include in your list, and some related consequences; whereas another answer focused on comparison between set theory and geometry in some aspects. Those are two very different things. Are you looking for justifications for the axioms of one system or another, or are you looking for more parallels with other theories? – Asaf Karagila Oct 06 '15 at 07:05
  • @AsafKaragila: You are right. I was looking for a bit more background (historical/philosophical/...) on the question of the definition of a set. I understand now that there essentially isn't a definition of a set, but then I am still left wondering what set theory is all about. Why isn't there a definition? How can I determine if something given is a set when I don't have a definition to match it up against? Where exactly is the line between the formalism that I have seen emphasized in mathematics and the semi philosophical talk about sets? – John Doe Oct 06 '15 at 19:37
  • (cont.) So by background, I was really thinking about questions like these. – John Doe Oct 06 '15 at 19:37
  • 1
    @John Doe: Well, just a short comment, you don't have a definition of a set in set theory for the same reason you don't have a definition of a group in group theory. You have a definition of a group, as something with some properties and axioms. But that is not a definition in group theory. As I said, in set theory, sets are [generally] atomic notions, they are not defined in terms of other things. They just are. This is essentially what bof writes in their answer, and I agree to that. In any case, I will try to accommodate your question in my edit, whenever that happens (I hope that soon!) – Asaf Karagila Oct 06 '15 at 20:02
  • I keep wanting to give you a bounty for this, but I don't know why I can't start a new one. – John Doe Oct 21 '15 at 13:34
  • @John Doe: You have to double the previous bounty. Which means you can only give 500 bounties. But it's fine, you shouldn't feel obligated. – Asaf Karagila Oct 21 '15 at 13:52
  • @AsafKaragila: Ok, well I probably wouldn't get to 500 any time soon. – John Doe Oct 21 '15 at 13:58
  • 1
    @John Doe: Don't sweat it. I have enough reputation. As long as I know I was helpful to you, and to others, it's its own reward. – Asaf Karagila Oct 21 '15 at 13:59
29

So is it, for example, a right definition to say that a set is anything that satisfies the ZFC list of axioms?

That is almost correct, but not quite. A set on its own does not satisfy the ZFC axioms, any more than a vector on its own can satisfy the vector space axioms or a point on its own can satisfy the axioms of Euclidean geometry.

In school, especially early on, we tend to go from specific to general. First, you learn the numbers 1 through 10 as a young child. Later, you learn larger natural numbers. Finally, much later, you start to talk about the set of all natural numbers.

But things go the other way in advanced mathematics. The definition of a vector space does not start by saying what a "vector" is. The definition of a vector space just give properties that a set of vectors must have with respect to each other to make a vector space.

The same holds for set theory. Instead of saying "a set is anything that satisfies the ZFC list of axioms", you need to start with the entire model of set theory. Then, it does make sense to say, for example, that a ZFC-set is an object in a model of ZFC set theory. Of course, there are several axiom systems for set theory, which a priori have different kinds of "sets". (Of course, there are many vector spaces with different kinds of "vectors" as well.)

When we learn the definition of a vector space, we have some intuitive examples such as $\mathbb{R}^2$ and $\mathbb{R}^3$ to guide us. For set theory, we have examples such as subsets of $\mathbb{N}$ and $\mathbb{R}$, and pure sets such as $\{\emptyset, \{\emptyset\}\}$. These help us understand what the axioms are trying to say.

Carl Mummert
  • 81,604
  • I'd say that's almost correct but not quite. Just how do you define model? Aren't you working in set theory already with "set" as a given concept? – user21820 Sep 28 '15 at 15:02
  • @user21820 I don’t understand this comment: How is he already working in set theory? The word model here was used only to convey the message „between humans“; it isn’t really necessary for a „formalist“/platonic formulation – Maximilian Janisch May 26 '19 at 22:12
  • @MaximilianJanisch: There can be no such notion as a "model of ZFC set theory" if you don't even work within some meta-system, whether formal or informal, that has some kind of "sets". The fact that Frege's original system was inconsistent should tell you something: Your notion of "collection" may be completely different from mine, or worse still inconsistent with your other assumptions, and you may be unaware of it. Thus you cannot meaningfully talk about models of ZFC with me if we don't share the same meta-system. I hope this makes my original 4-year-old comment clearer. – user21820 May 27 '19 at 16:08
  • @user21820 Does it matter though if my notion of collection is the same as yours, as long as we follow the same rules? – Maximilian Janisch May 27 '19 at 16:20
  • 1
    @MaximilianJanisch: Yes, as long as we follow the same rules we're still fine; because we both would agree that the rules are meaningful even if we don't know for sure that we ascribe the same meaning to them. That's what I mean by "share the same meta-system". Ultimately, the only way we can pin down what we 'mean' with 100% precision is via formal rules. – user21820 May 27 '19 at 16:23
28

Sets have members, and two sets are the same set if, and only if, they have the same members.

That is not quite enough to characterize what sets are.

For example, is the set of all sets that are not members of themselves a member of itself? If so, you get a contradition, and if not, you get a contradiction. The "class" of all sets is "too big to be a set", and that simply means you cannot apply to it all the operations you can with sets. The same thing forbids the class of all groups to be a set of all groups: if it were a set, then the set of permutations of its members would be a group, and would therefore be a member of the set of all groups, and that leads to problems like those of the set of all sets that are not members of themselves. Likewise, the class of all vector spaces is not a set, etc. These "proper classes" differ from "sets" only it that they are not members of any other classes.

E. Kamke's Theory of Sets and Paul Halmos' Naive Set Theory are fairly gentle, if moderately onerous, introductions to "naive" set theory. In "naive" set theory, sets are collections of things. In "axiomatic" set theory, sets are whatever satifies the axioms. Halmos inadvertenly coined the term "naive set theory" by naming his book that, when he mistakenly thought the term was already in standard use.

  • 3
    Do you have any historical backing for the last claim about "naive set theory"? – Asaf Karagila Sep 26 '15 at 21:45
  • 3
    @AsafKaragila : I think it's in Halmos's autobiography. ${}\qquad{}$ – Michael Hardy Sep 26 '15 at 22:19
  • And just how do you define "class"? If you can't even vaguely pin it down then what you wrote above does not make any sense. @goblin's answer was the only one that really got the point, but I'm sad to see it deleted. – user21820 Sep 28 '15 at 15:24
  • @user21820 : I think on this one I'll refer you to the books. – Michael Hardy Sep 28 '15 at 15:31
  • @MichaelHardy: Haha I already know ZFC, in which "set" cannot be defined, so some set theorists prefer to work in a certain class theory called MK set theory, where there is the class of sets, but again "class" cannot be defined. That's why goblin's answer is right on the mark. – user21820 Sep 28 '15 at 15:38
  • @user21820 : In a context not much different from ZF, "set" can be defined as a class that is a member of another class. ${}\qquad{}$ – Michael Hardy Sep 28 '15 at 15:53
  • That is precisely what happens in MK (Morse-Kelley) set theory. Why don't you check it up? But as I said, in MK set theory you cannot define class. You may also be interested to read the post I linked to, where I give an extremely brief description of the type of circularity inherent in such definition chases. =) – user21820 Sep 28 '15 at 16:23
  • In ZF,a definable class may be considered as an abbreviation for a formula or expression. For example, there is a very long formula F in one free variable that defines Godel's class L of constructible sets. So $F(x)$ asserts that $x$ has some specified property.... We write $x\in L$ to abbreviate $F(x)$ because writing out $F$ in full takes pages. A definable class may or may not be a set. If it isn't,it's called a proper class.The "class" terminology does not introduce new axioms in ZF but it would be terribly inconvenient to do without it. – DanielWainfleet Oct 03 '15 at 06:55
14

Sets are self-defined; what you're asking here is equivalent to asking: What is the definition of a definition?

In any case, here is the $\color{red}{\mathrm{old}}$ "definition" of a set:

A set is a collection of 'things'.

There are some who still accept this "definition".

However, suppose we have the set of all sets $S$ defined by $$S=\left\{x \mid x \space \mathrm{is}\space\mathrm{a}\space\mathrm{set} \right\}$$ and $R$ the set of all sets that do not have themselves as an element defined as $$R=\left\{x \mid x \space \notin x \right\}$$ From this we can ask is $R$ an element of $R$?

If yes, then $R \in R \implies R \notin R$

If no, then $R \notin R \implies R \in R$

This is a contradiction and is known as Russell's Paradox.

This paradox was later resolved by Ernst Zermelo and Abraham Fraenkel and is known to be the Zermelo–Fraenkel set theory. Hence the $\color{blue}{\mathrm{new}}$ "definition" is the axiomatic set theory and is the most fundamental foundation of mathematics.

So to summarize:

There is no definition of a set. As a set is already a self-defined entity.

BLAZE
  • 8,458
  • 12
    It is certainly true we (almost?) all were told that, in high school and earlier. But it should certainly be noted this "definition" does nothing but inspire the question <<What is a collection?>>, and we're back to the start because collection is just a synonym. Therefore we actually prefer to assume sets as first principles, left undefined and used to define other objects. – Vincenzo Oliva Sep 26 '15 at 21:49
  • 3
    @Blaze: that's certainly not "all there is to it". Your point of view was Frege's and it was torn to pieces by Russell's Paradox more than a hundred years ago. – Martin Argerami Sep 27 '15 at 05:58
  • @Martin Lets not bring Ludwig into this one. If you think you can answer better, then go ahead, make my day. I knew right from the beginning when OP first asked this it would be subject to controversy. That's why I said this is such a deep question. If this is not the definition of a set then fine by me; there is no definition of it, but please tell me how did Russell's Paradox resolve this. – BLAZE Sep 27 '15 at 09:43
  • @Vincenzo Yes I agree with you completely, every new definition brings another undefined word that brings another undefined word and so on. Could we not just agree that if there was a definition of a set then this would be possibly the closest thing to it? – BLAZE Sep 27 '15 at 09:55
  • @BLAZE: I have no idea who "Ludwig" is. And there is no controversy, Russell's paradox shows that an idea of set like you wrote leads to contradiction and thus has no place in mathematics. The paradox does not solve anything but it led, more than a hundred years ago, to a properly axiomatization of set theory. – Martin Argerami Sep 27 '15 at 11:13
  • @Martin "I have no idea who "Ludwig" is". So you've never heard of this person? This is just to check we are both referring to the same person, I call him as Ludwig Frege, sorry if that caused confusion. I fully acknowledge and accept the positive criticism you have provided. But yet still the OP asked for a definition of a set not for an "axiomatization of set theory". – BLAZE Sep 29 '15 at 07:52
  • 2
    To my shame, I have to admit that until a minute ago I thought his first name was Gottlob. The OP's question is more subtle than that: it asks for confirmation that in modern mathematics "set" is just an object that satisfies a certain list of axioms; this has been the view for the last hundred years. – Martin Argerami Sep 29 '15 at 08:42
  • @Martin Then maybe I have it wrong and his first name really is Gottlob – BLAZE Sep 29 '15 at 08:45
  • It doesn't look like that in the Wikipedia article, looks as if Gottlob Frege is the last name. – Martin Argerami Sep 29 '15 at 08:47
  • 2
    "Friedrich Ludwig Gottlob" are the given names (all three were rather common German first names at the time), "Frege" is the family name. Apparently, he was generally called "Gottlob". – jcsahnwaldt Reinstate Monica Sep 29 '15 at 12:04
  • 2
    @Jona That was helpful to know, thank you for pointing that out for me. – BLAZE Sep 29 '15 at 12:06
13

Long Comment to Asaf's answer, trying to add some more background.

We can compare the issue regarding the "definition" of set with Geometry.

Euclid's Elements opens with five definitions :

  1. A point is that which has no part.

  2. A line is breadthless length. [...]

  3. A surface is that which has length and breadth only.

They can be of some help in grasping the basic concepts, but hardly they can be conceived as real definitions at all.

In 1899 David Hilbert's published his groundbraking book on the axiomatization of geometry : Grundlagen der Geometrie, based on previous lectures. These are the first paragraphs (page 3) :

Let us consider three distinct systems of things. The things composing the first system, we will call points and designate them by the letters $A, B, C,\ldots$; those of the second, we will call straight lines and designate them by the letters $a, b, c,\ldots$; and those of the third system, we will call planes and designate them by the Greek letters $\alpha, \beta, \gamma, \ldots$. [...]

We think of these points, straight lines, and planes as having certain mutual relations, which we indicate by means of such words as “are situated,” “between,” “parallel,” “congruent,” “continuous,” etc. The complete and exact description of these relations follows as a consequence of the axioms of geometry.

Hilbert's work on foundations of mathematics and logic has been called Formalism and it is still the prevailing philosophical view between "working" mathematicians.


For set we can consider Georg Cantor's mature definition of set in "Beiträge zur Begründung der transfiniten Mengenlehre", Mathematische Annalen (1895-97, Engl.transl.1915 - Dover reprint), §1, page 85 :

By an "aggregate" (Menge) we are to understand any collection into a whole (Zusammenfassung su einem Ganzen) $M$ of definite and separate objects $m$ of our intuition or our thought. These objects are called the "elements" of $M$.

Compare it with a modern textbook on set theory : Nicolas Bourbaki, Elements of Mathematics : Theory of sets (1968 - 1st French ed : 1939-57), page 65 :

From a "naive" point of view, many mathematical entities can be considered as collections or "sets" of objects. We do not seek to formalize this notion, and in the formalistic interpretation of what follows, the word "set" is to be considered as strictly synonymous with "term". In particular, phrases such as "let $X$ be a set" are, in principle, quite superfluous, since every letter is a term. Such phrases are introduced only to assist the intuitive interpretation of the text.


Thus, from a mathematical perspective, points and lines are "things" satisfying the axioms of geoemtry; in the same way, sets are "objects" satisfying the axioms of set theory.

Of course, also if a definition "inside" set theory of the notion of set is impossible, we can still have attempts to elucidate the notion of set from a philosophical perspective.

See e.g. Paul Benacerraf & Hilary Putnam (editors), Philosophy of Mathematics: Selected Readings, (2nd ed : 1983), Part IV. The concept of set.

11

The definition of set depends on what kind of set theory you're using. Here are two examples.

In the kind of set theory described in the appendix of John L. Kelley's General Topology (available at the Internet Archive), the so-called Morse-Kelley set theory, a set is is something which is an element of something else. (Element is undefined; you can't define everything.) In symbols: $$x\text{ is a set }\iff\exists y\ (x\in y)$$

In the very popular Zermelo–Fraenkel set theory, set is not only not defined, it is not even an undefined term; there is no need to speak of sets because everything is a set. If you insist on defining such a useless term, you could use the same definition as in Morse-Kelley set theory, or more simply: $$x\text{ is a set }\iff x=x$$

bof
  • 78,265
10

One of the reasons mathematics is so useful is that it is applicable to so many different fields. And the reason for that is that its logical structure starts with "undefined terms" that can then be given definitions appropriate to the field of application. "Set" is one of the most basic "undefined terms". Rather than defining it a-priori, we develop theories based on generic "properties" and allow those applying it to a particular field (another field of mathematics, or physics or chemistry, etc.) to use a definition appropriate to that field (as long as it has those "properties" of course).

user247327
  • 18,710
7

Note: According to OPs formulation in the bounty text this answer is aimed to give at least a glimpse of some aspects around the definition of set and set theories with focus on the axiom of choice. The top voted answers already contain the essential information.

On the definition of sets:

In modern times sets (and all other mathematical objects) are defined not in order to specify what they are but instead what we want to do with them. This led to different set theories which emerged essentially due to three different strands and common to all of them was the goal to develop a substantial mathematical theory.

  • Set theory as a tool in understanding the infinite leading to the theory of cardinals and ordinals. We owe Georg Cantor the fundamentals of this theory who did it more or less single-handed and against all odds.

  • Set theory as foundation of supplying the subject matter of mathematics. This claim reflects the mainstream and in many books we can find something like set theory is the foundation of mathematics.

  • Set theory as supplier of a common mode of reasoning for diverse areas of mathematics. This is strongly related with the second strand and the axiom of choice is a famous set-theoretical principle of this type.

This reasoning from M. Potter's Set Theory and It's Philosophy is followed by

The history of such theories is now a century old ... - and yet there is, even now, no consensus in the literature about the form they should take.

Conclusion: There is no widely agreed single set theory which is favored by the mathematicians from which we could derive a right definition of a set. Instead depending on the area of research and the richness of results within these areas different set theories like ZF, ZFC, etc. are taken as their basis.


Set theory today:

Presumably most of the daily work is explicitly or implicitely based upon ZF, ZFC or a somewhat weaker version in between. But we should be aware that each of these set theories has benefits as well as drawbacks.

U. Felgner writes in Models of ZF-Set theory

We believe that the ZF-axioms describe in a correct way our intuitive contemplations concerning the notion of sets. The axiom of choice (AC) is intuitively not so clear as the other ZF-axioms are, but we have learned to use it because it seems to be indispensible in proving mathematical theorems. On the other hand (AC) has strange consequences, such as every set can be well-ordered and we are unable to imagine a well-ordering of the set of real numbers.

Besides the well-order theorem (WOT) there are many other equivalents to the AC which are then also to accept.

Historical aspects around AC:

Some mathematicians had difficulties deciding for or against this axiom e.g. van der Waerden:

In 1930, van der Waerden published his Modern Algebra, detailing the exciting new applications of the axiom. The book was very influential, providing Zorn und Teichmüller with a proving ground for their versions of choice, but van der Waerden's Dutch colleagues persuaded him to abondon the axiom in the second edition of 1937. He did so, but the resulting limited version of abstract algebra brought such a strong protest from his fellow algebraists that he was moved to reinstate the axiom and all its consequences in the third edition of 1950. (P. Maddy, 1988)

H. Herrlich summarizes the historical development in his Axiom of Choice

After Gödel (1938) proved the relative consistency of the Axiom of Choice by constructing within a given model of ZF a model of ZFC, the proponents of AC gained ground. Most modern textbooks take AC for granted and the vast majority of methematicians use AC freely.

However, after Cohen (1963) proved the relative consistency of the negation of AC and, moreover, provided a method, called forcing, for producing a plethora of models of ZF that have or fail to have a wide range of specified properties, a growing number of mathematicians started to investigate the ZF world by substituting AC by a variety of possible alternatives, sometimes just by weaking AC and sometimes by replacing AC by axioms that contradict it.

And with respect to a true definition of sets he continues

All this work demonstrates how useful or convenient such axioms as AC and its possible alternatives are. But the question of the truth of AC is not touched, and Hilbert's First Problem remains unanswered. It is conceivable, even likely, that it will never be solved, despite Hilbert's optimistic slogan expressed in his Paris lecture: in mathematics there is no ignorabimus.


Pros and Cons of AC:

Herrlich's book is an interesting source of information around AC. He presents many equivalents of AC and some related concepts to AC. The main part are the chapters Disasters without Choice consisting of 11 sections organised by mathematical disciplines and the chapter Disaster with Choice consisting of 2 sections. To get a glimpse about such consequences I pick out two, three easy understandable examples:

From Section 4: Disasters without Choice

Section 4.4: Disasters in Algebra I: Vector Spaces

In ZFC every vector space is uniquely determined, up to isomorphism, by a single cardinal number, its dimension. Each of the two fundamental results which together enable us to associate dimension with a given vector space fail badly in ZF.

Disaster 4.42: The following can happen:

  1. Vector spaces may have no bases
  2. Vector spaces may have two bases with different cardinalities.

Theorem 4.44: Equivalent are:

  1. Every vector space has a basis
  2. AC

Section 4.6: Disasters in Elementary Analysis: The Reals and Continuity

Disaster 4.53: The following can happen

  1. $\mathbb{R}$ may fail to be Fréchet, i.e., not every accumulation point $x$ of a subset A may be reachable by a sequence $(a_n)$ in $A$.

... (9 more to follow)

Though the Axiom of Choice is responsible for many beautiful results, it is equally responsible for the existence of several dreadful monstrosities - unwelcome and unneeded.

From Section 5: Disasters with Choice

Section 5.1: Disasters in Elementary Analysis:

Definition 5.1: The equation $f(x+y)=f(x)+f(y)$ is called the Cauchy-equation

Consider a function $f:\mathbb{R}\rightarrow\mathbb{R}$ that satisfies the Cauchy-equation for all real $x$ and $y$. Then it is easily seen that

  • $f(r\cdot x)=r\cdot f(x)$ for all rational $r$ and real $x$, i.e. $f$ is $\mathbb{Q}$-linear.

In particular:

  • $f(r)=f(1)\cdot r$ for all rational $r$.

And continuity of $f$ would imply

  • $f(x)=f(1)\cdot x$ for all $x\in \mathbb{R}$

Are there solutions of the Cauchy-equation that fail to be continuous? None has ever been constructed and in ZF none will ever be. However the Axiom of Choice guarantees the existence of such monsters; even worse, under AC there are far mor undesirable solutions of the Cauchy-equation than there are desirable ones:

Disaster 5.2: In ZFC there are

  1. $2^{\aleph_0}$ continuous solutions $f:\mathbb{R}\rightarrow\mathbb{R}$ and

  2. $2^{(2^{\aleph_0})}$ non-continuous solutions $f:\mathbb{R}\rightarrow\mathbb{R}$ of the Cauchy-equation.

Conclusion: It is good to be aware that there are benefits and drawbacks in ZF as well as ZFC and it's plausible that this is also the case for other set theories. So, there is no true definition of a set theory as framework for a true definition of a set.

Two hints:

A classic source to read and think about sets is Naive Set Theory by P. Halmos. It presumably covers most of the aspects around sets you might need for daily work.

On the other hand if you are curious, to see which functions in real analysis can be defined or not be defined according to underlying set theories, you may want to have a short look into Strange Functions in Real Analysis.

Markus Scheuer
  • 108,315
  • 2
    I think you focus a bit too much around the axiom of choice, and it's sort of a red herring. – Asaf Karagila Sep 29 '15 at 12:05
  • @AsafKaragila: I don't agree (at the time), since OP was pointing to ZFC as final statement in his question. But, if it becomes obvious that my answer is not helpful, I will delete it. Best regards, – Markus Scheuer Sep 29 '15 at 12:32
  • I didn't say not helpful. I just think that you treat the choice part quite extensively, while ignoring the deeper question "what is a set" (since every model of $\sf ZFC$ can be extended to a larger model of $\sf ZFC$, and between them lie models of $\sf ZF$, focusing solely on choice aspects of sets sorta misses the point. – Asaf Karagila Sep 29 '15 at 22:21
  • 2
    (+1) for an answer that has revealed to me a few facts I didn't know, better than the usual hurrah stories about Cantor's paradise. – Han de Bruijn Oct 01 '15 at 19:41
  • @HandeBruijn: Thanks for your nice comment. In fact I had two aspects in mind, when I was thinking about an answer. At first OP had pointed to ZFC as if it would be the solution to fix all problems. I wanted to show some pros and cons of AC so that OP could relativise this position. Furthermore a right definition of a set or better set theory has also to be analysed with respect to its capabilities describing infinities (ordinals, cardinals). It is curious that this fundamental property of sets is hardly addressed in the answers. – Markus Scheuer Oct 01 '15 at 21:16
5

"So is it, for example, a right definition to say that a set is anything that satisfies the ZFC list of axioms?"

Well, that can't be right, or it would make a sheer nonsense of the idea that there are alternative theories of sets which deviate from ZFC -- like NF, for example.

You might find this article on Alternative Axiomatic Set Theories interesting and illuminating.

Peter Smith
  • 54,743
5

I will be using the definition of a set most commonly used in mathematics and the real world.

A set is, simply put, a list. Anything is a set. One way to denote a set is to surround a list of elements separated with commas with brackets. A set of my favorite ice-cream types might be $\{Chocolate, Vanilla, Strawberry\}$. Sets can have one element: $\{5\}$ is an element where the only member is the number $5$. Sets can also be empty: $\{ \}$. The empty set is also denoted by $\emptyset$ (when written, it looks more like $\varnothing$). There are also infinite sets: $\{0,1,2,3,4\cdots\}$ is the set of whole numbers. Sets can even have sets as members, for example $\{\{1,2,3\},\{2,3,4\},\{3,4,5\}\}$ is also a set.

Some sets have a rule, for example if the member of our sets are all coordinates, and $y=x$, then we can call the locus of coordinates where $y=x$ a set of vertices. There are an infinite number of such coordinates, including $(0,0), (\pi,\pi), and (\sqrt2,\sqrt2)$. Another function might be: given the domain of Bob, Alice, and Charlie, the output is their favorite ice-cream types. This function can be considered a set: $\{(Bob,Vanilla), (Alice, Chocolate), (Charlie, Chocolate)\}$.

The ZFC list of axioms is just a list of rules that all sets have to follow - they don't really define a set. Sets have to follow the axioms, for example, one axiom claims the existence of a Power Set of a set - the Power Set of a set $S$ contains all subsets of $S$ including $\emptyset$ and $S$ itself, for example, the power set of $\{1,2\}$ is $\{\emptyset,\{1\},\{2\},\{1,2\}\}$. However, not all axioms apply, for example, one axiom claims the existence of one and only one empty set ($\emptyset$). A set can’t really “satisfy” this axiom.

Hope this helps. (If I didn’t completely answer your question, feel free to comment and I’ll fix my answer).

EDIT: A set's order does not matter (this is one thing that distinguishes sets from sequences).

2

Definition 0. A set is an $\infty$-groupoid in which every two parallel $1$-cells are equal.

Okay, but what the heck is an $\infty$-groupoid? Well, we can define it like so:

Definition 1. An $\infty$-groupoid is an $\infty$-category in which every $n$-cell is invertible, for all $n \in \mathbb{N}$.

But now the same problem asserts itself: after all, what in the world is an $\infty$-category?

At some point, you have to stop. You have to pick an object that is never defined, whether that be "natural number" or "set" or "$\infty$-groupoid" or "$\infty$-category" or whatever. And instead of defining the objects you wish to study, you instead specify a formal system that grants some ability to reason about those objects. Basically, a formal system consists of some strings of characters (called "axioms") together with inference methods that go something like so: "If the following strings of characters are written down.... $s_1,\ldots,s_n$, then you can write down the string $t$." A sufficiently powerful formal system can therefore provide a foundation for mathematics, by telling us how to reason about sets or $\infty$-groupoids or whatever. Often, we oversimplify by saying: "A foundation of mathematics is a list of axioms." This is an oversimplification, because without inference methods, we can't write down any further strings! Anyway, this is a handy way of talking, so it remains common.

If we wish to stop at "set" and list axioms that govern how sets behave (rather than trying to define what sets are), the most popular approach is ZFC. Basically, ZFC is a list of axioms about sets: for example, one of these axioms says: "If you have a set $X$, then the set of all subsets of $X$ exists." (Axiom of Powerset). Of course, these axioms alone are pretty useless; we need to combine them with some inference methods to get something interesting. But this is easy to do: just pick your favorite collection of inference methods for first-order logic, combine them with the ZFC axioms, and hey presto! You've founded mathematics on sets.

ZFC is the collection of axioms that most working mathematicians will turn to when they get into thorny set-theoretic issues that need a rigorous foundation to sort out. Furthermore, most professional set theorists today base their work on ZFC. However, there are other, competing approaches to reasoning about sets. These include ETCS, SEAR and Martin-Lof Type Theory. You may also be interested in Homotopy Type Theory, which (if I understand correctly) may one day allow us to take $\infty$-groupoids rather than sets as fundamental.

goblin GONE
  • 67,744
  • 3
    That (Definition 0) is the most terrible thing to say to someone who is asking what is a set. The other thing (Definition 1) is the second most terrible thing you can say. It's fine if you want to shock the reader into understanding there is no easy formal way of doing this, but still. – Asaf Karagila Sep 27 '15 at 05:13
  • (Also, since HoTT itself can be seen as just some structure endowed on some sets, I can't agree with your presentation that it is somehow "more foundational".) – Asaf Karagila Sep 27 '15 at 05:16
  • 2
    @AsafKaragila, well I'm making a point that eventually, you have to stop and not define something. That was really the point of the opening definition. Also, I'm not claiming that HoTT is "more foundational." I'm just saying, we may one day have a workable formal system that allows $\infty$-groupoids to be taken as fundamental. Of course, we already have formal systems that allow us to take sets as fundamental. So this will just mean we have more options. – goblin GONE Sep 27 '15 at 05:17
2

(Extensively edited)

So is it, for example, a right definition to say that a set is anything that satisfies the ZFC list of axioms?

In the ZFC axioms, there is no distinction made between objects that are sets and those that are not. Everything is a set. So it doesn't seem all that meaningful to say that some object is a set if and only if it satisfies these axioms.

There is no formal definition of a set in ZFC. Here is the best definition of a set that I have found:

A collection of distinct entities regarded as a unit, being either individually specified or (more usually) satisfying specified conditions. Oxford English Dictionary

To be able to write formal proofs about sets, you must do more than just define what a set is. You must compile a minimal list of essential formal properties of sets from which you can derive other formal properties and theorems as required. Using the above definition as a guide, one such property, for example, might be that, for every pair of sets, there exists a set that is their union. Expressed formally:

$$\forall x,y :\exists z :\forall a: [a\in z \iff a\in x \lor a\in y]$$

Here I assume, as in ZFC, that everything is a set. I make no use here of an "is a set" predicate.

Another essential property of sets might be that there exists an empty set that contains no elements. Expressed formally:

$$\exists \emptyset: \forall x: [x\notin \emptyset]$$

Note that neither of these proposed essential properties of sets could be used as a defining property of what a set might be.

Compiling such a list of essential properties can be tricky. The earliest attempt resulted in a system with internal inconsistencies. In that system, it was possible to both and disprove that (see Russell's Paradox):

$$\exists r:\forall x:[x\in r \iff x\notin x]$$

The most successful attempt to date is the Zermelo-Fraenkel axioms of set theory that list 8 essential properties of sets that were used, along with the axioms of first-order logic, to develop the bulk of modern set theory. After over a century of intensive scrutiny by mathematicians and logicians, no internal inconsistencies have been found in the ZFC axioms.

1

I disagree with people who say that set is undefined. I am also not very fond of definitions which describe set as an "object", a "list", or a "collection" of something. Each of above approaches raise somewhat difficult questions, with "collection" being the least problematic of all, in my opinion.

  • If we try to define set as an object, we inevitably run into discussion of what is object. We end up defining set in terms of something, which is probably even more difficult to define.
  • We cannot define set as list because we cannot list or even comprehend/recognize/operate every member of many sets arising in mathematics.
  • Although the least contradictory one from my prospective, an attempt to define set as a collection of something has it disadvantages as well. Dictionaries define "collection" either as a set, in which case we fall into a vicious circle, or as the act of collecting something, which is not very convenient in context of mathematics. When talking about set of numbers, we do not mean that they "lie somewhere collected in a pile", or "gathered together" somehow.

We are on the right track with the last interpretation though.


According to Mathematical Analysis lecturer in my undergrad,

set is the way our brain groups abstract objects.

It is not an actual "group" (or "collection") of physical objects or even mental images, but rather a pattern in one's brain which connects (or puts together) certain ideas/images (of elements of set).

In a sense, set consisting of some "elements" is nothing more but a boundary our consciousness draws between the mental image of these "elements" and the rest of object in the minds. This boundary can be based on anything our brains can operate – common features, resemblance, random assignment, etc. Ultimately, my bottom line is:

set is a property of mental image(s) in someone's brain.

I know this definition is not mathy/rigorous at all, and perhaps contradicts some definitions you can find in the literature. But this is the best answer to the question I kept asking myself for the longest time: "what exactly do they mean when they say 'set'?"

Vlad
  • 6,710