<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Higher-dimensional order theory &#187; sets</title>
	<atom:link href="http://math.breckes.org/category/sets/feed/" rel="self" type="application/rss+xml" />
	<link>http://math.breckes.org</link>
	<description></description>
	<lastBuildDate>Tue, 03 Mar 2009 16:06:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The two meanings of the word “set” in mathematics</title>
		<link>http://math.breckes.org/2009/03/the-two-meanings-of-the-word-%e2%80%9cset%e2%80%9d-in-mathematics/</link>
		<comments>http://math.breckes.org/2009/03/the-two-meanings-of-the-word-%e2%80%9cset%e2%80%9d-in-mathematics/#comments</comments>
		<pubDate>Tue, 03 Mar 2009 15:06:09 +0000</pubDate>
		<dc:creator>breckes</dc:creator>
				<category><![CDATA[sets]]></category>
		<category><![CDATA[cardinality]]></category>
		<category><![CDATA[set theory]]></category>
		<category><![CDATA[subsets]]></category>

		<guid isPermaLink="false">http://math.breckes.org/?p=9</guid>
		<description><![CDATA[The word “set” has two uses in mathematics:

in a sentence like “a group is a set equipped with the following operations (…), such that the following axioms are satisfied (…)”, the word “set” denotes a base domain for mathematical structures, equipped with an equality relation (needed to express the axioms of group);
in the phrase “the [...]]]></description>
			<content:encoded><![CDATA[<p>The word “set” has two uses in mathematics:</p>
<ol>
<li>in a sentence like “a group is a <em>set</em> equipped with the following operations (…), such that the following axioms are satisfied (…)”, the word “set” denotes a base domain for mathematical structures, equipped with an equality relation (needed to express the axioms of group);</li>
<li>in the phrase “the <em>set</em> of even numbers”, the word “set” denotes a subdomain of the domain of natural numbers (which is a set in the first meaning).</li>
</ol>
<p>One dogma of 20th century mathematics was that one cannot define sets.  But this applies only to sets in the sense of objects of a so-called set theory, like ZF, not to sets in the two mathematical meanings, which <em>can</em> be defined.</p>
<p><span id="more-9"></span></p>
<p>We will work in a sufficiently rich typed language.  A general type won&#8217;t be assumed to have any structure, in particular we don&#8217;t preequip types with an equality relation.  We denote by <img src="http://math.breckes.org/wp-content/cache/tex_ac92861a54d1662fab53028851709077.png" align="absmiddle" class="tex" alt="t\colon A" title="t\colon A" /> the syntactical assertion that the term <img src="http://math.breckes.org/wp-content/cache/tex_e358efa489f58062f10dd7316b65649e.png" align="absmiddle" class="tex" alt="t" title="t" /> is of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> (for example “<img src="http://math.breckes.org/wp-content/cache/tex_1350f7f21eabb123ed94638280a70bfc.png" align="absmiddle" class="tex" alt="2+3\colon\mathbb{N}" title="2+3\colon\mathbb{N}" />” means that the type of the term <img src="http://math.breckes.org/wp-content/cache/tex_44c7c5541a25b4ed6340e07dde8f8dca.png" align="absmiddle" class="tex" alt="2+3" title="2+3" /> is <img src="http://math.breckes.org/wp-content/cache/tex_9b3ecd4f5f0cc174717f19cec0743fcd.png" align="absmiddle" class="tex" alt="\mathbb{N}" title="\mathbb{N}" />, and “let be <img src="http://math.breckes.org/wp-content/cache/tex_d300b8b1d091ce7c7ed88a908171e768.png" align="absmiddle" class="tex" alt="x\colon A" title="x\colon A" />” is used to declare that the variable <img src="http://math.breckes.org/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" title="x" /> is of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />).  It is important not to use <img src="http://math.breckes.org/wp-content/cache/tex_986c22f151c46acac223b858e3fcf6fd.png" align="absmiddle" class="tex" alt="\in" title="\in" /> for this relation between terms and types in the metalanguage, to avoid confusion with the membership relation between elements and sets<sup>2</sup> in the language of mathematics (see below).  Remark: some people in type theory call types “sets”, which add to the confusion.</p>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">1. Meaning 1</h3>
<p>We call <em>set<sup>1</sup></em> a type equipped with an equivalence relation (or <em>equality</em>), allowing to express that two objects of this type are equal or not. This is essentially the definition by Errett Bishop in <em>Foundations of constructive analysis</em>; it is usually used in formalisations of mathematics in proof assistants (in this context, it is sometimes called a <em>setoid</em>).  As in Bishop&#8217;s book, an <em>operation</em> <img src="http://math.breckes.org/wp-content/cache/tex_8fa14cdd754f91cc6554c9e71929cce7.png" align="absmiddle" class="tex" alt="f" title="f" /> from a type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to a type <img src="http://math.breckes.org/wp-content/cache/tex_9d5ed678fe57bcca610140957afab571.png" align="absmiddle" class="tex" alt="B" title="B" /> is given, for each <img src="http://math.breckes.org/wp-content/cache/tex_d300b8b1d091ce7c7ed88a908171e768.png" align="absmiddle" class="tex" alt="x\colon A" title="x\colon A" />, by an object <img src="http://math.breckes.org/wp-content/cache/tex_95cfe94f0096e61615f79d038c987d4a.png" align="absmiddle" class="tex" alt="f(x)\colon B" title="f(x)\colon B" />.  A function <img src="http://math.breckes.org/wp-content/cache/tex_43f68a3b14cad7fc8e9f51efbf05ab72.png" align="absmiddle" class="tex" alt="f\colon A\to B" title="f\colon A\to B" /> between two sets<sup>1</sup> is an operation preserving equality.</p>
<p>The only structure on the domain of a group needed to express the axioms of group is an equality, so the more general definition of a group one can give is a set<sup>1</sup> equipped with the usual operations satisfying the axioms of group.  More generally, a model of a (let&#8217;s say first-order) theory with equality is a set<sup>1</sup> equipped with some operations, relations, and satisfying some equations.</p>
<p>Some examples of sets<sup>1</sup> are:</p>
<ul>
<li>the set<sup>1</sup> of natural numbers, whose objects are the natural numbers with the ordinary equality of natural numbers;</li>
<li>the set<sup>1</sup> of natural numbers modulo <img src="http://math.breckes.org/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" title="n" />, whose objects are the natural numbers and equality is equality modulo <img src="http://math.breckes.org/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" title="n" />;</li>
<li>the set<sup>1</sup> of rational numbers, whose objects are the quotients <img src="http://math.breckes.org/wp-content/cache/tex_0c3c664dbb013e81bb215a46dbe7e505.png" align="absmiddle" class="tex" alt="\frac{m}{n}" title="\frac{m}{n}" />, where <img src="http://math.breckes.org/wp-content/cache/tex_6f8f57715090da2632453988d9a1501b.png" align="absmiddle" class="tex" alt="m" title="m" /> and <img src="http://math.breckes.org/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" title="n" /> are two integers such that <img src="http://math.breckes.org/wp-content/cache/tex_71ba488786d90888048f6e368c597ed9.png" align="absmiddle" class="tex" alt="n\neq 0" title="n\neq 0" />, with the usual equality of rationals (<img src="http://math.breckes.org/wp-content/cache/tex_e55a2332d57863a67f44d599c2be6949.png" align="absmiddle" class="tex" alt="\frac{m}{n}=\frac{m'}{n'}" title="\frac{m}{n}=\frac{m'}{n'}" /> iff <img src="http://math.breckes.org/wp-content/cache/tex_61248c0ad61c640c934119ff5efa9e59.png" align="absmiddle" class="tex" alt="mn'=nm'" title="mn'=nm'" />);</li>
<li>the set<sup>1</sup> of functions <img src="http://math.breckes.org/wp-content/cache/tex_bd2d818ae16cdb1206ab9f554b45bad8.png" align="absmiddle" class="tex" alt="A\to B" title="A\to B" /> between two sets<sup>1</sup>, with pointwise equality: by definition, two functions <img src="http://math.breckes.org/wp-content/cache/tex_d8183d13eb1f0f1f2a1d1b114ca38323.png" align="absmiddle" class="tex" alt="f,g\colon A\to B" title="f,g\colon A\to B" /> are equal if, for every <img src="http://math.breckes.org/wp-content/cache/tex_d300b8b1d091ce7c7ed88a908171e768.png" align="absmiddle" class="tex" alt="x\colon A" title="x\colon A" />, <img src="http://math.breckes.org/wp-content/cache/tex_59bf3cb51b9f4f441d7f15bd5439ac62.png" align="absmiddle" class="tex" alt="f(x)=g(x)" title="f(x)=g(x)" />;</li>
<li>the empty set<sup>1</sup>, which has no objects, the equality is trivial;</li>
<li>the one-element set<sup>1</sup> which has only one object, equal to itself.</li>
</ul>
<p>Let us recall that a <em>category</em> is a type <img src="http://math.breckes.org/wp-content/cache/tex_dcf5a9d1d0921e88bbbb7524c84d99af.png" align="absmiddle" class="tex" alt="\mathcal{C}" title="\mathcal{C}" /> equipped, for each pair of objects <img src="http://math.breckes.org/wp-content/cache/tex_6c30b42101939c7bdf95f4c1052d615c.png" align="absmiddle" class="tex" alt="A,B" title="A,B" />, with a set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_aedf2d39e5447e07e3c0e68964c602cb.png" align="absmiddle" class="tex" alt="\mathcal{C}(A,B)" title="\mathcal{C}(A,B)" /> (whose objects are called “morphisms from <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to <img src="http://math.breckes.org/wp-content/cache/tex_9d5ed678fe57bcca610140957afab571.png" align="absmiddle" class="tex" alt="B" title="B" />”), with an associative composition <img src="http://math.breckes.org/wp-content/cache/tex_d9c1f403b7efc4476d8ebe9d7c8e65f8.png" align="absmiddle" class="tex" alt="c_{A,B,C}\colon\mathcal{C}(A,B)\times\mathcal{C}(B,C)\to\mathcal{C}(A,C)" title="c_{A,B,C}\colon\mathcal{C}(A,B)\times\mathcal{C}(B,C)\to\mathcal{C}(A,C)" /> and, for each object <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, an identity <img src="http://math.breckes.org/wp-content/cache/tex_544ea1638d87b958b255827cfb33edeb.png" align="absmiddle" class="tex" alt="1_A\colon\mathcal{C}(A,A)" title="1_A\colon\mathcal{C}(A,A)" />, which is a neutral element for the composition.</p>
<p>The right identity criterion for sets<sup>1</sup> and the constructions one can use to create new sets<sup>1</sup> follow from the following assertion:<center><strong>sets<sup>1</sup> live in a category,</strong></center>whose morphisms are the functions, denoted by <img src="http://math.breckes.org/wp-content/cache/tex_4c6c9a6ac5918721c0f71f968a8afa44.png" align="absmiddle" class="tex" alt="\mathsf{Set}" title="\mathsf{Set}" />. As a consequence: </p>
<ol>
<li>the identity criterion for objects in a category being isomorphism, two sets<sup>1</sup> are considered to be “the same” if there exists a bijection (an isomorphism in the category of sets<sup>1</sup>) between them;</li>
<li>the constructions one can do with sets<sup>1</sup> are the limits, colimits, etc. in the category of sets<sup>1</sup>: cartesian product, coproduct (“disjoint union”), quotient of a set<sup>1</sup> by an equivalence relation, exponentiation, etc.</li>
</ol>
<p>The first point (as well as the cardinality functor described below) suggests that sets<sup>1</sup> are the right formalisation of Cantor&#8217;s notion of cardinal number (as Lawvere has noticed).  This identity criterion is the right one for sets as bases of mathematical structures: if a set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> is equipped with a certain structure, and if it is in bijection with <img src="http://math.breckes.org/wp-content/cache/tex_9d5ed678fe57bcca610140957afab571.png" align="absmiddle" class="tex" alt="B" title="B" />, then we can transfer the structure from <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to <img src="http://math.breckes.org/wp-content/cache/tex_9d5ed678fe57bcca610140957afab571.png" align="absmiddle" class="tex" alt="B" title="B" />.  Two sets<sup>1</sup> equipped with the same kind of structure (e.g. two groups, two rings, etc.) are “the same” if there is a bijection between them preserving and reflecting the structure.</p>
<p>On the other hand, we cannot define two sets<sup>1</sup> to be equal if they have the same elements, because there is no way to compare the objects of two (syntactically) different sets.</p>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">2. Meaning 2</h3>
<p>The second meaning of “set” in mathematics is probably the first, historically: this is a collection of objects of a same type, like sets of oranges, sets of natural numbers, sets of functions from <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to <img src="http://math.breckes.org/wp-content/cache/tex_9d5ed678fe57bcca610140957afab571.png" align="absmiddle" class="tex" alt="B" title="B" />, etc.  In a second-order theory, the “sets” over which one quantify are interpreted in a model as being the sets<sup>2</sup> of the domain of the model, which is a set<sup>1</sup>.</p>
<p>Let us fix a set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />.  We define a <em>set<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /></em> as an injection <img src="http://math.breckes.org/wp-content/cache/tex_2c52e4a0fe87bd79f61a1161e7a3a38d.png" align="absmiddle" class="tex" alt="m\colon M\rightarrowtail A" title="m\colon M\rightarrowtail A" />.  A common abuse of notation consists in writing just <img src="http://math.breckes.org/wp-content/cache/tex_69691c7bdcc3ce6d5d8a1361f22d04ac.png" align="absmiddle" class="tex" alt="M" title="M" /> instead of <img src="http://math.breckes.org/wp-content/cache/tex_a92bce84473cbdc9e4893a6893886314.png" align="absmiddle" class="tex" alt="(M,m)" title="(M,m)" />, which contributes to the confusion of the two meanings of “set”.  It is for this notion of set that a membership relation is available, between objects and sets<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />: we say that <img src="http://math.breckes.org/wp-content/cache/tex_83c887e55e653c555fc379fe23cd11ba.png" align="absmiddle" class="tex" alt="a\colon A" title="a\colon A" /> is an <em>element</em> of <img src="http://math.breckes.org/wp-content/cache/tex_2c52e4a0fe87bd79f61a1161e7a3a38d.png" align="absmiddle" class="tex" alt="m\colon M\rightarrowtail A" title="m\colon M\rightarrowtail A" /> (and we write <img src="http://math.breckes.org/wp-content/cache/tex_2030ad1b607b31fd6e4033e16f4e4024.png" align="absmiddle" class="tex" alt="a\in(M,m)" title="a\in(M,m)" />) if <img src="http://math.breckes.org/wp-content/cache/tex_0cc175b9c0f1b6a831c399e269772661.png" align="absmiddle" class="tex" alt="a" title="a" /> is in the range of <img src="http://math.breckes.org/wp-content/cache/tex_6f8f57715090da2632453988d9a1501b.png" align="absmiddle" class="tex" alt="m" title="m" /> (there exists <img src="http://math.breckes.org/wp-content/cache/tex_c875605be34df5fb30fd744038c9afeb.png" align="absmiddle" class="tex" alt="x\colon M" title="x\colon M" /> such that <img src="http://math.breckes.org/wp-content/cache/tex_be4bc77fff610536d5e9583e634085e2.png" align="absmiddle" class="tex" alt="a=m(x)" title="a=m(x)" />).  Here are a few examples:</p>
<ul>
<li>if we are given <img src="http://math.breckes.org/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" title="n" /> different objects <img src="http://math.breckes.org/wp-content/cache/tex_31d712e2b2c0b7bf9a4e7fcb887c1c3a.png" align="absmiddle" class="tex" alt="a_1, \ldots, a_n" title="a_1, \ldots, a_n" /> of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, there is a set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_951e0295264f4ac086ae3a3dc4d411fe.png" align="absmiddle" class="tex" alt="\{a_1,\ldots,a_n\}\colon [n]\rightarrowtail A," title="\{a_1,\ldots,a_n\}\colon [n]\rightarrowtail A," /> where <img src="http://math.breckes.org/wp-content/cache/tex_de504dafb2a07922de5e25813d0aaafd.png" align="absmiddle" class="tex" alt="[n]" title="[n]" /> is the set<sup>1</sup> with <img src="http://math.breckes.org/wp-content/cache/tex_7b8b965ad4bca0e41ab51de7b31363a1.png" align="absmiddle" class="tex" alt="n" title="n" /> elements (let us denote its elements by <img src="http://math.breckes.org/wp-content/cache/tex_3c1488785daffe5f011b40ba73ac953d.png" align="absmiddle" class="tex" alt="1,\ldots, n" title="1,\ldots, n" />) and where the injection maps <img src="http://math.breckes.org/wp-content/cache/tex_865c0c0b4ab0e063e5caa3387c1a8741.png" align="absmiddle" class="tex" alt="i" title="i" /> to <img src="http://math.breckes.org/wp-content/cache/tex_2aecb1dc57e87620a373d19b0a889efb.png" align="absmiddle" class="tex" alt="a_i" title="a_i" />; its elements are exactly the objects equal to one of <img src="http://math.breckes.org/wp-content/cache/tex_0658d2b10b2036c4126666ff7af50dbb.png" align="absmiddle" class="tex" alt="a_1,\ldots, a_n" title="a_1,\ldots, a_n" />;</li>
<li>if we are given a property <img src="http://math.breckes.org/wp-content/cache/tex_c19f6b6a7bae1fd5b14f578c6edc3454.png" align="absmiddle" class="tex" alt="P(x)" title="P(x)" />, with a free variable <img src="http://math.breckes.org/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" title="x" /> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, we can construct the set<sup>2</sup> of the objects of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> satisfying <img src="http://math.breckes.org/wp-content/cache/tex_44c29edb103a2872f519ad0c9a0fdaaa.png" align="absmiddle" class="tex" alt="P" title="P" />: it is <img src="http://math.breckes.org/wp-content/cache/tex_79860bdcc47b9d08322eaeec1cc4a581.png" align="absmiddle" class="tex" alt="\{x\colon A\,|\,P(x)\}\colon M\rightarrowtail A," title="\{x\colon A\,|\,P(x)\}\colon M\rightarrowtail A," /> where the objects of the set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_69691c7bdcc3ce6d5d8a1361f22d04ac.png" align="absmiddle" class="tex" alt="M" title="M" /> are the objects of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> satisfying <img src="http://math.breckes.org/wp-content/cache/tex_44c29edb103a2872f519ad0c9a0fdaaa.png" align="absmiddle" class="tex" alt="P" title="P" />, the equality of <img src="http://math.breckes.org/wp-content/cache/tex_69691c7bdcc3ce6d5d8a1361f22d04ac.png" align="absmiddle" class="tex" alt="M" title="M" /> is defined as in <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, and the inclusion maps such an object to itself.</li>
</ul>
<p>We can define an order relation on sets<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />: we say that <img src="http://math.breckes.org/wp-content/cache/tex_c2163232a2640f295198e834a5ddcbcb.png" align="absmiddle" class="tex" alt="(M,m)\subseteq (M',m')" title="(M,m)\subseteq (M',m')" /> if every element of <img src="http://math.breckes.org/wp-content/cache/tex_a92bce84473cbdc9e4893a6893886314.png" align="absmiddle" class="tex" alt="(M,m)" title="(M,m)" /> is an element of <img src="http://math.breckes.org/wp-content/cache/tex_a13786bd1ffa16f72e8e99003f4ad855.png" align="absmiddle" class="tex" alt="(M',m')" title="(M',m')" />.  So <center><strong>sets<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> live in an order</strong></center>(i.e. a type equipped with an order relation; sets<sup>1</sup> are the orders whose order relation is symmetric), which we denote by <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" />.</p>
<p>As a consequence,</p>
<ol>
<li>the criterion of identity for objects of an order being given by <img src="http://math.breckes.org/wp-content/cache/tex_e62d239822831122dd571c0d362408f7.png" align="absmiddle" class="tex" alt="a = b" title="a = b" /> iff <img src="http://math.breckes.org/wp-content/cache/tex_d7356d20677cd7949b92ae77480fe9fe.png" align="absmiddle" class="tex" alt="a\leq b" title="a\leq b" /> and <img src="http://math.breckes.org/wp-content/cache/tex_c3c1de2e1f3d27ca2528c9b24b5237c4.png" align="absmiddle" class="tex" alt="b\leq a" title="b\leq a" />, two sets<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_2c52e4a0fe87bd79f61a1161e7a3a38d.png" align="absmiddle" class="tex" alt="m\colon M\rightarrowtail A" title="m\colon M\rightarrowtail A" /> and <img src="http://math.breckes.org/wp-content/cache/tex_a587c707b172651e66701eccbe4ab393.png" align="absmiddle" class="tex" alt="m'\colon M'\rightarrowtail A" title="m'\colon M'\rightarrowtail A" /> are “the same” if they have the same elements (so, for sets<sup>2</sup> of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> we have extensionality);</li>
<li>it is with this notion of set that the usual constructions of “naïve set theory” are available: these are the typical constructions in an order, i.e. intersection, union, implication, the smallest set<sup>2</sup> (the empty set<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />), the greatest set<sup>2</sup> (the identity on the whole set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />).</li>
</ol>
<p>Every set<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> can be equivalently described as a selection of some of the objects of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />: the set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_2c52e4a0fe87bd79f61a1161e7a3a38d.png" align="absmiddle" class="tex" alt="m\colon M\rightarrowtail A" title="m\colon M\rightarrowtail A" /> is equal to the set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_997c406926b68d293a182dcc37455bcb.png" align="absmiddle" class="tex" alt="\{x\colon A\,|\,x\in(M,m)\}" title="\{x\colon A\,|\,x\in(M,m)\}" />.</p>
<p>So, for each set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, we get a model of a <em>genuine</em> set(<sup>2</sup>) theory: this is a theory with two sorts (let&#8217;s denote them by <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> and <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" />), with a binary relation symbol <img src="http://math.breckes.org/wp-content/cache/tex_43ec3e5dee6e706af7766fffea512721.png" align="absmiddle" class="tex" alt="=" title="=" /> on <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> (satisfying the axioms for equality), a binary relation symbol <img src="http://math.breckes.org/wp-content/cache/tex_b92481eddde8c0a762bc2eab35a80a37.png" align="absmiddle" class="tex" alt="\subseteq" title="\subseteq" /> on <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" /> (satisfying the axioms for order), and a binary relation symbol <img src="http://math.breckes.org/wp-content/cache/tex_986c22f151c46acac223b858e3fcf6fd.png" align="absmiddle" class="tex" alt="\in" title="\in" /> from <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" />, satisfying two axioms:</p>
<ol>
<li>extensionality: <img src="http://math.breckes.org/wp-content/cache/tex_3ea67b3e08626dc599f56ec58f9ff252.png" align="absmiddle" class="tex" alt="S\subseteq T" title="S\subseteq T" /> iff for all <img src="http://math.breckes.org/wp-content/cache/tex_83c887e55e653c555fc379fe23cd11ba.png" align="absmiddle" class="tex" alt="a\colon A" title="a\colon A" />, <img src="http://math.breckes.org/wp-content/cache/tex_6a9ad2adbb2e75baca075ea3fad9caff.png" align="absmiddle" class="tex" alt="a\in S" title="a\in S" /> implies <img src="http://math.breckes.org/wp-content/cache/tex_c4d0f6e77d6d67922560bb79fbbbd359.png" align="absmiddle" class="tex" alt="a\in T" title="a\in T" /></li>
<li>comprehension: for any property <img src="http://math.breckes.org/wp-content/cache/tex_c19f6b6a7bae1fd5b14f578c6edc3454.png" align="absmiddle" class="tex" alt="P(x)" title="P(x)" />, where <img src="http://math.breckes.org/wp-content/cache/tex_d300b8b1d091ce7c7ed88a908171e768.png" align="absmiddle" class="tex" alt="x\colon A" title="x\colon A" />, there is <img src="http://math.breckes.org/wp-content/cache/tex_ebe48437f5a46d6b292277ccd4de3b03.png" align="absmiddle" class="tex" alt="\hat{P}\colon\mathcal{P}(A)" title="\hat{P}\colon\mathcal{P}(A)" /> such that <img src="http://math.breckes.org/wp-content/cache/tex_9177106c672cadbc4763c4bd23d0acaa.png" align="absmiddle" class="tex" alt="x\in\hat{P} \Leftrightarrow P(x)" title="x\in\hat{P} \Leftrightarrow P(x)" />.</li>
</ol>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">3. Comparison; cardinality</h3>
<p>It is important to realise that these two notions of set are very different: they live in different structures and have different criteria of identity. But there is a link between these two notions: if we fix a set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, there is a “forgetful” functor <img src="http://math.breckes.org/wp-content/cache/tex_51b84912281d1da0fc1dbc16cc3c11f1.png" align="absmiddle" class="tex" alt="\sharp\colon\mathcal{P}(A)\to\mathsf{Set}" title="\sharp\colon\mathcal{P}(A)\to\mathsf{Set}" />, which maps a set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_d58da25f1f1af051d0c5088fb45b862d.png" align="absmiddle" class="tex" alt="M\rightarrowtail A" title="M\rightarrowtail A" /> to the set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_69691c7bdcc3ce6d5d8a1361f22d04ac.png" align="absmiddle" class="tex" alt="M" title="M" />.  This is Cantor&#8217;s cardinality functor for sets<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> (but of course at Cantor&#8217;s time, the notion of functor didn&#8217;t exist): it maps a set<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> to the “number” of objects of this set<sup>2</sup>, which is a set<sup>1</sup>.  For example, it maps the set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_0da539a242b8a5c44ae5eb8bc3758080.png" align="absmiddle" class="tex" alt="\{1,9,8,0\}\colon [4]\rightarrowtail \mathbb{N}" title="\{1,9,8,0\}\colon [4]\rightarrowtail \mathbb{N}" /> to the four-elements set<sup>1</sup>.</p>
<p>Of course, the cardinality functor can make different sets<sup>2</sup> identical. For example, in the order <img src="http://math.breckes.org/wp-content/cache/tex_36ef06ed720d59649a2208941e8bd795.png" align="absmiddle" class="tex" alt="\mathcal{P}(\mathbb{N})" title="\mathcal{P}(\mathbb{N})" />, the set<sup>2</sup> of even numbers is strictly smaller than the set<sup>2</sup> of all natural numbers, but they have the same “number” of objects, i.e., in the category of sets<sup>1</sup>, the set<sup>1</sup> whose objects are the even numbers is in bijection with <img src="http://math.breckes.org/wp-content/cache/tex_9b3ecd4f5f0cc174717f19cec0743fcd.png" align="absmiddle" class="tex" alt="\mathbb{N}" title="\mathbb{N}" />, so they are the same set<sup>1</sup>, when we forget the injection into <img src="http://math.breckes.org/wp-content/cache/tex_9b3ecd4f5f0cc174717f19cec0743fcd.png" align="absmiddle" class="tex" alt="\mathbb{N}" title="\mathbb{N}" /> (we can even represent the set<sup>2</sup> of even numbers as the injection <img src="http://math.breckes.org/wp-content/cache/tex_7ff2d1794eb858dbdb164ce576a59bf8.png" align="absmiddle" class="tex" alt="2\cdot - \colon \mathbb{N}\to\mathbb{N}" title="2\cdot - \colon \mathbb{N}\to\mathbb{N}" />, since its elements are exactly the even numbers).  And the set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_e5d05ce9cdceee98cb24143675129fb1.png" align="absmiddle" class="tex" alt="\{1,5,0\}" title="\{1,5,0\}" /> in <img src="http://math.breckes.org/wp-content/cache/tex_36ef06ed720d59649a2208941e8bd795.png" align="absmiddle" class="tex" alt="\mathcal{P}(\mathbb{N})" title="\mathcal{P}(\mathbb{N})" /> and the set<sup>2</sup> <img src="http://math.breckes.org/wp-content/cache/tex_92464c5c0e45ee6237a8b505878e8d1a.png" align="absmiddle" class="tex" alt="\{\mathrm{sin},\mathrm{cos},\mathrm{exp}\}" title="\{\mathrm{sin},\mathrm{cos},\mathrm{exp}\}" /> in <img src="http://math.breckes.org/wp-content/cache/tex_d9127c6e094559830f09d2951c4cf97e.png" align="absmiddle" class="tex" alt="\mathcal{P}(\mathbb{R}^{\mathbb{R}})" title="\mathcal{P}(\mathbb{R}^{\mathbb{R}})" /> live in different orders, so we cannot even ask if they are the same, but if we forget the inclusions into <img src="http://math.breckes.org/wp-content/cache/tex_9b3ecd4f5f0cc174717f19cec0743fcd.png" align="absmiddle" class="tex" alt="\mathbb{N}" title="\mathbb{N}" /> or <img src="http://math.breckes.org/wp-content/cache/tex_a749c1827c13ffe30901b6beaaac904f.png" align="absmiddle" class="tex" alt="\mathbb{R}^{\mathbb{R}}" title="\mathbb{R}^{\mathbb{R}}" />, we get just two different presentations of the three-element set<sup>1</sup>.</p>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">4. Meaning 3?</h3>
<p>There is a third meaning, which is not included in the title, since it is not in use in mathematics, but only in logic and philosophy of “mathematics”, and sometimes, I&#8217;m afraid, in category theory. Moreover, it seems abusive to use the word “set” for this third notion.  Originally, it is a special case of the second meaning, the special case we get if, in the theory of sets<sup>2</sup> given at the end of Section 3, we identify the two sorts <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> and <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" />, so that there is only one kind of objects, which play both roles: they are elements and sets<sup>2</sup> at the same time.  Of course, by Cantor&#8217;s theorem this is inconsistent (this gives Russell&#8217;s paradox).  People tried to make consistent this inconsistent theory by restricting in a more or less elegant way the properties to which applies the scheme of comprehension.  This has given various so-called “set theories” such as Zermelo-Fränkel, Bernays-Gödel, New Foundations, etc., formalising neither the notion of set<sup>1</sup>, nor the notion of set<sup>2</sup>, but some hybrids between elements and sets<sup>2</sup>.  Let us call <em>set<sup>3</sup></em> an object of such a theory.</p>
<p>If we have a model of such a theory (if such a model exists…), with <img src="http://math.breckes.org/wp-content/cache/tex_4c614360da93c0a041b22e537de151eb.png" align="absmiddle" class="tex" alt="U" title="U" /> the base set<sup>1</sup> of all sets<sup>3</sup>, to each set<sup>3</sup> <img src="http://math.breckes.org/wp-content/cache/tex_649960c31a360fcaa651a3c0aff13581.png" align="absmiddle" class="tex" alt="x\colon U" title="x\colon U" /> corresponds a set<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_4c614360da93c0a041b22e537de151eb.png" align="absmiddle" class="tex" alt="U" title="U" />, the set<sup>2</sup> of all sets<sup>3</sup> “belonging” to <img src="http://math.breckes.org/wp-content/cache/tex_9dd4e461268c8034f5c8564e155c67a6.png" align="absmiddle" class="tex" alt="x" title="x" />, and so corresponds a set<sup>1</sup>, by applying to it the cardinality functor.  In this way, when we pretend to do mathematics in such a theory, sets<sup>3</sup> play the rôle both of sets<sup>1</sup> and sets<sup>2</sup> (this is probably the origin of the confusion between these two notions).  Moreover, the “mathematics” one can develop in such a theory, once an encoding of the basic notions is given, not only admit meaningless assertions (for example, in ZF with the most used encoding of ordered pairs and natural numbers, we can express and even prove the proposition <img src="http://math.breckes.org/wp-content/cache/tex_a6fa1763f80aad6167bfb664f43bd90a.png" align="absmiddle" class="tex" alt="(\mathbb{N}\times\mathbb{N})\cap\mathcal{P}(\mathbb{N}) = (1,2)" title="(\mathbb{N}\times\mathbb{N})\cap\mathcal{P}(\mathbb{N}) = (1,2)" />), but moreover are strongly limited:</p>
<ol>
<li>all sets<sup>1</sup> are canonically sets<sup>2</sup> of a big set<sup>1</sup> <img src="http://math.breckes.org/wp-content/cache/tex_4c614360da93c0a041b22e537de151eb.png" align="absmiddle" class="tex" alt="U" title="U" /> (which in some theories is not even represented by a set<sup>3</sup> [e.g. in Z.F., because of Russell's Paradox]), hence they share a universal equality (the equality of <img src="http://math.breckes.org/wp-content/cache/tex_4c614360da93c0a041b22e537de151eb.png" align="absmiddle" class="tex" alt="U" title="U" />), and so:</li>
<li>one cannot anymore speak of types not equipped with an equality (for example, we cannot define general categories, without equality at the level of objects, such as the category of sets<sup>1</sup>).</li>
</ol>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">5. Conclusion</h3>
<p>As far as I am concerned, I always distinguish sets<sup>1</sup> and sets<sup>2</sup>.  I reserve the word “set” for sets<sup>1</sup> and use “subset of A” for sets<sup>2</sup> of type <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> (following the tradition in category theory).  And, of course, I never use sets<sup>3</sup>, since I&#8217;ve never seen any use for them.</p>
<h3 style="padding-bottom: 0.5em; padding-top: 0.5em">6. Links</h3>
<ul>
<li>For more details about the definitions, see <a href="http://www.math.uu.se/~palmgren/ErikP_BISH.pdf">Bishop&#8217;s set theory</a> by Erik Palmgren (and Bishop&#8217;s book).</li>
<li>In topos theory, one studies categories whose objects behave like sets(<sup>1</sup>).  Then subobjects of a given object <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> are usually defined, like sets<sup>2</sup>, as monomorphisms (which generalise injections) with codomain <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />.  See <a href="http://books.google.com/books?id=h3_7aZz9ZMoC">Sets for mathematics</a> by Lawvere and Rosebrugh, or Todd Trimble&#8217;s posts on his blog about the <a href="http://topologicalmusings.wordpress.com/2008/09/01/zfc-and-etcs-elementary-theory-of-the-category-of-sets/">Elementary Theory of the Category of Sets</a> for a semi-elementary approach to toposes.  Note that, in a topos, for each object <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />, there is an object <img src="http://math.breckes.org/wp-content/cache/tex_975b052155f112def4ce68e461748435.png" align="absmiddle" class="tex" alt="\mathcal{P}(A)" title="\mathcal{P}(A)" /> playing the rôle of the “object of all subobjects of <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" />”; but I think that we shouldn&#8217;t assume that all subsets of a set(<sup>1</sup>) <img src="http://math.breckes.org/wp-content/cache/tex_7fc56270e7a70fa81a5935b72eacbe29.png" align="absmiddle" class="tex" alt="A" title="A" /> form themselves a set(<sup>1</sup>), but rather an order, so I think that topos theory should be based on orders rather than on sets<sup>1</sup>; I intend to speak about that later.</li>
<li>The paper <em>In the Search of a Naive Type Theory</em>, Lecture Notes in Computer Science 4941 (2008), by Agnieszka Kozubek and Paweł Urzyczyn (here are <a href="http://users.dimi.uniud.it/types07/slides/Urzyczyn.pdf">slides</a> with the same title) advocates the same distinction; here is an excerpt of the introduction:<br />
<blockquote><p>In fact, there are two very basic intuitions that are glued together into the notion of a “set”:</p>
<ul>
<li>Set as a domain or universe;</li>
<li>Set as a result of selection.</li>
</ul>
<p>We used to treat this identification as natural and obvious. But perhaps only because we were taught to do so. These two ideas are in fact different, and this very confusion is responsible for Russel’s paradox. In addition, ordinary mathematical practice often makes an explicit difference between the two aspects.</p></blockquote>
</li>
<li>See also <a href="http://projecteuclid.org/handle/euclid.lnl/1235415906">Towards a categorical foundation of mathematics</a> by Michael Makkai.</li>
</ul>
<p>(<a href="http://breckes.org/dokumenty/blog01.two_meanings_of_set.pdf">pdf file of this entry</a>; for the comments, if you type “<code>set&lt;sup&gt;1&lt;/sup&gt;</code>”, you get “set<sup>1</sup></em>”)</p>
]]></content:encoded>
			<wfw:commentRss>http://math.breckes.org/2009/03/the-two-meanings-of-the-word-%e2%80%9cset%e2%80%9d-in-mathematics/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

