$$ p(\theta) = \left[\lim_{t \to0} p(t) \right] \lim_{n \to \infty}\prod_{i=0}^{n}( \frac{\cos^2 \frac{ \theta}{2^i} +1}{2})$$
I know each term in the product is differentiable but does that mean the total product will be ? I thought of doing a repeated product rule, but I was a bit worried that maybe due to the limit, the differentiability would be effected.