Cardinality & Computability

Cardinality

Some infinities are bigger than others.

Hotel Infinity

(Adapted from Martin Gardner): Hotel Infinity has an infinite number of rooms — numbered 1, 2, 3, ….


Cardinality, More Formally

Countable sets

There are several equivalent definitions of countable (or enumerable). Let's follow the above ideas:

Previously showed, informally,

Some additional definitions & notes:

Sets A and B have the same cardinality iff there is a total bijection between them.

Uncountable sets

Hmmm, all of this suggests there are infinite sets that aren't countable!

We'll show that ℝ is not countable. Even better, we'll show a subset of ℝ, the interval [0,1], isn't countable.

(Time permitting...) We'll also show that ℕ→ℕ is uncountable. The following is one method. A homework problem effectively asks for a second (closely related) method.


Computability

Just a brief intro…

We can't program all functions!

How many possible computer programs are there? Compare that to the size of ℕ→ℕ.

Example uncomputable function

Halting Problem