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.LocallyFree

2 declarations. Mathlib docs · Source

theorem Module.bijective_of_surjective_of_rankAtStalk_eq E0 #

∀ {R : Type u_1} [inst : CommRing R] {M : Type u_2} {N : Type u_3} [inst_1 : AddCommGroup M] [inst_2 : Module R M]
  [Module.Finite R M] [Module.Flat R M] [inst_5 : AddCommGroup N] [inst_6 : Module R N] [Module.Finite R N]
  [Module.Flat R N] {φ : M →ₗ[R] N},
  Function.Surjective ⇑φ →
    (∀ (m : Ideal R) [inst_9 : m.IsMaximal],
        Module.rankAtStalk M { asIdeal := m, isPrime := ⋯ } = Module.rankAtStalk N { asIdeal := m, isPrime := ⋯ }) →
      Function.Bijective ⇑φ

theorem Module.Free.away_of_finite_of_flat_of_rankAtStalk_constant E1 #

∀ {R : Type u_1} [inst : CommRing R] (M : Type u_2) [inst_1 : AddCommGroup M] [inst_2 : Module R M] [Module.Finite R M]
  [Module.Flat R M] (p : Ideal R) [inst_5 : p.IsPrime],
  (∀ (m : Ideal R) [inst_6 : m.IsMaximal],
      Module.rankAtStalk M { asIdeal := m, isPrime := ⋯ } = Module.rankAtStalk M { asIdeal := p, isPrime := ⋯ }) →
    ∃ a ∉ p, Module.Free (Localization.Away a) (LocalizedModule.Away a M)

Let M be a finite flat R-module, p be a prime ideal of R. If rankAtStalk M is constant, then there exists a ∉ p such that M is free after localization away from a.