Let $A$ and $B$ be sets. There seem to be two ways of writing $A \subseteq B$: \begin{equation} \forall x(x \in A \implies x \in B) \end{equation} or \begin{equation} (\forall x \in A) x \in B \end{equation}
I usually see the first one written. I am curious to know if the second version is in proper form, logically. Is it a well-formed formula (wff)? Is there any way to prove these two formulas are logically equivalent?
By the way, I am quite interested in this area of question. For example, I commonly want to know when it is better to write \begin{equation} (\forall x \in A) x \in B \end{equation} or \begin{equation} \forall x \in A (x \in B) \end{equation} is there anything I could read that would teach me the difference, and which is more preferable?