What is the proper way to typeset in LaTeX, in display-mode, a series of equivalences and definitions of unequal lengths of sets ?
Consider for this the following code that I used for a series of equivalences
$$
\begin{array}{rcl}
y_{0}=\frac{\pm\sqrt{1-z^{2}}}{z} & \Longleftrightarrow & y_{0}z=\pm\sqrt{1-z^{2}}\\
& \Longleftrightarrow & y_{0}^{2}z^{2}=1-z^{2}\\
& \Longleftrightarrow & (1+y_{0})z^{2}=1\\
& \Longleftrightarrow & z=\pm\frac{1}{1+y_{0}^{2}}.
\end{array}
$$
and the following code I used for definitions of unequal lengths of sets:
\begin{alignat*}{1}
D_{1} & :=C_{a}\cap\left\{ (x,y,z)\in D_{2}:x>0\right\} \ \text{and}\\
D_{2} & :=\left\{ (x,y,z)\in D_{1}:x<0\right\} .
\end{alignat*}
(Ignore the mathematical non-sense.) Are the environments I used as well as their alignments the proper ones for this ?


$$ $$. Use\[ \]. – Sigur Aug 22 '15 at 08:33:=("colon-equal", "equal by definition") correctly, see the posting How to typeset $:=$ correctly? – Mico Aug 22 '15 at 08:44