If $f:X\to Y$ is a finite surjective morphism of non-singular varieties over an algebraically cloasd field $k$, then $f$ is flat.
I tried to prove it by stalk, that is for $O_{x,X}$ is flat over $O_{f(x),Y}$, but I did not find a criteria for injective map between regular local rings to be flat. To use Theroem 9.9, $X$ need to be projective over $Y$.
Can anyone help me with this?
If $R \subseteq S$ is an inclusion of local rings where $R$ is regular and $S$ is module-finite over $R$, then $S$ is flat over $R$ iff $S$ is free over $R$ iff $S$ is Cohen-Macaulay. This follows from the Auslander-Buchsbaum formula: $\text{projdim}_R S + \text{depth}_R(S) = \text{depth}(R)$ ($\text{projdim}_R S < \infty$ since $R$ is regular).