I use Typora. I have obtained the following, using an array and multiple quads :
$\begin{array}{lcl} P_4 & = & P_1 & \cup & \\
& \cup & P_2 & \cup & \\
& \cup & \left \{ S \xrightarrow[(1)]{} b \quad
\mid \quad S_1 \rightarrow b \in P_1,
\quad b \in X \cup \left \{ \lambda \right \}
\quad \right \} &\cup & \\
&\cup & \left \{ S \xrightarrow[(2)]{} bC \quad
\mid \quad S_1 \rightarrow bC \in P_1,
\quad b \in X, \quad b \ne \lambda,
\quad C \in V_1 \quad \right \}
\end{array}$
instead, I would want to obtain the following:
I have tried, but, I obtain an error if I use parenthesis within array. Please, can you tell me, how can I obtain that tabular positioning? Thanks! :)