Smooth projective surface from overlapping rank-one coordinates (source code)

= Smooth projective surface from overlapping rank-one coordinates

In $\mathbb P^4$, require the <matrix>
$$
\begin{pmatrix}y_0&y_1&y_2\\y_2&y_3&y_4\end{pmatrix}
$$
to have rank at most one. Its three $2\times2$ minors define a smooth projective surface. The zero <matrix> is not a projective <point>, so every <point> on this locus actually has rank one.

The four open charts $y_0\ne0$, $y_1\ne0$, $y_3\ne0$ and $y_4\ne0$ are each isomorphic to $\mathbb A^2$. Explicit two-parameter coordinates are, respectively,
$$
[1:a:b:ab:b^2],\quad
[a:1:ab:b:ab^2],\quad
[a^2b:a:ab:1:b],\quad
[a^2:ab:a:b:1].
$$
In each case one homogeneous coordinate is normalized and two remaining affine coordinates are eliminated using the minors, leaving two free parameters. If all four chart coordinates vanished, the minor $y_0y_4-y_2^2$ would also force $y_2=0$, impossible in projective space. Thus these smooth affine charts cover the entire surface, proving both smoothness and <dimension> two.