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
- is exact, where is the category of -modules.
- For every injective morphism of -modules and , the induced map
- is injective.
- For every finitely generated ideal , the induced morphism is injective.
- There exists a directed system of -modules with the following properties:
- For all , is a finitely generated, free -module.
- The direct limit is :
-  For every linear dependency in
- where , there exists a matrix such that
- has a solution for some
- For every -module ,
- For every finitely generated ideal
- 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 of a commutative ring , the localization ring is flat as an -module. For example, is flat over (though not projective).
- Every free -module (in fact any free module over a ring) is a flat module.
- For each integer > 1, is not flat over , because is injective, but tensored with it is not.
- Similarly, is not flat over
- Let a field, and . Since is the same thing as the localization , it is flat over . On the other hand, is not flat over since is a torsion element on it (so it is not torsion-free).
- Let be a noetherian ring and an ideal. Then the completion with respect to is flat. It is faithfully flat if and only if is contained in the Jacobson radical of . (cf. Zariski ring.)
- The direct sum is flat if and only if each is flat.
- Every product of flat -modules is flat if and only if is a coherent ring.
- (Kunz) A noetherian ring containing a field of characteristic is regular if and only if the Frobenius morphism → is flat and 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. In this setting we have:
- If S is flat over R, 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 (that is, the multiplication by any regular element of the ring in injective in the module). 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 dimension 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 M would be the epimorphic image of a flat module F such that every map from a flat module onto M factors through F, and any endomorphism of F over M is an automoprhism. This flat cover conjecture was explicitly first stated in (Enochs 1981, p 196). The conjecture turned out to be true, resolved positively and proved simultaneously by L. Bican, R. El Bashir and E. Enochs. 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 (MacLane 1963) and in more recent works focussing on flat resolutions such as (Enochs & Jenda 2000).
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.
- Generic flatness
- Localization of a module
- Flat morphism
- von Neumann regular ring – those rings over which all modules are flat.
- Matsumura 1970, Proposition 3.G
- Bourbaki, Ch. I, § 2. Proposition 13, Corollay 1.
- Matsumura 1970, Corollary 1 of Theorem 55, p. 170
- Matsumura 1970, Theorem 56
- Eisenbud 1994, Theorem 6.8
- Eisenbud 1994, Theorem 18.16
- Lazard, D. (1969), "Autour de la platitude", Bulletin de la Société Mathématique de France, 97: 81–128
- Lam 1999, p. 183.
- A module isomorphic to an flat module is of course flat.
- Bican, El Bashir & Enochs 2001.
- Richman 1997.
- Bican, L.; El Bashir, R.; Enochs, E. (2001), "All modules have flat covers", Bull. London Math. Soc., 33 (4): 385–390, ISSN 0024-6093, MR 1832549, doi:10.1017/S0024609301008104
- N. Bourbaki, Commutative Algebra
- Eisenbud, David (1995), Commutative algebra, Graduate Texts in Mathematics, 150, Berlin, New York: Springer-Verlag, ISBN 978-0-387-94268-1, MR 1322960, ISBN 978-0-387-94269-8
- Enochs, Edgar E. (1981), "Injective and flat covers, envelopes and resolvents", Israel J. Math., 39 (3): 189–209, ISSN 0021-2172, MR 636889 (83a:16031), doi:10.1007/BF02760849
- Enochs, Edgar E.; Jenda, Overtoun M. G. (2000), Relative homological algebra, de Gruyter Expositions in Mathematics, 30, Berlin: Walter de Gruyter & Co., ISBN 978-3-11-016633-0, MR 1753146
- Lam, Tsit-Yuen (1999), Lectures on modules and rings, Graduate Texts in Mathematics No. 189, Berlin, New York: Springer-Verlag, ISBN 978-0-387-98428-5, MR 1653294
- Mac Lane, Saunders (1963), Homology, Die Grundlehren der mathematischen Wissenschaften, Bd. 114, Boston, MA: Academic Press, MR 0156879
- Matsumura, Hideyuki (1970), Commutative algebra
- Mumford, David, The red book of varieties and schemes
- Northcott, D. G. (1984), Multilinear algebra, Cambridge University Press, ISBN 978-0-521-26269-9 - page 33
- Richman, Fred (1997), "Flat dimension, constructivity, and the Hilbert syzygy theorem", New Zealand Journal of Mathematics, 26 (2): 263–273, ISSN 1171-6096, MR 1601663
- Serre, Jean-Pierre (1956), "Géométrie algébrique et géométrie analytique", Université de Grenoble. Annales de l'Institut Fourier, 6: 1–42, ISSN 0373-0956, MR 0082175, doi:10.5802/aif.59