I'm struggling on how to prove this statement:
Let $X,Y$ two sets and $f : X \to Y$ and $g: P(X)\to P(Y)$ two functions s.t. $g(A) = f(A)$. Prove that $f$ is bijective $\iff$ $g$ is bijective.
So what I did so far is proving that if one is injective, the another one is as well. I did this:
$f$ is injective $\iff f(A)=f(B) \implies A=B\implies g(A) = f(A) = f(B)=g(B)\implies g$ is injective because $g(A) = f(A)$.
Now what is left to show is that if one is surjective, the other one is. But I don't know how to approach there.