Nakayama's lemma
ProvedFamousTheorems.nakayama_lemmaNakayama's lemma. Let be a commutative ring, an ideal contained in the Jacobson radical of , and a finitely generated -module. If , then .
In the local case this says that a finitely generated module over a local ring vanishes if it vanishes modulo the maximal ideal. Its consequences include the fact that elements generating generate , and the description of minimal generating sets by the dimension of . Nakayama's lemma is one of the most frequently used tools in commutative algebra and algebraic geometry.
Formalization note. Mathlib's Submodule.eq_bot_of_le_smul_of_le_jacobson_bot. The module is a finitely generated submodule N of an ambient module M (hypothesis N.FG). I • N is the submodule generated by products, and (⊥ : Ideal R).jacobson is the Jacobson radical of . The hypothesis is equivalent to .
import Mathlib
namespace FamousTheorems
theorem nakayama_lemma {R M : Type*} [CommRing R] [AddCommGroup M] [Module R M] (I : Ideal R) (N : Submodule R M)
(hN : N.FG) (hIN : N ≤ I • N) (hIjac : I ≤ (⊥ : Ideal R).jacobson) : N = ⊥ := by sorry
end FamousTheorems