Euler had, in effect, cashed a check without first confirming the bank account existed: he assumed an "infinite polynomial" behaves like a finite one, without any proof that this is legitimate. The check did clear — but only because Karl Weierstrass built the missing bank, 140 years later, showing exactly which functions can be rebuilt from their zeros this way.
sinx=xn=1∏∞(1−n2π2x2)
Detailed analysis
Euler's product for sinx is correct, and he later confirmed it by other, independent routes. But the leap in Step 3 — that a function is essentially determined by its zeros the way a polynomial is — only became a real theorem with Karl Weierstrass's factorisation theorem for entire functions (1876), which gives an explicit criterion for when no extra exponential factor is needed. This proof is presented largely as Euler gave it, gap and all, because that is how the identity was actually discovered.
Terms in this step
Weierstrass factorization theorem
A 1876 theorem of Karl Weierstrass showing exactly which entire functions equal a convergent product over their zeros times eg(x) for some entire function g, and when g must be constant.
Entire function
A function of a complex variable that is differentiable at every point of the complex plane, such as sinz or ez.