In algebra, the local criterion for flatness gives conditions one can check to show flatness of a module.
Statement Given a commutative ring A, an ideal I and an A-module M, suppose either
A is a Noetherian ring and M is idealwise separated for I: for every ideal 𝔞, ⋂n≥1In(𝔞⊗M)=0 (for example, this is the case when A is a Noetherian local ring, I its maximal ideal and M finitely generated), or
I is nilpotent. Then the following are equivalent:
The assumption that “A is a Noetherian ring” is used to invoke the Artin–Rees lemma and can be weakened; see
Proof Following SGA 1, Exposé IV, we first prove a few lemmas, which are interesting themselves. (See also this blog post by Akhil Mathew for a proof of a special case.)
Proof: The equivalence of the first two can be seen by studying the Tor spectral sequence. Here is a direct proof: if 1. is valid and N↪N′ is an injection of B-modules with cokernel C, then, as A-modules,
Tor1A(C,M)=0→N⊗AM→N′⊗AM. Since N⊗AM≃N⊗B(B⊗AN) and the same for N′, this proves 2. Conversely, considering 0→R→F→X→0 where F is B-free, we get:
Tor1A(F,M)=0→Tor1A(X,M)→R⊗AM→F⊗AM. Here, the last map is injective by flatness and that gives us 1. To see the "Moreover" part, if 1. is valid, then Tor1A(InX/In+1X,M)=0 and so
Tor1A(In+1X,M)→Tor1A(InX,M)→0. By descending induction, this implies 3. The converse is trivial. ◻
Proof: The assumption implies that In⊗M=InM and so, since tensor product commutes with base extension,
grI(A)⊗A0M0=⊕0∞(In)0⊗A0M0=⊕0∞(In⊗AM)0=⊕0∞(InM)0=grIM. For the second part, let αi denote the exact sequence 0→Tor1A(A/Ii,M)→Ii⊗M→IiM→0 and γi:0→0→Ii/Ii+1⊗M→≃IiM/Ii+1M→0. Consider the exact sequence of complexes:
αi+1→αi→γi. Then Tor1A(A/Ii,M)=0,i>0 (it is so for large i and then use descending induction). 3. of Lemma 1 then implies that M is flat. ◻ Proof of the main statement. The proof uses the cycle of implications 1.⇒4.⇒3.⇒2.⇒1. 2.⇒1.: If I is nilpotent, then, by Lemma 1, Tor1A(−,M)=0 and M is flat over A. Thus, assume that the first assumption is valid. Let 𝔞⊂A be an ideal and we shall show 𝔞⊗M→M is injective. For an integer k>0, consider the exact sequence
0→𝔞/(Ik∩𝔞)→A/Ik→A/(𝔞+Ik)→0. Since Tor1A(A/(𝔞+Ik),M)=0 by Lemma 1 (note Ik kills A/(𝔞+Ik)), tensoring the above with M, we get:
0→𝔞/(Ik∩𝔞)⊗M→A/Ik⊗M=M/IkM. Tensoring M with 0→Ik∩𝔞→𝔞→𝔞/(Ik∩𝔞)→0, we also have:
(Ik∩𝔞)⊗M→f𝔞⊗M→g𝔞/(Ik∩𝔞)⊗M→0. We combine the two to get the exact sequence:
(Ik∩𝔞)⊗M→f𝔞⊗M→g′M/IkM. Now, if x is in the kernel of 𝔞⊗M→M, then, a fortiori, x is in ker(g′)=im(f)=(Ik∩𝔞)⊗M. By the Artin–Rees lemma, given n>0, we can find k>0 such that Ik∩𝔞⊂In𝔞. Since ∩n≥1In(𝔞⊗M)=0, we conclude x=0. 1.⇒4. follows from Lemma 2. 4.⇒3.: Since (An)0=A0, the condition 4. is still valid with M,A replaced by Mn,An. Then Lemma 2 says that Mn is flat over An. 3.⇒2. Tensoring 0→I→A→A/I→0 with M, we see Tor1A(A/I,M) is the kernel of I⊗M→M. Thus, the implication is established by an argument similar to that of 2.⇒1.◻
Application: characterization of an étale morphism The local criterion can be used to prove the following:
Proof: Assume that 𝒪y,Y^→𝒪x,X^ is an isomorphism and we show f is étale. First, since 𝒪x→𝒪x^ is faithfully flat (in particular is a pure subring), we have:
𝔪y𝒪x=𝔪y𝒪x^∩𝒪x=𝔪y^𝒪x^∩𝒪x=𝔪x^∩𝒪x=𝔪x. Hence, f is unramified (separability is trivial). Now, that 𝒪y→𝒪x is flat follows from (1) the assumption that the induced map on completion is flat and (2) the fact that flatness descends under faithfully flat base change (it shouldn't be hard to make sense of (2)). Next, we show the converse: by the local criterion, for each n, the natural map 𝔪yn/𝔪yn+1→𝔪xn/𝔪xn+1 is an isomorphism. By induction and the five lemma, this implies 𝒪y/𝔪yn→𝒪x/𝔪xn is an isomorphism for each n. Passing to limit, we get the asserted isomorphism. ◻ Mumford's Red Book gives an extrinsic proof of the above fact (Ch. III, § 5, Theorem 3).
Miracle flatness theorem B. Conrad calls the next theorem the miracle flatness theorem.<
Notes
References Matsumura, Hideyuki (1989), Commutative ring theory, Cambridge Studies in Advanced Mathematics, vol. 8 (2nd ed.), Cambridge University Press, ISBN 978-0-521-36764-6, MR 1011461 Exposé IV of Grothendieck, Alexander; Raynaud, Michèle (2003) [1971], Revêtements étales et groupe fondamental (SGA 1), Documents Mathématiques (Paris) [Mathematical Documents (Paris)], vol. 3, Paris: Société Mathématique de France, arXiv:math/0206203, Bibcode:2002math......6203G, ISBN 978-2-85629-141-2, MR 2017446 Fujiwara, K.; Gabber, O.; Kato, F. (2011). "On Hausdorff completions of commutative rings in rigid geometry". Journal of Algebra. 332 (322): 293–321. doi:10.1016/j.jalgebra.2011.02.001.
External links blog post by Akhil Mathew