# When is the push-forward of the structure sheaf locally free

Let $f:X\longrightarrow Y$ be a morphism of noetherian schemes. Under what conditions is $f_\ast \mathcal{O}_X$ a locally free $\mathcal{O}_Y$-module?

Example 1. Suppose that $f$ is affine. Then $f_\ast\mathcal{O}_X$ is a quasi-coherent $\mathcal{O}_Y$-module.

Example 2. Suppose that $f$ is finite. Then $f_\ast \mathcal{O}_X$ is even coherent.

Example 3. Suppose that $f:X\longrightarrow Y$ is a finite morphism of regular integral 1-dimensional schemes. Then $f_\ast \mathcal{O}_X$ is coherent and locally free. (The local rings $\mathcal{O}_{Y,y}$ are discrete valuation rings.)

In view of the above examples, I'm basically looking for a higher-dimensional analogue of Example 3. But, I don't require quasi-coherence in my question. (Although this is quite unnatural.)

Idea. For any finite morphism $f:X\longrightarrow Y$, we have that $f_\ast \mathcal{O}_X$ is locally free. Only what are the precise conditions on $X$ and $Y$?

-

It is of course not true that for any finite morphism $f:X\to Y$ we have $f_*\mathcal{O}_X$ locally free : think about a closed immersion.

In fact, your question is about the important topic of "base change and cohomology of sheaves" for proper morphisms, which is treated by Grothendieck in EGA3. The simplest answer one can give, I think, is that if $f$ is proper [EDIT : and flat, as t3suji points out] and for all $y\in Y$ we have $H^1(X_y,\mathcal{O}_{X_y})=0$ then $f_*\mathcal{O}_X$ is locally free.

You may want to avoid going to find the exact reference in EGA3, since as Mumford says, that result is "unfortunately buried there in a mass of generalizations". In that case, go to chapter 0, section 5 of Geometric Invariant Theory (3rd ed.) by Mumford, Fogarty and Kirwan. This is where Mumford's comment is taken from.

-
You probably want to add flatness of f. Note that your conditions (f is proper and fibers have no first cohomology) are obviously true for finite morphisms. – t3suji May 7 '10 at 20:45
Alright. Thanks for the reference. – Ariyan Javanpeykar May 7 '10 at 20:58
Luc Illusie gives a nice exposition in his article "Grothendieck's existence theorem in formal geometry" (math.u-psud.fr/~illusie/illusie_trieste.pdf). The relevant section is section 3. – jlk May 8 '10 at 3:07
@t3suji : you're right, I forgot to say $f$ flat, thank you. – Matthieu Romagny May 8 '10 at 7:37

Assuming that $f$ is finite (I'm not quite sure if you are), then $f_*\mathcal{O}_X$ is locally free if and only if $f$ is a flat morphism.

Like Peter Bruin says, you are asking the following: given a finite ring homomorphism $A\to B$, when is $B$ a locally free $A$-module? But there is a natural characterization of this! A finitely generated $A$-module is locally free if and only if it is flat, because a finitely generated module over a local ring is free if and only if it is flat.

Example 3 is a special case of this, because any surjective morphism to a regular one dimensional scheme is automatically flat (because any injection of a dvr into another ring is flat).

Edit: Worth noting that if $X,Y$ are regular and $f$ is finite and surjective, then $f$ is flat.

-
To be irreproachable, one should in fact say : a finitely $presented$ $A$-module is locally free if and only if it is flat. There are examples of surjective, non-finitely presented morphisms of local rings that are flat. – Matthieu Romagny May 8 '10 at 7:46
I almost added a caveat to my reply that $A$ was assumed to be Noetherian, but decided not to on the grounds that the question was about Noetherian schemes. Next time I will be more careful! – Matthew Morrow May 8 '10 at 12:54

One should probably also mention the "miracle flatness" theorem: If $f: X \to Y$ is finite, $X$ and $Y$ have the same dimension, $X$ is Cohen-Macaulay and $Y$ is regular, then $f$ is flat. As everyone has mentioned above, finite and flat implies locally free, so this theorem can be one useful way to get the flatness hypothesis.

-
Don't forget the "miracle Cohen-Macaulay" theorem: if $f:X\to Y$ is a local complete intersection with $Y$ regular (and locally Noetherian!! Trying to avoid the mistake I made above!), then $X$ is Cohen-Macaulay. – Matthew Morrow May 8 '10 at 13:32
@matthew morrow: could you please give a reference for the miracle cohen-macaulay theorem? – Yosemite Sam Jan 25 '12 at 13:58
@Yosemite Sam: one reference is Matsumura, Commutative Ring Theory, Thm 23.1 and another reference is EGA IV2 (=IHES 24), Prop 6.1.5. – Matthieu Romagny May 15 '12 at 20:42

If $f\colon X\to Y$ is a finite morphism, then $f_*O_X$ is usually not locally free; for example, consider the inclusion of a point into the affine line. The question is: given a ring homomorphism $A\to B$ such that $B$ is a finitely generated $A$-module, is $B$ locally free? There is not really a useful property of $f$ that would imply this non-tautologically.

As Matthieu Romagny said (his answer arrived while I was writing mine), the real question is about proper morphisms. You may also be interested in Hartshorne, Algebraic Geometry, III.12.

-
Welkom Peter. xD – Ariyan Javanpeykar May 7 '10 at 20:58

Well, if you have a finite flat morphism as Matthew Morrow says above.

Also, this may or may not be relevant eventually, but with regards to analogues of (3) with the higher direct images (and in higher relative dimension, ie non-finite morphisms), you might also want to check out Steenbrink's paper (and Du Bois's earlier paper).

http://www.numdam.org/item?id=CM_1980__42_3_315_0

http://www.numdam.org/item?id=BSMF_1981_109_41_0

See in particular Theorem 1 (and Theorem 4.6).

It says that if $f : X \to Y$ is flat (EDIT: and proper) and the fibers have nice enough singularities, then $R^i f_* O_X$ is locally free for all $i$. There's also a recent preprint on the arXiv of Kollar and Kovacs on Du Bois singularities which deals with some things related to this at the end, see:

http://front.math.ucdavis.edu/0902.0648

-