I understand that the existence of the powerset is usually taken as an axiom in ZFC, but why not simply view the powerset a function?
I know that you can define the powerset to be a function $P : V_\kappa \rightarrow V_{\kappa +1} $ where $V_{\kappa}$ is a stage on the Neumann universe, but recall that the stages of the Neumann universe are defined using the powerset. Is there any way to define the powerset as a function, without using the powerset itself in the definition? I guess that might be why its existence is taken as an axiom...?
As you know the collection of all sets is not a set at all.
Thus defining the power set as a function requires some domain different from the collection of all sets.
The power set is well defined but as if we try to define power set as a function with a domain and a codomain we will get into paradoxes.