So I'm trying to prove the following,
Prove that if $A\sim B$ then $\mathscr{P}(A) \sim \mathscr{P}(B)$.
Here's how I started out to prove there is a function that is injective:
Suppose $A \sim B$. Then we can choose a function $f:A\rightarrow B$ that is one-to-one and onto. Let's define $H: \mathscr{P}(A) \rightarrow\mathscr{P}(B)$. Suppose $H(A)=H(B)$. Then if $x\in A$ then $f(x)\in H(A)$. Also if $y\in B$ then $f(y)\in H(B)$.
My question is can I say $f(x)=f(y)$ and since $f$ was one-to-one $x=y$. So $H$ is injective.
Here's how I started the proof to show $H$ is surjective. I have no idea about this one:
To see that $H$ is onto, suppose $y\in\mathscr{P}(B)$ and $x\in\mathscr{P}(A)$. Since $f$ was onto we can choose a $w\in X$ such that $f(w)=z$, therefore $H(X)=z$ as required.
Any help is appreciated.