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.Flat.Stability

8 declarations. Mathlib docs · Source

Flatness is stable under composition and base change

We show that flatness is stable under composition and base change.

Main theorems

  • Module.Flat.trans: if S is a flat R-algebra and M is a flat S-module, then M is a flat R-module
  • Module.Flat.baseChange: if M is a flat R-module and S is any R-algebra, then S ⊗[R] M is S-flat.
  • Module.Flat.of_isLocalizedModule: if M is a flat R-module and S is a submonoid of R then the localization of M at S is flat as a module for the localization of R at S.

Composition

Let R be a ring, S a flat R-algebra and M a flat S-module. To show that M is flat as an R-module, we show that the inclusion of an R-submodule N into an R-module P tensored on the left with M is injective. For this consider the composition of natural maps

M ⊗[R] N ≃ M ⊗[S] (S ⊗[R] N) → M ⊗[S] (S ⊗[R] P) ≃ M ⊗[R] P;

S ⊗[R] N → S ⊗[R] P is injective by R-flatness of S, so the middle map is injective by S-flatness of M.

Base change

Let R be a ring, M a flat R-module and S an R-algebra, then S ⊗[R] M is a flat S-module. This is a special case of Module.Flat.instTensorProduct.

theorem Module.Flat.trans E3 #

∀ (R : Type u) (S : Type v) (M : Type w) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [inst_5 : Module S M] [IsScalarTower R S M] [Module.Flat R S]
  [Module.Flat S M], Module.Flat R M

If S is a flat R-algebra, then any flat S-Module is also R-flat.

theorem Module.Flat.ulift_left_iff E0 #

∀ {R : Type u} {M : Type w} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.Flat (ULift.{t, u} R) M ↔ Module.Flat R M

theorem Module.Flat.ulift_right_iff E0 #

∀ {R : Type u} {M : Type w} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M],
  Module.Flat R (ULift.{t, w} M) ↔ Module.Flat R M

instance Module.Flat.baseChange E3 #

∀ (R : Type u) (S : Type v) (M : Type w) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Flat R M], Module.Flat S (TensorProduct R S M)

If M is a flat R-module and S is any R-algebra, S ⊗[R] M is S-flat.

theorem Module.Flat.isBaseChange E1 #

∀ (R : Type u) (S : Type v) (M : Type w) [inst : CommSemiring R] [inst_1 : CommSemiring S] [inst_2 : Algebra R S]
  [inst_3 : AddCommMonoid M] [inst_4 : Module R M] [Module.Flat R M] (N : Type t) [inst_6 : AddCommMonoid N]
  [inst_7 : Module R N] [inst_8 : Module S N] [inst_9 : IsScalarTower R S N] {f : M →ₗ[R] N},
  IsBaseChange S f → Module.Flat S N

A base change of a flat module is flat.

instance Module.Flat.localizedModule E0 #

∀ {R : Type u} {M : Type u_1} [inst : CommSemiring R] [inst_1 : AddCommMonoid M] [inst_2 : Module R M] [Module.Flat R M]
  (S : Submonoid R), Module.Flat (Localization S) (LocalizedModule S M)

theorem Module.Flat.of_isLocalizedModule E3 #

∀ {R : Type u} {M : Type u_1} {Mp : Type u_2} (Rp : Type v) [inst : CommSemiring R] [inst_1 : AddCommMonoid M]
  [inst_2 : Module R M] [inst_3 : CommSemiring Rp] [inst_4 : Algebra R Rp] [inst_5 : AddCommMonoid Mp]
  [inst_6 : Module R Mp] [inst_7 : Module Rp Mp] [IsScalarTower R Rp Mp] [Module.Flat R M] (S : Submonoid R)
  [IsLocalization S Rp] (f : M →ₗ[R] Mp) [h : IsLocalizedModule S f], Module.Flat Rp Mp

instance Module.Flat.instLocalizationAlgebraMapSubmonoid E0 #

∀ {R : Type u} [inst : CommSemiring R] {A : Type u_3} [inst_1 : CommSemiring A] [inst_2 : Algebra R A] [Module.Flat R A]
  (S : Submonoid R), Module.Flat (Localization S) (Localization (Algebra.algebraMapSubmonoid A S))