Cantor's diagonal argument
s: the set of binary sequences is uncountable. The sequence at the bottom cannot occur anywhere in the enumeration of sequences above. may have the same cardinality as a proper subset of itself, as the depicted bijection f(x)=2x from the natural to the even numbers demonstrates. Nevertheless, infinite sets of different cardinalities exist, as Cantor's diagonal argument shows. Cantor's diagonal argument (among various similar names ) is a mathematical proof that there are infinite sets which cannot be put into one-to-one correspondence with the infinite set of natural numbers informally, that there are sets which in some sense contain more elements than there are positive integers. Such sets... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.
s: the set of binary sequences is uncountable. The sequence at the bottom cannot occur anywhere in the enumeration of sequences above. may have the same cardinality as a proper subset of itself, as the depicted bijection f(x)=2x from the natural to the even numbers demonstrates. Nevertheless, infinite sets of different cardinalities exist, as Cantor's diagonal argument shows. Cantor's diagonal argument (among various similar names ) is a mathematical proof that there are infinite sets which cannot be put into one-to-one correspondence with the infinite set of natural numbers informally, that there are sets which in some sense contain more elements than there are positive integers. Such sets are now called uncountable sets, and the size of infinite sets is treated by the theory of cardinal numbers, which Cantor began. Georg Cantor published this proof in 1891, but it was not his first proof of the uncountability of the real numbers, which appeared in 1874. However, it demonstrates a general technique that has since been used in a wide range of proofs, including the first of Gödel's incompleteness theorems and Turing's answer to the Entscheidungsproblem. Diagonalization arguments are often also the source of contradictions like Russell's paradox and Richard's paradox. An injection from T to R is given by mapping binary strings in T to decimal fractions, such as mapping t = 0111... to the decimal 0.0111.... This function, defined by , is an injection because it maps different strings to different numbers. Constructing a bijection between T and R is slightly more complicated. Instead of mapping 0111... to the decimal 0.0111..., it can be mapped to the base-b number: 0.0111... b . This leads to the family of functions: . The functions are injections, except for . This function will be modified to produce a bijection between T and R. ===General sets=== of f:\mathbb{N}\to\mathcal{P}(\mathbb{N}) . The example mapping f happens to correspond to the example enumeration s in the picture above. A generalized form of the diagonal argument was used by Cantor to prove Cantor's theorem: for every set S, the power set of S—that is, the set of all subsets of S (here written as P(S))—cannot be in bijection with S itself. This proof proceeds as follows: Let f be any function from S to P(S). It suffices to prove that f cannot be surjective. This means that some member T of P(S), i.e. some subset of S, is not in the image of f. As a candidate consider the set T = \{ s \in S : s \notin f(s) \}. For every s in S, either s is in T or not. If s is in T, then by definition of T, s is not in f(s), so T is not equal to f(s). On the other hand, if s is not in T, then by definition of T, s is in f(s), so again T is not equal to f(s); see picture. For a more complete account of this proof, see Cantor's theorem. ==Consequences== ===Ordering of cardinals=== With equality defined as the existence of a bijection between their underlying sets, Cantor also defines binary predicate of cardinalities |S| and |T| in terms of the existence of injections between S and T . It has the properties of a preorder and is here written " \le ". One can embed the naturals into the binary sequences, thus proving various injection existence statements explicitly, so that in this sense |{\mathbb N}|\le|2^{\mathbb N}| , where 2^{\mathbb N} denotes the function space {\mathbb N}\to\{0,1\} . But following from the argument in the previous sections, there is no surjection and so also no bijection, i.e. the set is uncountable. For this one may write |{\mathbb N}| , where " " is understood to mean the existence of an injection together with the proven absence of a bijection (as opposed to alternatives such as the negation of Cantor's preorder, or a definition in terms of assigned ordinals). Also |S| in this sense, as has been shown, and at the same time it is the case that \neg(|{\mathcal P}(S)|\le|S|) , for all sets S . Assuming the law of excluded middle, characteristic functions surject onto powersets, and then |2^S|=|{\mathcal P}(S)| . So the uncountable 2^{\mathbb N} is also not enumerable and it can also be mapped onto {\mathbb N} . Classically, the Schröder–Bernstein theorem is valid and says that any two sets which are in the injective image of one another are in bijection as well. Here, every unbounded subset of {\mathbb N} is then in bijection with {\mathbb N} itself, and every subcountable set (a property in terms of surjections) is then already countable, i.e. in the surjective image of {\mathbb N} . In this context the possibilities are then exhausted, making " \le " a non-strict partial order, or even a total order when assuming choice. The diagonal argument thus establishes that, although both sets under consideration are infinite, there are actually more infinite sequences of ones and zeros than there are natural numbers. Cantor's result then also implies that the notion of the set of all sets is inconsistent: If S were the set of all sets, then {\mathcal P}(S) would at the same time be bigger than S and a subset of S . ====In the absence of excluded middle==== Also in constructive mathematics, there is no surjection from the full domain {\mathbb N} onto the space of functions {\mathbb N}^{\mathbb N} or onto the collection of subsets {\mathcal P}({\mathbb N}) , which is to say these two collections are uncountable. Again using " " for proven injection existence in conjunction with bijection absence, one has {\mathbb N} and S . Further, \neg({\mathcal P}(S)\le S) , as previously noted. Likewise, 2^{\mathbb N}\le{\mathbb N}^{\mathbb N} , 2^S\le{\mathcal P}(S) and of course S\le S , also in constructive set theory. It is however harder or impossible to order ordinals and also cardinals, constructively. For example, the Schröder–Bernstein theorem requires the law of excluded middle. In fact, the standard ordering on the reals, extending the ordering of the rational numbers, is not necessarily decidable either. Neither are most properties of interesting classes of functions decidable, by Rice's theorem, i.e. the set of counting numbers for the subcountable sets may not be recursive and can thus fail to be countable. The elaborate collection of subsets of a set is constructively not exchangeable with the collection of its characteristic functions. In an otherwise constructive context (in which the law of excluded middle is not taken as axiom), it is consistent to adopt non-classical axioms that contradict consequences of the law of excluded middle. Uncountable sets such as 2^{\mathbb N} or {\mathbb N}^{\mathbb N} may be asserted to be subcountable. This is a notion of size that is redundant in the classical context, but otherwise need not imply countability. The existence of injections from the uncountable 2^{\mathbb N} or {\mathbb N}^{\mathbb N} into {\mathbb N} is here possible as well. So the cardinal relation fails to be antisymmetric. Consequently, also in the presence of function space sets that are even classically uncountable, intuitionists do not accept this relation to constitute a hierarchy of transfinite sizes. When the axiom of powerset is not adopted, in a constructive framework even the subcountability of all sets is then consistent. That all said, in common set theories, the non-existence of a set of all sets also already follows from Predicative Separation. In a set theory, theories of mathematics are modeled. Weaker logical axioms mean fewer constraints and so allow for a richer class of models. A set may be identified as a model of the field of real numbers when it fulfills some axioms of real numbers or a constructive rephrasing thereof. Various models have been studied, such as the Cauchy reals or the Dedekind reals, among others. The former relate to quotients of sequences while the later are well-behaved cuts taken from a powerset, if they exist. In the presence of excluded middle, those are all isomorphic and uncountable. Otherwise, variants of the Dedekind reals can be countable or inject into the naturals, but not jointly. When assuming countable choice, constructive Cauchy reals even without an explicit modulus of convergence are then Cauchy-complete and Dedekind reals simplify so as to become isomorphic to them. Indeed, here choice also aids diagonal constructions and when assuming it, Cauchy-complete models of the reals are uncountable. ===Diagonalization in broader context=== Russell's paradox has shown that set theory that includes an unrestricted comprehension scheme is contradictory. Note that there is a similarity between the construction of T and the set in Russell's paradox. Therefore, depending on how we modify the axiom scheme of comprehension in order to avoid Russell's paradox, arguments such as the non-existence of a set of all sets may or may not remain valid. Analogues of the diagonal argument are widely used in mathematics to prove the existence or nonexistence of certain objects. For example, the conventional proof of the unsolvability of the halting problem is essentially a diagonal argument. Also, diagonalization was originally used to show the existence of arbitrarily hard complexity classes and played a key role in early attempts to prove P does not equal NP. ==Version for Quine's New Foundations== The above proof fails for W. V. Quine's "New Foundations" set theory (NF). In NF, the naive axiom scheme of comprehension is modified to avoid the paradoxes by introducing a kind of "local" type theory. In this axiom scheme, { s ∈ S: s ∉ f(s) } is not a set — i.e., does not satisfy the axiom scheme. On the other hand, a modified diagonal argument would begin by noticing that { s ∈ S: s ∉ f({s}) } is a set in NF. In which case, if P 1 (S) is the set of one-element subsets of S and f is a proposed bijection from P 1 (S) to P(S), one is able to use proof by contradiction to prove that |P 1 (S)| < |P(S)|. The proof follows by the fact that if f were indeed a map onto P(S), there would be an r in S, such that f({r}) coincides with the modified diagonal set, above. This would show that if r is not in f({r}), then r is in f({r}) and vice versa. It is not possible to put P 1 (S) in a one-to-one relation with S, as the two have different types, and so any function so defined would violate the typing rules for the comprehension scheme. ==See also== Cantor's first uncountability proof Continuum hypothesis Controversy over Cantor's theory Diagonal lemma ==Notes== ==References==
Cite this
"Cantor's diagonal argument". 1789788324. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1375662524 JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy