Wednesday, April 10, 2024

Flatness and projectivity: when is the localization of a ring a projective module?

Projective modules and flat modules are two important concepts in algebra, because they characterize those modules for which a general functorial construction (Hom module and tensor product, respectively) behave better than what is the case for general modules.

This blog post came out of reading a confusion on a student's exam: projective modules are flat, but not all flat modules are projective. Since localization gives flat modules, it is easy to obtain a an example of a flat module which is not projective (see below, Q\mathbf Q works, as a Z\mathbf Z-module), but my question was to understand when the localization of a commutative ring is a projective module.

\gdef\Hom{\operatorname{Hom}}\gdef\Spec{\operatorname{Spec}}\gdef\id{\mathrm{id}}

Let me first recall the definitions. Let RR be a ring and let MM be a (right)RR-module.

The HomR(M,)\Hom_R(M,\bullet)-functor associates with a right RR-module XX the abelian group HomR(M,X)\Hom_R(M,X). By composition, any linear map f ⁣:XYf\colon X\to Y induces an additive map HomR(M,f) ⁣:HomR(M,X)HomR(M,X)\Hom_R(M,f)\colon \Hom_R(M,X)\to \Hom_R(M,X): it maps u ⁣:MXu\colon M\to X to ϕu\phi\circ u. When RR is commutative, these are even RR-modules and morphisms of RR-modules. If ff is injective, HomR(M,f)\Hom_R(M,f) is injective as well, but if ff is surjective, it is not always the case that HomR(M,f)\Hom_R(M,f) is surjective, and one says that the RR-module MM is projective if HomR(M,f)\Hom_R(M,f) is surjective for all surjective linear maps ff.

The R\otimes_R-functor associates with a left RR-module XX the abelian group MRXM\otimes_R X, and with any linear map f ⁣:XYf\colon X\to Y, the additive map MRXMRYM\otimes_R X\to M\otimes_R Y that maps a split tensor mxm\otimes x to mf(x)m\otimes f(x). When RR is commutative, these are even RR-modules and morphisms of RR-modules. If ff is surjective, then MRfM\otimes_R f is surjective, but if ff is injective, it is not always the case that MRfM\otimes_R f is injective. One says that MM is flat if MRfM\otimes_R f is injective for all injective linear maps ff.

These notions are quite abstract, and the development of homological algebra made them prevalent in modern algebra.

Example. — Free modules are projective and flat.

Proposition. — An RR-module MM is projective if and only if there exists an RR-module NN such that MNM\oplus N is free.
Indeed, taking a generating family of MM, we construct a free module LL and a surjective linear map u ⁣:LMu\colon L\to M. Since MM is projective, the map HomR(M,u)\Hom_R(M,u) is surjective and there exists v ⁣:MLv\colon M\to L such that uv=idMu\circ v=\id_M. Then vv is an isomorphism from MM to u(M)u(M), and one can check that L=u(M)ker(v)L=u(M)\oplus \ker(v).

Corollary. — Projective modules are flat.

Theorem (Kaplansky). — If RR is a local ring, then a projective RR-module is free.

The theorem has a reasonably easy proof for a finitely generated RR-module MM over a commutative local ring. Let JJ be the maximal ideal of RR and let k=R/Jk=R/J be the residue field. Then M/JMM/JM is a finite dimensional kk-vector space; let us consider a family (e1,,en)(e_1,\dots,e_n) in MM whose images form a basis of M/JMM/JM. Now, one has e1,,en+JM=M\langle e_1,\dots,e_n\rangle + J M = M, hence Nakayama's lemma implies that M=e1,,enM=\langle e_1,\dots,e_n\rangle. Let then u ⁣:RnMu\colon R^n\to M be the morphism given by u(a1,,an)=aieiu(a_1,\dots,a_n)=\sum a_i e_i; by what precedes, it is surjective, and we let NN be its kernel. Since MM is projective, the morphism HomR(M,u)\Hom_R(M,u) is surjective, and there exists v ⁣:MRnv\colon M\to R^n such that uv=idMu\circ v=\id_M. We then have an isomorphism MNRnM\oplus N\simeq R^n, where N=ker(v)N=\ker(v). Moding out by JJ, we get M/JMN/JNknM/JM \oplus N/JN \simeq k^n. Necessarily, N/JN=0N/JN=0, hence N=JNN=JN; since NN is a direct summand of RnR^n, it is finitely generated, and Nakayama's lemma implies that N=0N=0.

Example. — Let RR be a commutative ring and let SS be a multiplicative subset of RR. Then the fraction ring S1RS^{-1}R is a flat RR-module.
Let u ⁣:XYu\colon X\to Y be an injective morphism of RR-modules. First of all, one identifies the morphism S1RRu ⁣:S1RRXS1RRYS^{-1}R\otimes_R u\colon S^{-1}R\otimes_R X\to S^{-1}R\otimes_R Y to the morphism S1u ⁣:S1XS1YS^{-1}u\colon S^{-1}X\to S^{-1}Y induced by uu on fraction modules. Then, it is easy to see that S1uS^{-1}u is injective. Let indeed x/sS1Xx/s\in S^{-1}X be an element that maps to 00; one then has u(x)/s=0u(x)/s=0, hence there exists tSt\in S such that tu(x)=0tu(x)=0. Consequently, u(tx)=0u(tx)=0, hence tx=0tx=0 because uu is injective. This implies x/s=0x/s=0.

Theorem.Let RR be a commutative ring. If MM is a finitely presented RR-module, then MM is locally free: there exists a finite family (f1,,fn)(f_1,\dots,f_n) in RR such that R=f1,,fnR=\langle f_1,\dots,f_n\rangle and such that for every ii, MfiM_{f_i} is a free RfiR_{f_i}-module.
The proof is a variant of the case of local rings. Starting from a point pSpec(R)p\in\Spec(R), we know that MpM_p is a finitely presented flat RpR_p-module. As above, we get a surjective morphism u ⁣:RnMu\colon R^n\to M which induces an isomorphism κ(p)nκ(p)M\kappa(p)^n\to \kappa(p)\otimes M, and we let NN be its kernel. By flatness of MM (and an argument involving the snake lemma), the exact sequence 0NRpM00\to N\to R_p\to M\to 0 induces an exact sequence 0κ(p)Nκ(p)nκ(p)M00\to \kappa(p)\otimes N\to \kappa(p)^n\to \kappa(p)\otimes M\to 0. And since the last sequence is an isomorphism, we have κ(p)N\kappa(p)\otimes N. Since MM is finitely presented, the module NN is finitely generated, and Nakayama's lemma implies that Np=0N_p=0; moreover, there exists f∉pf\not\in p such that Nf=0N_f=0, so that uf ⁣:RfnMfu_f\colon R_f^n\to M_f is an isomorphism. One concludes by using the quasicompactness of Spec(R)\Spec(R).

However, not all flat modules are projective. The most basic example is the following one.

Example.The Z\mathbf Z-module Q\mathbf Q is flat, but is not projective.
It is flat because it is the total fraction ring of Z\mathbf Z. To show that it is not projective, we consider the free module L=Z(N)L={\mathbf Z}^{(\mathbf N)} with basis (en)(e_n) and the morphism u ⁣:LQu\colon L\to\mathbf Q that maps ene_n to 1/n1/n (if n>0n>0, say). This morphism is surjective. If Q\mathbf Q were projective, there would exist a morphism v ⁣:QLv\colon \mathbf Q\to L such that uv=idQu\circ v=\id_{\mathbf Q}. Consider a fraction a/bQa/b\in\mathbf Q; one has b1/b=1b\cdot 1/b=1, hence bv(1/b)=v(1)b v(1/b)=v(1). We thus see that all coeffiencients of v(1)v(1) are divisible by bb, for any integer bb; they must be zero, hence v(1)=0v(1)=0 and 1=u(v(1))=01=u(v(1))=0, a contradiction.
The proof generalizes. For example, if RR is a domain and SS does not consist of units, and does not contain 00, then S1RS^{-1}R is not projective. (With analogous notation, take a nonzero coefficient aa of v(1)v(1) and set b=asb=as, where sSs\in S is not 00; then asas divides aa, hence ss divides 11 and ss is a unit.)

These recollections are meant to motivate the forthcoming question: When is it the case that a localization S1RS^{-1}R is a projective RR-module?

Example. — Let ee be an idempotent of RR, so that the ring RR decomposes as a product ot two rings ReR×(1e)RR\simeq eR \times (1-e)R, and both factors are projective submodules of RR since their direct sum is the free RR-module RR. Now, one can observe that Re=eRR_e= eR. Consequently, ReR_e is projective. Geometrically, Spec(R)\Spec(R) decomposes as a disjoint union of two closed subsets V(e)\mathrm V(e) and V(1e)\mathrm V(1-e); the first one can be viewed as the open subset Spec(R1e)\Spec(R_{1-e}) and the second one as the open subset Spec(Re)\Spec(R_e).

The question was to decide whether this geometric condition furnishes the basic conditions for a localization S1RS^{-1}R to be projective. With the above notation, we recall that Spec(S1R)\Spec(S^{-1}R) is homeomorphic to a the subset of Spec(R)\Spec(R) consisting of prime ideals pp such that pS=p\cap S=\emptyset. The preceding example corresponds to the case where Spec(S1R)\Spec(S^{-1}R) is open and closed in Spec(R)\Spec(R). In this case, we view S1RS^{-1}R as a quasicoherent sheaf on Spec(R)\Spec(R), it is free of rank one on the open subset Spec(S1R)\Spec(S^{-1}R), and zero on the complementary open subset. It is therefore locally free, hence the RR-module S1RS^{-1}R is projective.

Observation.The set Spec(S1R)\Spec(S^{-1}R) is stable under generization. If S1RS^{-1}R is a projective RR-module, then it is open.
The first part is obvious: if pp and qq are prime ideals of RR such that pqp\subseteq q and qS=q\cap S=\emptyset, then pS=p\cap S=\emptyset. The second part follows from the observation that the support of S1RS^{-1}R is exactly Spec(S1R)\Spec(S^{-1}R), combined with the following proposition.

Proposition. — The support of a projective module is open.
I learnt this result in the paper by Vasconcelos (1969), “On Projective Modules of Finite Rank” (Proceedings of the American Mathematical Society 22 (2): 430‑33). The proof relies on the trace ideal τR(M)\tau_R(M) of a module: this is the image of the canonical morphism t ⁣:MRMRt\colon M^\vee \otimes_R M\to R. (It is called the trace ideal, because when MM is free, MRMM^\vee\otimes_R M can also be identified with the module of endomorphisms of finite rank of MM, a split tensor ϕm\phi\otimes m corresponds with the endomorhism xϕ(x)mx\mapsto \phi(x)m, and then t(ϕm)=ϕ(m)t(\phi \otimes m)=\phi(m) is its trace.) Now, if pp belongs to the support of MM, then τR(M)p=Rp\tau_R(M)_p=R_p, while if pp does not belong to the support of MM, one has Mp=0M_p=0, hence τR(M)p=0\tau_R(M)_p=0. In other words, the support of MM is the complement of the closed locus V(τR(M))\mathrm V(\tau_R(M)) of Spec(R)\Spec(R).

On the other hand, one should remember the following basic property of the support of a module.

Proposition. — The support of a module is stable under specialization. The support of a finitely generated module is closed.
Indeed, for every mMm\in M and pSpec(R)p\in \Spec(R), saying that m=0m=0 in MpM_p means that there exist sRs\in R such that sps\notin p with sm=0sm=0. In other words, this set is V(annR(m))\mathrm V(\mathrm{ann}_R(m)). This shows that the support of MM is the union of the closed subsets V(annR(m))\mathrm V(\mathrm{ann}_R(m)); it is in particular stable under specialization. If MM is finitely generated, this also shows its support is V(annR(M))\mathrm V(\mathrm{ann}_R(M)), hence is closed.

At this point, one can go either following Vasconcelos (1969) who shows that a projective module MM of the form S1RS^{-1}R is finitely generated if and only if its trace ideal is. In particular, if RR is noetherian and S1RS^{-1}R is a projective RR-module, then Spec(S1R)\Spec(S^{-1}R) is closed. It is thus open and closed, and we are in the situation of the basic example above.

One can also use a topological argument explained to me by Daniel Ferrand: a minimal prime ideal of RR that meets Spec(S1R)\Spec(S^{-1}R) is disjoint from SS, hence belongs to Spec(S1R)\Spec(S^{-1}R). Consequently, Spec(S1R)\Spec(S^{-1}R) is the union of the irreducible components of Spec(R)\Spec(R) that it meets. If this set of irreducible components is finite (or locally finite), for example if Spec(R)\Spec(R) is noetherian, for example if RR is a noetherian ring, then Spec(S1R)\Spec(S^{-1}R) is closed.

I did not find the time to think more about this question, and it would be nice to have an example of a projective localization which does not come from this situation.

No comments :

Post a Comment