during the discussions in this former thread there occured a statement that causes some headachse to me. we work in the same setting as given in the linked thread: let $K / \mathbb{Q}$ be a Galois number field with ring of integers $O_K $. take a prime ideal $\mathfrak P$ of $O_K$ lying over $p\mathbb{Z}$. then we obtain the induced field extension $K_{\mathfrak P} /\mathbb{Q}_p$ with $K_{\mathfrak P}$ completion of $K$ with respect $\mathfrak P$.
now $pO_K$ ramifies in $O_K$ to $pO_K = \prod_i \mathfrak{P}_i ^{l_i}$. my question how to deduce that following formula is correct:
$$K \otimes \mathbf{Q}_p = \prod K_{\mathfrak{P}_i}$$
in this equation we denote by $K_{\mathfrak{P}_i}$ the completion fields of $K$ with respect to prime $\mathfrak{P}_i$.
in the progression of the discussion there were obtained some results bringing the solution nevertheless the final step combining the observations presented below is still missed:
we observed that
($\bullet$) since $K$ separable and finite because number field we can apply the primitive generator theorem and obtain $K= \mathbb{Q}[X]/R(X)$ for $R(X) \in \mathbb{Q}[X]$. in $\mathbb{Q}_p[X]$ we obtain splitting of $R$ to $R(X) = \prod_i R_i(X)$ with irreducible and coprime $R_i(X) \in \mathbb{Q}_p[X]$. Chinese remainder theorem tell that $K \otimes \mathbf{Q}_p = \prod_i \mathbb{Q}_p[X]/R_i(X)= \prod_i K_{i}$ with $K_i := \mathbb{Q}_p[X]/R_i(X)$.
($\bullet$) on the other hand having ramification splitting $pO_K = \prod_i \mathfrak{P}_i ^{l_i}$ in $O_K$ we use again CRT in ideal theoretic way to obtain $\mathcal{O}_K/p^n \cong \prod_i \mathcal{O}_K/\mathfrak{P}^{n l_i}_i$. passing to inverse colimit and observe that the inverse system $(\prod_i \mathcal{O}_K/\mathfrak{P}^{n l_i}_i)_n$ is cofinal in bigger inverse system $(\prod_i \mathcal{O}_K/\mathfrak{P}^{n_{i} l_i}_i)_{(n_1,...,n_s)}$ we obtain $O_K \otimes_{\mathbb{Z}} \mathbb{Z}_p\cong \varprojlim_n O_K/p^n= \varprojlim_n \prod_i \mathcal{O}_K/\mathfrak{P}^{n l_i}_i= \prod _i \varprojlim_n \mathcal{O}_K/\mathfrak{P}^{n }= \prod _i O_{K_{\mathfrak{P}_i}}$ again by cofinal argument.
now I don't know haow to derive from facts that $K \otimes \mathbf{Q}_p = \prod_i \mathbb{Q}_p[X]/R_i(X)= \prod_i K_{i}$ and $O_K \otimes_{\mathbb{Z}} \mathbb{Z}_p \cong \prod _i O_{K_{\mathfrak{P}_i}}$ the equation $K \otimes \mathbf{Q}_p = \prod K_{\mathfrak{P}_i}$. is there some useful relation connection behavior of fraction fields of their rings of integers? other way to tensor $O_K \otimes_{\mathbb{Z}} \mathbb{Z}_p$ with $K$ and $\mathbb{Q}_p$ breaks in generally the product structure on the right hand side.