Let $X$ be a set and $S\subseteq\mathcal{P}(X)$ be a family of subsets of $X$. I'd like to know if I can replace this commonly used notation $$\bigcup_{Y\in S}Y$$ by this one $$\bigcup S$$ and be understood by any mathematician outside of set theory; that is, I want to know if the second notation is as well-known as the first one. I saw it used in a famous set theory book so my guess is it's well spread among set theorists. However every other mathematician I've seen uses the first notation.
(The requirement "any mathematician outside of set theory" is naturally an wishful exaggeration. I'll be satisfied if more than 90% of mathematicians outside of set theory understand me. Damn it, I'll pay if 90% of just topologists and analysts understand the notation.)
Yes, this is standard in set theory. For example, where the Wikipedia page on unions first goes beyond the binary unions $A \cup B$, it gives the definition
$$ x \in \bigcup \mathbf{M} \iff \exists A \in \mathbf{M}, x \in A $$
and then goes into how the $\bigcup$ symbol can also be used with subscripting.
I don't see these as alternative styles where one would want to consistently use one or the other. The notation which is more convenient depends on what's already defined or to be used: If $S$ contains the sets to be combined, use $\bigcup S$. If $A_i$ are the sets to be combined, use $\bigcup_{i=1}^N A_i$ or similar.
A short note about the meaning of $\bigcup$ without a subscript might be good if the context or audience isn't in set theory.