Say I have two non-negative probability distributions $P(x_1, x_2, \ldots, x_d)$ and $Q(z_1, z_2, \ldots, z_d)$ over two $d$ dimensional spaces.
Define two marginal distributions as: $$P(x_i) = \int^{+\infty}_{-\infty}\underbrace{dx_1\ldots dx_{d}}_{\text{without } x_i} P(x_1, x_2,\ldots ,x_d)$$ $$Q(z_i) = \int^{+\infty}_{-\infty}\underbrace{dz_1\ldots dz_{d}}_{\text{without } z_i} P(z_1, z_2,\ldots ,z_d)$$ Since $\int_{-\infty}^{+\infty}P(x_i)dx_i = 1$ and $\int_{-\infty}^{+\infty}Q(z_i)dz_i = 1$, so let $F(x_i)$ and $G(x_i)$ be CDFs of $P(x_i)$ and $Q(z_i)$ respectively. Based on probability integral transform, we have a one-to-one and onto map $$x_i = F^{-1}(G(z_i)) = f_{i}(z_i)$$
My question is:
If I apply this to each pair of variables $(x_i, z_i)$, at the end of the day, will I get this? $$\begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_d\end{pmatrix} = \begin{pmatrix} f_{1}(z_1) \\ f_{2}(z_2) \\ \vdots \\ f_{d}(z_d)\end{pmatrix}$$
And I think I can also do this with conditional distribution:
Based on $$\int_{-\infty}^{+\infty}dx_j P(x_j|x_i)P(x_i) = \int_{-\infty}^{+\infty}dx_j P(x_j, x_i) = P(x_i)$$ such that $$\int_{-\infty}^{+\infty}dx_j P(x_j|x_i) = 1$$
For $x_1$ and $z_1$, I still find the map $x_1 = f_1(z_1)$ by the approach described above. Then, I just randomly choose a $z_1$ and the corresponding $x_1$, find the two conditional distribution $P(x_2|x_1)$ and $Q(z_2|z_1)$. Let $F(x_2|x_1)$ and $G(z_2|z_1)$ be the CDFs of the two conditional distributions respectively, so I can also find $$x_2 = F^{-1}(G(z_2|z_1)|x_1) = f_2(z_2, z_1)$$ By doing this layer by layer, at the end of the day, what I will have is $$\begin{pmatrix} x_1 \\ x_2 \\ \vdots \\ x_d\end{pmatrix} = \begin{pmatrix} f_{1}(z_1) \\ f_{2}(z_1, z_2) \\ \vdots \\ f_{d}(z_1, z_2, \ldots, z_d)\end{pmatrix}$$
In this approach, an $x_i$ is not only dependent on $z_i$, which is not like the nice disentangled expression that I have above.
Are there any mistakes in the math that I did? Moreover, simply for the sake of proving a theorem, are there any differences between the two approaches?