In class we introduced Reimann Zeta function
$$ \zeta (x)=\sum_{n=1}^{+\infty} \frac{1}{n^x} $$ And we proved its domain was $D=(1,+\infty)$
Now Euler proved that
$$ \zeta(x)=\prod_{p\text{ prime}}\frac{1}{1-p^{-x}} $$
By saying $$ \zeta(x)=1+\frac{1}{2^x}+\frac{1}{3^x}+... \\ \zeta(x)(\frac{1}{2^x})=\frac{1}{2^x}+\frac{1}{4^x}+... \\ \zeta(x)(1-\frac{1}{2^x})=1+\frac{1}{3^x}+\frac{1}{5^x}+... $$
And so on for every prime number.
However this proof isn't a 'rigorous proof' as my professor says. Why is that and how would one prove this rigorously? Any reference would be helpful. I have seen on wikipedia that to make the proof rigorous we need to observe $\mathfrak{R}(x)>1$ Is that the real part of x or something else?
(this is how I'd do it)
consider the formal product and series, then by induction on the $k$th prime : $$\prod_p (1+p^{-x}+p^{-2x}+\ldots) = \sum_n a_n n^{-x}$$
now consider the coefficient $a_1$ : it is clearly $1$, the coefficient $a_2$ : it is clearly $1$, etc. (by the fundamental theorem of arithmetic).
now do the same with $$F_K(x) = \prod_{p \le K} (1+p^{-x}+p^{-2x}+\ldots) = \sum_{n=1}^\infty a_n(K) n^{-x}$$
then if $n = \prod_i p_i^{e_i}$ : $a_n(K) = 1$ if all the $p_i \le K$, otherwise $a_n(K) = 0$.
clearly $F_K(x)$ is well-defined for any $x > 1$ (it is a finite product), and $\lim_{K \to \infty} F_K(x)$ exists too because the logarithm of the infinite product is $-\sum_p \ln(1-p^{-x})$ which is absolutely convergent since $\ln(1-p^{-x}) \sim -p^{-x}$ and that $\sum_p p^{-x} < \sum_{n=1}^\infty n^{-x}$ which is (absolutely) convergent.
finally, $\zeta(x)- F_K(x) = \sum_{n=1}^\infty |a_n(K)-1| n^{-x} > 0$, it is absolutely convergent, it is decreasing in $K$, and it clearly $\to 0$ when $K \to \infty$ since every term $\to 0$.
i.e. :
$$\lim_{K \to \infty} F_K(x) = \prod_p \frac{1}{1-p^{-x}} = \zeta(x) \qquad\qquad (\forall \ x > 1)$$
the proof for every $Re(x) > 1$ is a little more complicated, since we don't have monotone convergence of $\zeta(x)-F_K(x)$ to $0$ but only absolute convergence.