Proofs of Cantor's Theorems in Lean 3. They prove that
The two theorems proved were his proofs of Surjectivity and Injectivity. There are also some other small proofs scattered around.
The theorem of Surjectivity states:
Let
Here is a link to the handwritten proof.
What is extremely interesting about the theorem for Surjectivity is that it proves that there are infinitely many infinities, in an infinite heirarchy.
The thoerem of Injectivity states:
Let
Here is a link to the handwritten proof.
This proof is much less well known than the first, and it was hard to find a formlization online. I have to thank Neverbloom#6760
on discord for this one.
powerset
surjective function: TODO