I'm blocked on a question about sets:
if $2^X= 2^Y$ holds for two sets $X$ and $Y$, then can we say that $X=Y$ ?
I know how to prove it with two integers a and b but how can i show it with two sets?
Thanks
I'm blocked on a question about sets:
if $2^X= 2^Y$ holds for two sets $X$ and $Y$, then can we say that $X=Y$ ?
I know how to prove it with two integers a and b but how can i show it with two sets?
Thanks
Yes. We show that $X \subseteq Y$, and then $Y \subseteq X$ follows by symmetry.
Let $x \in X$. Then $\{x\} \in \mathcal{P}(X)$. So, since $\mathcal{P}(X) = \mathcal{P}(Y)$, have $\{x\} \in \mathcal{P}(Y)$; so $x \in Y$.
Actually, faster way which skips out one quantifier: $X \subseteq X$, so $X \in \mathcal{P}(X)$, so $X \in \mathcal{P}(Y)$, so $X \subseteq Y$.