Let $f:X\to Y$ be a function, $\mathcal C$ be a family of subsets of $Y$. I am convinced that $f^{-1}(\sigma(\mathcal C))=\sigma(f^{-1}(\mathcal C))$, where $\sigma(\mathcal A)$ is the $\sigma$-algebra generated by $\mathcal A$.
The part $\sigma(f^{-1}(\mathcal C))\subseteq f^{-1}(\sigma(\mathcal C))$ is quite straight forward since $f^{-1}$ behave nicely with set-theoretic operations but I cannot see how to prove its converse. I tried to characterize $\sigma(\mathcal A)$ by seeing how it can be constructively define but my effort was not very fruitful. (From this post by Mr.Asaf, it seems that I must use higher cardinal.)
So how should I prove $f^{-1}(\sigma(\mathcal C))\subseteq\sigma(f^{-1}(\mathcal C))$ ? It is really hard or perhaps I missed something silly? Any hint would be appreciate. Thank you in advance.