I read that Cantor's Theorem can be proven in type theory (although I haven't found/understood such a proof). My understanding however is that type theory can be impredicative and as such that wouldn't help me very much.
I have the impression that the proof I've seen on Wikipedia of Cantor's Theorem is impredicative. If it isn't enlighten me as I clearly then do not understand it. If it is, then my question stands.
Regards.
Cantor's proof that there is no bijection between a set $X$ and its powerset $\Bbb{P}(X)$ goes like this: if $f : X \to \Bbb{P}(X)$ is any function, then $\{x \in X \mid x \notin f(x)\}$ is a member of $\Bbb{P}(X)$ that is not in the range of $f$. This is a constructive argument: you give me an $f$ and I give you something that is not in its range. This doesn't require any impredicative reasoning.