In homological algebra and algebraic geometry, a flat module over a ring R is an R-module M such that taking the tensor product over R with M preserves exact sequences. A module is faithfully flat if taking the tensor product with a sequence produces an exact sequence if and only if the original sequence is exact.
Vector spaces over a field are flat modules. Free modules, or more generally projective modules, are also flat, over any R. For finitely generated modules over a Noetherian ring, flatness and projectivity are equivalent. For finitely generated modules over local rings, flatness, projectivity and freeness are all equivalent. The field of quotients of an integral domain, and, more generally, any localization of a commutative ring are flat modules. The product of the local rings of a commutative ring is a faithfully flat module.
Let M be an R-module. The following conditions are all equivalent, so M is flat if it satisfies any (thus all) of them:
- The functor
- For every finitely generated ideal , the induced morphism is injective.
- There exists a directed system of -modules with the following properties:
- For every map , where is a finitely generated free -module, and for every finitely generated -submodule , factors through a map to a free -module that kills :
When R isn't commutative one needs the more careful statement that, if M is a flat left R-module, the tensor product with M maps exact sequences of right R-modules to exact sequences of abelian groups.
Taking tensor products (over arbitrary rings) is always a right exact functor. Therefore, the R-module M is flat if and only if for any injective homomorphism K → L of R-modules, the induced homomorphism KM → LM is also injective.
- For any multiplicatively closed subset S of a commutative ring R, the localization ring is flat as an R-module.
- is not flat over , because, for example, is injective, but tensored with it is not.
- Let a field, and . Since S is the same thing as the localization , it is flat over R. On the other hand, is not flat over R since t is a torsion element and R is a principal ideal domain (so flat = torsion-free).
- Let A be a noetherian ring and I an ideal. Then the completion with respect to I is flat. It is faithfully flat if and only if I is contained in the Jacobson radical of A. (cf. Zariski ring.)
- (Kunz) A noetherian ring containing a field of characteristic p is regular if and only if the Frobenius morphism R →R is flat and R is reduced.
Case of commutative rings
When M is a finitely-generated R-module, being flat is the same as being locally free in the following sense: M is a flat R-module if and only if for every prime ideal (or even just for every maximal ideal) P of R, the localization is free as a module over the localization .
The local criterion for flatness states:
- Let R be a local noetherian ring, S a local noetherian R-algebra with , and M a finitely generated S-module. Then M is flat over R if and only if
The significance of this is that S need not be finite over R and we only need to consider the maximal ideal of R instead of an arbitrary ideal of R.
The next criterion is also useful for testing flatness:
- Let R, S be as in the local criterion for flatness. Assume S is Cohen–Macaulay and R is regular. Then S is flat over R if and only if .
If S is an R-algebra, i.e., we have a homomorphism , then S has the structure of an R-module, and hence it makes sense to ask if S is flat over R. If this is the case, then S is faithfully flat over R if and only if every prime ideal of R is the inverse image under f of a prime ideal in S. In other words, if and only if the induced map is surjective.
Flat modules over commutative rings are always torsion-free. Projective modules (and thus free modules) are always flat. For certain common classes of rings, these statements can be reversed (for example, every torsion-free module over a Dedekind ring is automatically flat and flat modules over perfect rings are always projective), as is subsumed in the following diagram of module properties:
An integral domain is called a Prüfer domain if every torsion-free module over it is flat.
In general, arbitrary direct sums and direct limits of flat modules are flat, a consequence of the fact that the tensor product commutes with direct sums and direct limits (in fact with all colimits), and that both direct sums and direct limits are exact functors. Submodules and factor modules of flat modules need not be flat in general (e.g. Z/nZ is not a flat Z-module for n>1). However we have the following result: the homomorphic image of a flat module M is flat if and only if the kernel is a pure submodule of M.
Daniel Lazard proved in 1969 that a module M is flat if and only if it is a direct limit of finitely-generated free modules. As a consequence, one can deduce that every finitely-presented flat module is projective.
An abelian group is flat (viewed as a Z-module) if and only if it is torsion-free.
Flatness may also be expressed using the Tor functors, the left derived functors of the tensor product. A left R-module M is flat if and only if TornR(–, M) = 0 for all (i.e., if and only if TornR(X, M) = 0 for all and all right R-modules X). Similarly, a right R-module M is flat if and only if TornR(M, X) = 0 for all and all left R-modules X. Using the Tor functor's long exact sequences, one can then easily prove facts about a short exact sequence
- If A and C are flat, then so is B
- If B and C are flat, then so is A
If A and B are flat, C need not be flat in general. However, it can be shown that
- If A is pure in B and B is flat, then A and C are flat.
A flat resolution of a module M is a resolution of the form
- ... → F2 → F1 → F0 → M → 0
where the Fi are all flat modules. Any free or projective resolution is necessarily a flat resolution. Flat resolutions can be used to compute the Tor functor.
The length of a finite flat resolution is the first subscript n such that Fn is nonzero and Fi=0 for i greater than n. If a module M admits a finite flat resolution, the minimal length among all finite flat resolutions of M is called its flat dimensionTemplate:Sfn and denoted fd(M). If M does not admit a finite flat resolution, then by convention the flat dimension is said to be infinite. As an example, consider a module M such that fd(M) = 0. In this situation, the exactness of the sequence 0 → F0 → M → 0 indicates that the arrow in the center is an isomorphism, and hence M itself is flat.
In some areas of module theory, a flat resolution must satisfy the additional requirement that each map is a flat pre-cover of the kernel of the map to the right. For projective resolutions, this condition is almost invisible: a projective pre-cover is simply an epimorphism from a projective module. These ideas are inspired from Auslander's work in approximations. These ideas are also familiar from the more common notion of minimal projective resolutions, where each map is required to be a projective cover of the kernel of the map to the right. However, projective covers need not exist in general, so minimal projective resolutions are only of limited use over rings like the integers.
While projective covers for modules do not always exist, it was speculated that for general rings, every module would have a flat cover, that is, every module would be the epimorphic image of a flat module under a homomorphism with superfluous kernel. This flat cover conjecture was explicitly first stated in Template:Harv. The conjecture turned out to be true, resolved positively and proved simultaneously by L. Bican, R. El Bashir and E. Enochs.Template:Sfn This was preceded by important contributions by P. Eklof, J. Trlifaj and J. Xu.
Since flat covers exist for all modules over all rings, minimal flat resolutions can take the place of minimal projective resolutions in many circumstances. The measurement of the departure of flat resolutions from projective resolutions is called relative homological algebra, and is covered in classics such as Template:Harv and in more recent works focussing on flat resolutions such as Template:Harv.
In constructive mathematics
Flat modules have increased importance in constructive mathematics, where projective modules are less useful. For example, that all free modules are projective is equivalent to the full axiom of choice, so theorems about projective modules, even if proved constructively, do not necessarily apply to free modules. In contrast, no choice is needed to prove that free modules are flat, so theorems about flat modules can still apply.Template:Sfn
|CitationClass=citation }} - page 33