Theorem (set of smooth points is open and dense)

Let $X$ be a quasiprojective variety.

The set $X^\text{sm}$ of smooth points of $X$ is open and dense in $X$.

Proof