The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V10. Commutative algebra II: valuations, Dedekind domains, local algebra

Mathlib.RingTheory.LocalRing.Module

18 declarations. Mathlib docs ยท Source

Finite modules over local rings

This file gathers various results about finite modules over a local ring (R, ๐”ช, k).

Main results

  • IsLocalRing.subsingleton_tensorProduct: If M is finitely generated, k โŠ— M = 0 โ†” M = 0.
  • Module.free_of_maximalIdeal_rTensor_injective: If M is a finitely presented module such that m โŠ— M โ†’ M is injective (for example when M is flat), then M is free.
  • Module.free_of_lTensor_residueField_injective: If N โ†’ M โ†’ P โ†’ 0 is a presentation of P with N finite and M finite free, then injectivity of k โŠ— N โ†’ k โŠ— M implies that P is free.
  • IsLocalRing.split_injective_iff_lTensor_residueField_injective: Given an R-linear map l : M โ†’ N with M finite and N finite free, l is a split injection if and only if k โŠ— l is a (split) injection.

theorem IsLocalRing.map_mkQ_eq E0 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] {Nโ‚ Nโ‚‚ : Submodule R M},
  Nโ‚ โ‰ค Nโ‚‚ โ†’
    Nโ‚‚.FG โ†’
      (Submodule.map (IsLocalRing.maximalIdeal R โ€ข Nโ‚‚).mkQ Nโ‚ = Submodule.map (IsLocalRing.maximalIdeal R โ€ข Nโ‚‚).mkQ Nโ‚‚ โ†”
        Nโ‚ = Nโ‚‚)

theorem IsLocalRing.map_mkQ_eq_top E0 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] {N : Submodule R M} [Module.Finite R M],
  Submodule.map (IsLocalRing.maximalIdeal R โ€ข โŠค).mkQ N = โŠค โ†” N = โŠค

theorem IsLocalRing.map_tensorProduct_mk_eq_top E0 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] {N : Submodule R M} [Module.Finite R M],
  Submodule.map ((TensorProduct.mk R (IsLocalRing.ResidueField R) M) 1) N = โŠค โ†” N = โŠค

theorem IsLocalRing.subsingleton_tensorProduct E3 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.Finite R M],
  Subsingleton (TensorProduct R (IsLocalRing.ResidueField R) M) โ†” Subsingleton M

theorem IsLocalRing.span_eq_top_of_tmul_eq_basis E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.Finite R M] {ฮน : Type u_5} (f : ฮน โ†’ M)
  (b : Module.Basis ฮน (IsLocalRing.ResidueField R) (TensorProduct R (IsLocalRing.ResidueField R) M)),
  (โˆ€ (i : ฮน), 1 โŠ—โ‚œ[R] f i = b i) โ†’ Submodule.span R (Set.range f) = โŠค

theorem Module.mem_support_iff_nontrivial_residueField_tensorProduct E0 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Finite R M]
  (p : PrimeSpectrum R), p โˆˆ Module.support R M โ†” Nontrivial (TensorProduct R p.asIdeal.ResidueField M)

theorem lTensor_injective_of_exact_of_exact_of_rTensor_injective E1 #

โˆ€ {R : Type u_1} [inst : CommRing R] {Mโ‚ : Type u_5} {Mโ‚‚ : Type u_6} {Mโ‚ƒ : Type u_7} {Nโ‚ : Type u_8} {Nโ‚‚ : Type u_9}
  {Nโ‚ƒ : Type u_10} [inst_1 : AddCommGroup Mโ‚] [inst_2 : Module R Mโ‚] [inst_3 : AddCommGroup Mโ‚‚] [inst_4 : Module R Mโ‚‚]
  [inst_5 : AddCommGroup Mโ‚ƒ] [inst_6 : Module R Mโ‚ƒ] [inst_7 : AddCommGroup Nโ‚] [inst_8 : Module R Nโ‚]
  [inst_9 : AddCommGroup Nโ‚‚] [inst_10 : Module R Nโ‚‚] [inst_11 : AddCommGroup Nโ‚ƒ] [inst_12 : Module R Nโ‚ƒ]
  {fโ‚ : Mโ‚ โ†’โ‚—[R] Mโ‚‚} {fโ‚‚ : Mโ‚‚ โ†’โ‚—[R] Mโ‚ƒ} {gโ‚ : Nโ‚ โ†’โ‚—[R] Nโ‚‚} {gโ‚‚ : Nโ‚‚ โ†’โ‚—[R] Nโ‚ƒ},
  Function.Exact โ‡‘fโ‚ โ‡‘fโ‚‚ โ†’
    Function.Surjective โ‡‘fโ‚‚ โ†’
      Function.Exact โ‡‘gโ‚ โ‡‘gโ‚‚ โ†’
        Function.Surjective โ‡‘gโ‚‚ โ†’
          Function.Injective โ‡‘(LinearMap.rTensor Nโ‚ƒ fโ‚) โ†’
            Function.Injective โ‡‘(LinearMap.lTensor Mโ‚‚ gโ‚) โ†’ Function.Injective โ‡‘(LinearMap.lTensor Mโ‚ƒ gโ‚)

Given Mโ‚ โ†’ Mโ‚‚ โ†’ Mโ‚ƒ โ†’ 0 and Nโ‚ โ†’ Nโ‚‚ โ†’ Nโ‚ƒ โ†’ 0, if Mโ‚ โŠ— Nโ‚ƒ โ†’ Mโ‚‚ โŠ— Nโ‚ƒ and Mโ‚‚ โŠ— Nโ‚ โ†’ Mโ‚‚ โŠ— Nโ‚‚ are both injective, then Mโ‚ƒ โŠ— Nโ‚ โ†’ Mโ‚ƒ โŠ— Nโ‚‚ is also injective.

theorem Module.exists_basis_of_basis_baseChange E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.FinitePresentation R M] {ฮน : Type u_5} (v : ฮน โ†’ M),
  LinearIndependent (IsLocalRing.ResidueField R) (โ‡‘((TensorProduct.mk R (IsLocalRing.ResidueField R) M) 1) โˆ˜ v) โ†’
    Submodule.span (IsLocalRing.ResidueField R)
          (Set.range (โ‡‘((TensorProduct.mk R (IsLocalRing.ResidueField R) M) 1) โˆ˜ v)) =
        โŠค โ†’
      Function.Injective โ‡‘(LinearMap.rTensor M (Submodule.subtype (IsLocalRing.maximalIdeal R))) โ†’
        โˆƒ b, โˆ€ (i : ฮน), b i = v i

If M is of finite presentation over a local ring (R, ๐”ช, k) such that ๐”ช โŠ— M โ†’ M is injective, then every family of elements that is a k-basis of k โŠ— M is an R-basis of M.

theorem Module.exists_basis_of_span_of_maximalIdeal_rTensor_injective E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.FinitePresentation R M],
  Function.Injective โ‡‘(LinearMap.rTensor M (Submodule.subtype (IsLocalRing.maximalIdeal R))) โ†’
    โˆ€ {ฮน : Type u} (v : ฮน โ†’ M), Submodule.span R (Set.range v) = โŠค โ†’ โˆƒ ฮบ a b, โˆ€ (i : ฮบ), b i = v (a i)

If M is a finitely presented module over a local ring (R, ๐”ช) such that m โŠ— M โ†’ M is injective, then every generating family contains a basis.

theorem Module.exists_basis_of_span_of_flat E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M] [IsLocalRing R]
  [Module.FinitePresentation R M] [Module.Flat R M] {ฮน : Type u} (v : ฮน โ†’ M),
  Submodule.span R (Set.range v) = โŠค โ†’ โˆƒ ฮบ a b, โˆ€ (i : ฮบ), b i = v (a i)

theorem Module.free_of_maximalIdeal_rTensor_injective E3 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.FinitePresentation R M],
  Function.Injective โ‡‘(LinearMap.rTensor M (Submodule.subtype (IsLocalRing.maximalIdeal R))) โ†’ Module.Free R M

If M is a finitely presented module over a local ring (R, ๐”ช) such that m โŠ— M โ†’ M is injective, then M is free.

theorem Module.IsLocalRing.linearIndependent_of_flat E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.Flat R M] {ฮน : Type u} (v : ฮน โ†’ M),
  LinearIndependent (IsLocalRing.ResidueField R) (โ‡‘((TensorProduct.mk R (IsLocalRing.ResidueField R) M) 1) โˆ˜ v) โ†’
    LinearIndependent R v

theorem Module.IsLocalRing.linearCombination_bijective_of_flat E1 #

โˆ€ {R : Type u_1} {M : Type u_2} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [inst_3 : IsLocalRing R] [Module.Finite R M] [Module.Flat R M] {ฮน : Type u} (v : ฮน โ†’ M),
  Function.Bijective
      โ‡‘(Finsupp.linearCombination (IsLocalRing.ResidueField R)
          (โ‡‘((TensorProduct.mk R (IsLocalRing.ResidueField R) M) 1) โˆ˜ v)) โ†’
    Function.Bijective โ‡‘(Finsupp.linearCombination R v)

theorem Module.free_of_flat_of_isLocalRing E1 #

โˆ€ {R : Type u_1} {P : Type u_4} [inst : CommRing R] [inst_1 : AddCommGroup P] [inst_2 : Module R P] [IsLocalRing R]
  [Module.Finite R P] [Module.Flat R P], Module.Free R P

theorem Module.free_of_lTensor_residueField_injective E3 #

โˆ€ {R : Type u_1} {M : Type u_2} {N : Type u_3} {P : Type u_4} [inst : CommRing R] [inst_1 : AddCommGroup M]
  [inst_2 : AddCommGroup N] [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : AddCommGroup P] [inst_6 : Module R P]
  (f : M โ†’โ‚—[R] N) (g : N โ†’โ‚—[R] P) [inst_7 : IsLocalRing R],
  Function.Surjective โ‡‘g โ†’
    Function.Exact โ‡‘f โ‡‘g โ†’
      โˆ€ [Module.Finite R M] [Module.Finite R N] [Module.Free R N],
        Function.Injective โ‡‘(LinearMap.lTensor (IsLocalRing.ResidueField R) f) โ†’ Module.Free R P

If M โ†’ N โ†’ P โ†’ 0 is a presentation of P over a local ring (R, ๐”ช, k) with M finite and N finite free, then injectivity of k โŠ— M โ†’ k โŠ— N implies that P is free.

theorem IsLocalRing.split_injective_iff_lTensor_residueField_injective E3 #

โˆ€ {R : Type u_1} {M : Type u_2} {N : Type u_3} [inst : CommRing R] [inst_1 : AddCommGroup M] [inst_2 : AddCommGroup N]
  [inst_3 : Module R M] [inst_4 : Module R N] [inst_5 : IsLocalRing R] [Module.Finite R M] [Module.Finite R N]
  [Module.Free R N] (l : M โ†’โ‚—[R] N),
  (โˆƒ l', l' โˆ˜โ‚— l = LinearMap.id) โ†” Function.Injective โ‡‘(LinearMap.lTensor (IsLocalRing.ResidueField R) l)

Given a linear map l : M โ†’ N over a local ring (R, ๐”ช, k) with M finite and N finite free, l is a split injection if and only if k โŠ— l is a (split) injection.

theorem Module.nonempty_basis_of_flat_of_finrank_eq E0 #

โˆ€ (R : Type u_1) (M : Type u_2) [inst : CommRing R] [Finite (MaximalSpectrum R)] [inst_2 : AddCommGroup M]
  [inst_3 : Module R M] [Module.Finite R M] [Module.Flat R M] (n : โ„•),
  (โˆ€ (P : MaximalSpectrum R), Module.finrank (R โงธ P.asIdeal) (TensorProduct R (R โงธ P.asIdeal) M) = n) โ†’
    Nonempty (Module.Basis (Fin n) R M)

If M is a finite flat module over a commutative semilocal ring R that has the same rank n at every maximal ideal, then M is free of rank n.

theorem Module.free_of_flat_of_finrank_eq E0 #

โˆ€ (R : Type u_1) (M : Type u_2) [inst : CommRing R] [Finite (MaximalSpectrum R)] [inst_2 : AddCommGroup M]
  [inst_3 : Module R M] [Module.Finite R M] [Module.Flat R M] (n : โ„•),
  (โˆ€ (P : MaximalSpectrum R), Module.finrank (R โงธ P.asIdeal) (TensorProduct R (R โงธ P.asIdeal) M) = n) โ†’ Module.Free R M