About the Cardinality of Sets
Even though it “only” was an assignment in Computational Models, it has a rather nice solution. The Problem:
Show that for every set
it holds that
.
A proof: The basic idea is to generalize Cantor’s diagonal argument. Assume that there is a set
such that
. Then there is a surjective mapping
. Define some mappings:
with
otherwise
Then:
for all
. This means: There is no element
such that

cannot be surjective.
One amazing impact of that fact: There are problems that cannot be decided by a Turing Machine. How to see this? The set of all Turing Machines, denoted by
, is enumerable, hence there is a surjection
. But since the set of all languages
is equal to
, there are languages which are undecidable by Turing Machines. Stunning, eh?

.