Asked By : hsalin
Answered By : Kaveh
- the set of computable functions,
- the set of algorithms,
- ${0,1}^*$, the set of finite strings from ${0,1}$, and
- $mathbb{N}$, the set of natural numbers.
On the other hand, there are uncountably many functions over strings (or natural numbers). A function $f:mathbb{N} to mathbb{N}$ (or $f:{0,1}^* to {0,1}^*$) assigns a value for each input. Each of these values can be chosen independently from others. So there are $mathbb{N}^mathbb{N}=2^mathbb{N}$ possible function. The number of functions over natural numbers is equal to the number of real numbers. Since only countably many of functions are computable, most of them are not. In fact the number of uncomputable functions is also $2^{mathbb{N}}$. If you want to picture this intuitively, think about natural numbers and real numbers, or about finite binary strings and infinite binary strings. There are way more real numbers and infinite binary strings than natural numbers and finite strings. In other words $mathbb{N} < 2^mathbb{N}$ (for a proof of this fact see Cantor’s diagonal argument and Cardinal arithmetic).
Best Answer from StackOverflow
Question Source : http://cs.stackexchange.com/questions/9633