Prove that for any set $A$, there is no one-one correspondence between $A$ and its power set $P(A)$.
Suppose that there is a one-one correspondence $f$ between $A$ and $P(A)$.
Let $B$ be one such set defined as follows:
$$B=({x\in A:x\notin f(x)})$$
Then $B$ is a subset of $A$ and so $B\in P(A)$. So there is an element $a\in A$ such that $f(a)=B$
case 1: $a\in f(a)$ implies $a\in B$ which is a contradiction.
case 2: $a\notin f(a)$ implies $a\in B$ which is a contradiction.
Thus we conclude that there is no one-one correspondence between $A$ and $P(A)$.
I dont quite understand the proof above like why is there a contradiction and how to arrive at it. Could anyone explain more clearly how the above proof works. Thanks