Let $X$ be a smooth projective variety over $k$. Variety here meaning a separated geometrically integral $k$-scheme of finite type. Is the structure morphism $f : X \to \text{Spec}\;k$ flat?
I guess this means we should check that for any $x \in X$ the induced map $f_x : k \to \mathcal O_{X,x}$ is flat, so for any $x \in X$ the stalk of the structure sheaf should be a flat $k$-module. But then a $k$-module is just a $k$-vector space, which is always flat. Am I missing something?