Given a subset $A \subseteq B$, the closure of $A$ under $f$, denoted by $cl_f(A)$, is the smallest subset of $B$ which contains $A$ and is closed under $f$.
Define a sequence $\{A_n\}_{n \in \mathbb{N}}$ of subsets of B recursively as follows:
$$A_0 = A$$ $$A_{n+1}=f[A_n]\cup A_n \text{ for } n\in \mathbb{N}.$$
Prove $cl_f(A)=\bigcup_{n \in \mathbb{N}}A_n$.
How do I go about this proof? I am having trouble starting it.
$cl_f(A)\subset\cup_nA_n$ since $\cup_nA_n$ it contains $A$ and is stable by $f$.
On the other hand, suppose that $A_n\subset cl_f(A)$, $f(A_n)=A_{n+1}\subset cl_f(A)$, since $A_0=A\subset cl_f(A)$, this implies recursively that $\cup_nA_n\subset cl_f(A)$.