{"id":411,"date":"2007-05-07T14:58:19","date_gmt":"2007-05-07T14:58:19","guid":{"rendered":"http:\/\/scientopia.org\/blogs\/goodmath\/2007\/05\/07\/basics-sets-and-classes\/"},"modified":"2007-05-07T14:58:19","modified_gmt":"2007-05-07T14:58:19","slug":"basics-sets-and-classes","status":"publish","type":"post","link":"http:\/\/www.goodmath.org\/blog\/2007\/05\/07\/basics-sets-and-classes\/","title":{"rendered":"Basics: Sets and Classes"},"content":{"rendered":"<p> This is something that came up in some of the comments on the recent &#8220;nimbers&#8221; post, and I thought it was worth promoting to the front, and getting up under an easy-to-find title in the &#8220;basics&#8221; series.<\/p>\n<p> In a lot of discussions in all different areas of math, you encounter talk about sets and classes, and you&#8217;ll find people worried about whether they&#8217;re talking about sets or classes. What&#8217;s the difference?  I mentioned this once before, but it&#8217;s buried in a discussion of the concept of <a href=\"http:\/\/scientopia.org\/blogs\/goodmath\/2007\/03\/basics-going-meta\">&#8220;meta&#8221;<\/a>, which is why I thought it was worth moving it to its own top-level post: if you don&#8217;t know the difference, you&#8217;re not going to look in the body of a discussion about the concept of going meta to find the explanation!<\/p>\n<p> I&#8217;ll start with just the definitions, and then I&#8217;ll dive into the discussion of why we make the distinction.<\/p>\n<ul>\n<li> A <b>class<\/b> is any collection of <em>things<\/em> which have some common property that defines them: the <em>class<\/em> of logical statements, the <\/em>class<\/em> of numbers. <\/li>\n<li> A <b>set<\/b> is a class which is a member of a class.<\/li>\n<li> A <b>proper class<\/b> is a class which is <em>not<\/em> a set.<\/li>\n<\/ul>\n<p><!--more--><\/p>\n<p> Back in the early days of set theory, people looked at what we now call &#8220;naive set theory&#8221;. Naive set theory is useful and interesting &#8211; but when you try to do complicated things in it, you encounter a problem which makes things fall apart.  Naive set theory fails to distinguish between different kinds of things, and that makes it all to easy to use it create paradoxical statements and structures. <\/p>\n<p> For example &#8211; take that old classic, the liar&#8217;s paradox. &#8220;This statement is not true.&#8221; Everyone who&#8217;s ever watched Star Trek has encountered that, right? If it&#8217;s true, then that means it must not be true. But if it&#8217;s not true, then it&#8217;s true. <\/p>\n<p> The structural problem of that statement can be translated into set theory. It&#8217;s a statement that&#8217;s really talking about the <em>set<\/em> of truth-bindings of statements: the statement operates as a <em>function<\/em> from statements to true or false. So it&#8217;s saying is that <em>it<\/em> is a statement whose meaning is a function which maps some set of statements to either true or false, and that in its mapping of statements to true and false, it maps <em>itself<\/em> to false.<\/p>\n<p> In terms of set theory, what&#8217;s a function F that maps from a value v to true or false? It&#8217;s a set, S<sub>F<\/sub>, where F(v) is true if and only if v&isin;S<sub>F<\/sub>. So a statement like the Liars paradox is really a set of true statement &#8211; and what it&#8217;s doing is asserting that it is not in its set.<\/p>\n<p> To see the problem with that, we need to look at the <em>complement<\/em> of S<sub>F<\/sub>, S<sub>F<\/sub><sup>-1<\/sup>.  S<sub>F<\/sub><sup>-1<\/sup> is the set of values that are <em>not<\/em> members of S<sub>F<\/sub>:  S<sub>F<\/sub><sup>-1<\/sup> = {x : x&notin;S<sub>F<\/sub>}.  So when F says that a statement M is not true, what it&#8217;s saying is M&amp;notit;S<sub>F<\/sub>, and therefore M&isin;S<sub>F<\/sub><sup>-1<\/sup>!<\/p>\n<p> Now, finally, here&#8217;s the problem. If M is the liars paradox statement, and F is the functional-meaning of M, then S<sub>F<\/sub> is the set of values v where F(v)=true. Is M a member of S<sub>F<\/sub>? No &#8211; because it says that it&#8217;s not true, so it necessarily map F(M) to false. . So then S<sub>F<\/sub><sup>-1<\/sup> <em>must<\/em> include M.  But if S<sub>F<\/sub><sup>-1<\/sup> includes M, then that means that M was true, since what M said was that M would be found in S<sub>F<\/sub><sup>-1<\/sup>.<\/p>\n<p> If you keep pushing through the semantics, it comes down to a simple paradoxical construct: the liars set: the set of sets that do <em>not<\/em> include themselves as members, L = { s : s&notin;s }. The paradox is that if L&isin;L, then L&notin;L, but in L&notin;L then L&isin;L. <\/p>\n<p> Since a big part of the point of set theory is to provide a simple, general toolkit for building <em>well-founded<\/em> mathematical structures, the ability to break it so easily was a serious problem. But no one wanted to give up set theory: it&#8217;s too powerful, and too easy to use, to just give up on it because of this problem. So people set out to find a solution. The easiest one which avoids the problem was proposed by Alan Turing, and refined by Kurt G&ouml;del. The idea is that instead of just having one kind of collection of things called a set, we&#8217;ll create two different kinds of collections. <em>Any<\/em> collection of things is called a <em>class<\/em>.  A collection of things which is also a <em>member<\/em> of some class is called a <em>set<\/em>.  A class which is <em>not<\/em> a set is called a <em>proper class<\/em>.<\/p>\n<p> This makes the liar&#8217;s paradox disappear. The reason it&#8217;s gone is that in this new formulation, the Liar&#8217;s set <em>isn&#8217;t a set<\/em>. It&#8217;s a proper class. So the <em>class<\/em> of sets that don&#8217;t include themselves as members is well-defined, and it doesn&#8217;t include itself &#8211; in fact, can&#8217;t include itself &#8211;  because it&#8217;s not a set.<\/p>\n<p> The way that this connects back to the surreal numbers and nimbers is that the nimbers form a proper class, not a set. And the traditional formulation of a field requires that it be defined in terms of a <em>set<\/em> of values. But the nimbers don&#8217;t form a set &#8211; they&#8217;re a proper class<\/p>\n<p> As it happens, we don&#8217;t actually worry about that. In his book on the surreals, Conway handwaves his way past it by pointing out that for fields of numbers, there&#8217;s no particular reason to <em>not<\/em> allow the definition of class-fields, so long as we&#8217;re clear that they are class-fields and not set-fields. So &#8211; the nimbers are a class-field, and for most things that we want to do with them, the fact that they&#8217;re a class-field and not a set-field just doesn&#8217;t actually make a difference.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is something that came up in some of the comments on the recent &#8220;nimbers&#8221; post, and I thought it was worth promoting to the front, and getting up under an easy-to-find title in the &#8220;basics&#8221; series. In a lot of discussions in all different areas of math, you encounter talk about sets and classes, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[74],"tags":[],"class_list":["post-411","post","type-post","status-publish","format-standard","hentry","category-basics"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4lzZS-6D","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"_links":{"self":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/comments?post=411"}],"version-history":[{"count":0,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/posts\/411\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/media?parent=411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/categories?post=411"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.goodmath.org\/blog\/wp-json\/wp\/v2\/tags?post=411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}