a sequence
is also exact.
Note that we have the following
of -modules, a sequence
is also exact. Thus is flat over if and only if for any module and for any submodule of , the map
is injective.
Thus the map is surjective. To see the exactness in the middle, we first notice that
Thus yields an -module homomorphism
On the other hand, for any element , we take a lift of to and define
We may easily check that is well-defined (independent of the choice of the lift of ) and is -bilinear. So defines an -module homomorphism
Then it is easy to show that the homomorphisms and are inverse to each other.
(See for example [14, Appendix A] or [1].)
A morphism of affine schemes is flat if the corresponding ring homomorphism is flat.
Then by tensoring with we obtain a sequence
which is not exact.
Let us view it as a homomorphism of quasi coherent sheaf on with the keyword ``section wise'' and ``fiber wise'' in mind.
In this example, an embedded prime of in falls into the zero locus of .)