Trying to show that, where $(X,\mathscr{F})$ is a measurable space,
if $f^{-1}(A) \in \mathscr{F} $ whenever $A \in \mathscr{A}$,
then $f^{-1}(A) \in \mathscr{F} $ whenever $A \in \sigma(\mathscr{A})$
We should be assuming $f:X\rightarrow Y$ is a function where $X \in \mathscr{F}$ is nonempty. Also, $\mathscr{A}$ is a collection of subsets of Y.