First of all, recall the complex definitions of the two trigonometric functions:
$$ \sin(x) = \frac{e^{ix}-e^{-ix}}{2i}, \space \cos(x) = \frac{e^{ix}+e^{-ix}}{2}. $$
Now, the formula for $\sin(2x)$ can be derived from these two. But so can it be extended by multipying each new result by $ 2\cos(2^{b}x) $:
$$ 2\sin x \cos x = \sin(2x), \space 4\sin x \cos x \cos(2x) = \sin(4x), \space ... $$ and so on. Therefore $$ 2^{b}\sin x \prod_{n=0}^{b-1}\cos(2^{n}x) = \sin(2^{b}x). $$ However, it might be possible - and this is the step that could be a fallacy - to rewrite the product so as to generalize the outcome to some real numbers. $$ 2^{b}\sin\ x \prod_{n=0}^{\infty}\frac{\cos(2^{n}x)}{\cos(2^{n}2^{b}x)} = \sin(2^{b}x) => \prod_{n=0}^{\infty}\frac{\cos(2^{n}x)}{\cos(2^{n}bx)} = \frac{\sin(bx)}{b\sin x}.$$
So far, is this true? Pick x = 1 and notice this is false for b = $\frac{\pi}{4}$. However, for x = 1 and b = $\pi$ or x = 1 and b = 1 the product goes to appropriate values.
Can I now deduce from this the formula for the reciprocal of the product?
$$ \prod_{n=0}^{\infty}\frac{\cos(2^{n}bx)}{\cos(2^{n}x)} = \frac{b\sin x}{\sin(bx)} $$
Instead of starting the derivation with sinx, I could have started it with $\frac{1}{\sin x}$ and then continued multiplying the denominator. Hence the invalidity of the formula for $\frac{\pi}{2^{n}}, \space n > 1 \space and \space n \in \mathbb{N}, \space$ cannot be explained by the first product's singularities, right?
Is the idea anyhow correct, at least for some numbers?