Proposition 1,
The optimal discriminator is
$$
D^{*}_G(x) = \frac{p_\text{data}(x)}{p_\text{data}(x) + p_g(x)}
$$
At the proof, I couldn't understand about change of variables with integral.
Why the first line is changed to second line?! $$ V(G,D) = \int_x p_\text{data}(x)\log(D(x))\,dx + \int_z p_Z(z)\log(1-D(g(z)))\,dz \\ = \int_x p_\text{data}(x)\log(D(x)) + p_g(x)\log(1-D(x))\,dx $$
I tried to calculate it myself.
But a below condition is needed to change the first line of $V(G,D)$ to second line of $V(G,D)$ $$ p_z(z) \frac{1}{g'(z)}=p_g(x)$$
In summary.. My question is that..
- Why the first line of V(G,D) can be changed to second line of V(G,D)
- In my own trial to change the V(G,D), the above condition was needed. Is it appropriate condition?!