I need to prove the axiom of power set (existence of) using the axiom of replacement. X is the original set (say {0,1}) I tried to create a relation(Q) were each element of the set is assigned a true or a false value in all possible combinations. Then I created another function R which gives all the combination of values were the value of Q is true. By the axiom of replacement, this is a set. This is nothing but {{1},{0},{1,0},empty set}
Can this be made more elegant?
Please see this link: (exercise from Tao's analysis book) Proof of a lemma relating to power set of X