Cantor's diagonal argument

From Citizendium
Revision as of 10:04, 30 March 2007 by imported>Greg Woodhouse (ref. to halting problem)
Jump to navigation Jump to search

Cantor's diagonal method provides a convenient proof that the set Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2^{\mathbb{N}}} of subsets of the natural numbers (also known as its power set is not countable. More generally, it is a recurring theme in computability theory, where perhaps its most well known application is the negative solution halting problem.

The Argument

To any set we may associate a function by setting if and , otherwise. Conversely, every such function defines a subset.

If power set is countable, there is a bijective map , that allows us to assign an index to every subset S. Assuming this has been done, we proceed to construct a function such that the corresponding set, cannot be in the range of .

For each , either or , and so we may simply such that .

It follows that for any Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle i} , and it must therefore correspond to a set not in the range of Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle \Psi} . This contradiction shows that Failed to parse (SVG (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://wikimedia.org/api/rest_v1/":): {\displaystyle 2^{\mathbb{N}}} cannot be countable.