I wish to show that $f\left(\bigcup_aX_a\right)=\bigcup_af(X_a)$
My attempt:
$$y\in f\left(\bigcup_aX_a\right)\implies\exists x\in\bigcup_aX_a:y\in f(\{x\})$$
which I didn't like, so I re-wrote it as:
$$\forall y\in f\left(\bigcup_aX_a\right)\exists x\in\bigcup_aX_a:y\in f(\{x\})$$
I have to introduce an $x$, I need to put an exists somewhere (unlike proving De Morgan's laws, where you can just say $x\in$left hand side $\implies\in$RHS and then the other way)
Now I can write the "if $x$ is in the union of some sets it is in at least one of them" nicely as:
$$\forall x\in\bigcup_aX_a\exists b:x\in X_b$$ - given an $x$ I can get a $b$.
How do I use this above?
$$\forall y\in f\left(\bigcup_aX_a\right)\exists x\exists b:x\in X_b\implies y\in f(\{x\})$$
I am saying for all y there exists an x (based on that y) there exists a b based on that x and y with $x\in X_b$.... surely I could also say "there exists a b where there exists an x such that x in $X_b$ implies...."
I will want to go to:
$\forall y\in f\left(\bigcup_aX_a\right)\exists b:y\in f(X_b)$ which makes me want to swap round the order of exists.
Then from this we go (not sure how to write it with equal rigor) that y would be in the union of $f(X_a)$ over a.
Completing the proof
My first attempt:
$y\in f\left(\bigcup_aX_a\right)\implies f^{-1}(\{y\})\subset \bigcup_aX_a$ so $\exists x\in f^{-1}(\{y\})$ with $x\in\bigcup_aX_a$ which doesn't feel as concrete as I'd like.