Cantor’s proof that there are uncountably many reals uses a diagonalization argument that may be generalized in the following way.

Cantor's Theorem.

Let be any set. There is no surjective function .