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

15 declarations. Mathlib docs · Source

Results for the rank of a finite flat algebra

In this file we study a finite, flat R-algebra S and relate injectivity and bijectivity of R → S with the rank of S over R.

Main results

  • PrimeSpectrum.comap_surjective_iff_injective_of_finite: Spec S → Spec R is surjective if and only if R → S is injective.
  • Module.Flat.tfae_algebraMap_surjective: R → S is surjective iff S ⊗[R] S → S is an isomorphism iff the rank of S is at most 1 at all primes.
  • Module.algebraMap_bijective_iff_rankAtStalk: S is of constant R-rank 1 if and only if S is isomorphic to R.

theorem PrimeSpectrum.rankAtStalk_pos_iff_mem_range_comap E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S] (p : PrimeSpectrum R),
  0 < Module.rankAtStalk S p ↔ p ∈ Set.range (PrimeSpectrum.comap (algebraMap R S))

theorem PrimeSpectrum.rankAtStalk_pos_iff_comap_surjective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S],
  (∀ (p : PrimeSpectrum R), 0 < Module.rankAtStalk S p) ↔ Function.Surjective (PrimeSpectrum.comap (algebraMap R S))

The rank is positive at all stalks if and only if the induced map on prime spectra is surjective.

theorem PrimeSpectrum.comap_surjective_iff_injective_of_finite E3 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], Function.Surjective (PrimeSpectrum.comap (algebraMap R S)) ↔ Function.Injective ⇑(algebraMap R S)

theorem Module.rankAtStalk_pos_iff_algebraMap_injective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], (∀ (p : PrimeSpectrum R), 0 < Module.rankAtStalk S p) ↔ Function.Injective ⇑(algebraMap R S)

theorem Module.algebraMap_surjective_of_rankAtStalk_le_one E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], (∀ (p : PrimeSpectrum R), Module.rankAtStalk S p ≤ 1) → Function.Surjective ⇑(algebraMap R S)

theorem Module.Flat.tfae_algebraMap_surjective E3 #

∀ (R : Type u_1) (S : Type u_2) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S],
  [Function.Surjective ⇑(algebraMap R S), Function.Bijective ⇑(LinearMap.mul' R S),
      ∀ (p : PrimeSpectrum R), Module.rankAtStalk S p ≤ 1].TFAE

If S is a finite and flat R-algebra, R → S is surjective iff S ⊗[R] S → S is an isomorphism iff the rank of S is at most 1 at all primes.

theorem Module.rankAtStalk_le_one_iff_surjective E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], (∀ (p : PrimeSpectrum R), Module.rankAtStalk S p ≤ 1) ↔ Function.Surjective ⇑(algebraMap R S)

theorem Module.algebraMap_bijective_iff_rankAtStalk E3 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], Module.rankAtStalk S = 1 ↔ Function.Bijective ⇑(algebraMap R S)

If S is a finite, flat R-algebra, S is of constant rank 1 if and only if S is isomorphic to R.

theorem Module.algebraMap_bijective_of_rankAtStalk E1 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] [Module.Flat R S]
  [Module.Finite R S], Module.rankAtStalk S = 1 → Function.Bijective ⇑(algebraMap R S)

Alias of the forward direction of Module.algebraMap_bijective_iff_rankAtStalk.


If S is a finite, flat R-algebra, S is of constant rank 1 if and only if S is isomorphic to R.

def RingHom.finrank E1 #

{R : Type u_3} → {S : Type u_4} → [inst : CommRing R] → [inst_1 : CommRing S] → (R →+* S) → PrimeSpectrum R → ℕ

The rank of a ring homomorphism f : R →+* S at a prime x of R is the rank of S as an R-module at the stalk of x.

theorem RingHom.finrank_algebraMap E0 #

∀ {R : Type u_1} {S : Type u_2} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S],
  (algebraMap R S).finrank = Module.rankAtStalk S

theorem Algebra.rankAtStalk_eq_of_isPushout E1 #

∀ (R : Type u_3) (S : Type u_4) [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (R' : Type u_5)
  (S' : Type u_6) [inst_3 : CommRing R'] [inst_4 : CommRing S'] [inst_5 : Algebra R R'] [inst_6 : Algebra S S']
  [inst_7 : Algebra R' S'] [inst_8 : Algebra R S'] [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S']
  [Algebra.IsPushout R S R' S'] [Module.Flat R S] [Module.Finite R S] (x : PrimeSpectrum R'),
  Module.rankAtStalk S' x = Module.rankAtStalk S (PrimeSpectrum.comap (algebraMap R R') x)

theorem RingHom.finrank_comp_left_of_bijective E1 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T),
  Function.Bijective ⇑g → f.Finite → f.Flat → ∀ (x : PrimeSpectrum R), (g.comp f).finrank x = f.finrank x

theorem RingHom.finrank_comp_right_of_bijective E1 #

∀ {R : Type u_3} {S : Type u_4} {T : Type u_5} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : CommRing T]
  (f : R →+* S) (g : S →+* T),
  Function.Bijective ⇑f →
    g.Finite →
      g.Flat →
        ∀ (y : PrimeSpectrum R) (x : PrimeSpectrum S), y = PrimeSpectrum.comap f x → (g.comp f).finrank y = g.finrank x

theorem CommRingCat.finrank_eq_of_isPushout E1 #

∀ {R S T P : CommRingCat} {f : R ⟶ S} {g : R ⟶ T} {inl : S ⟶ P} {inr : T ⟶ P},
  CategoryTheory.IsPushout f g inl inr →
    (CommRingCat.Hom.hom f).Flat →
      (CommRingCat.Hom.hom f).Finite →
        ∀ (x : PrimeSpectrum ↑T),
          (CommRingCat.Hom.hom inr).finrank x =
            (CommRingCat.Hom.hom f).finrank (PrimeSpectrum.comap (CommRingCat.Hom.hom g) x)