Singular locus of a product with a smooth variety (source code)

= Singular locus of a product with a smooth variety

Since $T_{(x,y)}(X\times Y)=T_xX\oplus T_yY$, if $Y$ is smooth then
$$
\operatorname{Sing}(X\times Y)=\operatorname{Sing}(X)\times Y.
$$
In particular, dimensions add.