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.Extension.ExtendScalars

21 declarations. Mathlib docs · Source

Extension of Scalars for Algebra Extensions

This file provides APIs for extending the base ring of an algebra extension P : Extension R S to its own extension ring P.Ring. We introduce canonical maps and isomorphisms between the cotangent spaces and the first homology of naive cotangent complex associated with P.extendScalars and P. We provide commutativity results of these maps and isomorphisms (See https://github.com/leanprover-community/mathlib4/pull/39520 for an image of the full diagram). In particular, we show the boundary map of the Jacobi-Zariski sequence of R → P.Ring → S coincides with P.cotangentComplex via a canonical isomorphism P.h1CotangentEquivCotangent.

Main definitions and results

  • extendScalars: Views P : Extension R S as Extension P.Ring S.
  • toExtendScalars: The canonical homomorphism from P to P.extendScalars induced by the identity map on the underlying extension rings.
  • cotangentExtendScalarsEquiv : The linear equivalence between the cotangent spaces of P.extensScalars and P induced by the identity map.
  • h1CotangentExtendScalarsEquiv: P.extensScalars can be used to compute the first homology of the naive cotangent complex of S over P.Ring.
  • h1CotangentEquivOfSurjective: If R → P.Ring is surjective, this is the linear isomorphism induced by P.h1Cotangentι.
  • h1CotangentEquivCotangent: This is the linear equivalence between H1Cotangent P.Ring S and P.Cotangent defined by the composition of h1CotangentExtendScalarsEquiv.symm, h1CotangentEquivOfSurjective and cotangentExtendScalarsEquiv.
  • cotangentComplex_comp_h1CotangentEquivCotangent, h1CotangentEquivCotangent_comp_map: commutativity results.

theorem Algebra.Extension.Hom.ofAlgHom.congr_simp E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] {P : Algebra.Extension R S}
  {R' : Type u_1} {S' : Type u_2} [inst_3 : CommRing R'] [inst_4 : CommRing S'] [inst_5 : Algebra R' S']
  {P' : Algebra.Extension R' S'} [inst_6 : Algebra R R'] [inst_7 : Algebra S S'] [inst_8 : Algebra R S']
  [inst_9 : IsScalarTower R R' S'] [inst_10 : IsScalarTower R S S'] (f f_1 : P.Ring →ₐ[R] P'.Ring) (e_f : f = f_1)
  (H :
    (IsScalarTower.toAlgHom R P'.Ring S').comp f =
      (IsScalarTower.toAlgHom R S S').comp (IsScalarTower.toAlgHom R P.Ring S)),
  Algebra.Extension.Hom.ofAlgHom f H = Algebra.Extension.Hom.ofAlgHom f_1 ⋯

def Algebra.Extension.extendScalars E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] → [inst_2 : Algebra R S] → (P : Algebra.Extension R S) → Algebra.Extension P.Ring S

Given an extension P of S over R, P.extendScalars is the same extension but viewed as an extension of S over P.Ring.

theorem Algebra.Extension.extendScalars_algebra₁ E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), P.extendScalars.algebra₁ = Algebra.id P.Ring

theorem Algebra.Extension.extendScalars_Ring E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), P.extendScalars.Ring = P.Ring

theorem Algebra.Extension.extendScalars_commRing E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), P.extendScalars.commRing = P.commRing

theorem Algebra.Extension.extendScalars_algebra₂ E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), P.extendScalars.algebra₂ = P.algebra₂

theorem Algebra.Extension.extendScalars_σ E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (P : Algebra.Extension R S)
  (a : S), P.extendScalars.σ a = P.σ a

def Algebra.Extension.toExtendScalars E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] → [inst_2 : Algebra R S] → (P : Algebra.Extension R S) → P.Hom P.extendScalars

The canonical homomorphism from P to P.extendScalars induced by the identity map on the underlying extension rings.

theorem Algebra.Extension.toExtendScalars_toRingHom_apply E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (P : Algebra.Extension R S)
  (x : P.Ring), P.toExtendScalars.toRingHom x = x

def Algebra.Extension.cotangentExtendScalarsEquiv E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] → (P : Algebra.Extension R S) → P.extendScalars.Cotangent ≃ₗ[S] P.Cotangent

Extension.extendScalars does not change the cotangent space of an extension.

theorem Algebra.Extension.cotangentExtendScalarsEquiv_symm_toLinearMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), ↑P.cotangentExtendScalarsEquiv.symm = Algebra.Extension.Cotangent.map P.toExtendScalars

theorem Algebra.Extension.H1Cotangent.map_toExtendScalars_injective E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), Function.Injective ⇑(Algebra.Extension.H1Cotangent.map P.toExtendScalars)

def Algebra.Extension.h1CotangentExtendScalarsEquiv E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          (P : Algebra.Extension R S) → P.extendScalars.H1Cotangent ≃ₗ[S] Algebra.H1Cotangent P.Ring S

The first homology of the naive cotangent complex of P.extendScalars is linearly equivalent to that of S over P.Ring.

theorem Algebra.Extension.h1CotangentExtendScalarsEquiv_toLinearMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S),
  ↑P.h1CotangentExtendScalarsEquiv =
    Algebra.Extension.H1Cotangent.map
      (Algebra.Extension.Hom.ofAlgHom (Algebra.ofId P.Ring (Algebra.Generators.self P.Ring S).Ring) ⋯)

theorem Algebra.Extension.h1CotangentExtendScalarsEquiv_symm_toLinearMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S),
  ↑P.h1CotangentExtendScalarsEquiv.symm =
    Algebra.Extension.H1Cotangent.map (Algebra.Extension.defaultHom P.Ring S P.extendScalars)

def Algebra.Extension.h1CotangentEquivOfSurjective E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] →
          (P : Algebra.Extension R S) → Function.Surjective ⇑(algebraMap R P.Ring) → P.H1Cotangent ≃ₗ[S] P.Cotangent

Given an extension P of S over R such that algebraMap R P.Ring is surjective, this is the equivalence induced by P.h1Cotangentι.

theorem Algebra.Extension.h1CotangentEquivOfSurjective_toLinearMap E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S] (P : Algebra.Extension R S)
  (h : Function.Surjective ⇑(algebraMap R P.Ring)), ↑(P.h1CotangentEquivOfSurjective h) = Algebra.Extension.h1Cotangentι

def Algebra.Extension.h1CotangentEquivCotangent E1 #

{R : Type u} →
  {S : Type v} →
    [inst : CommRing R] →
      [inst_1 : CommRing S] →
        [inst_2 : Algebra R S] → (P : Algebra.Extension R S) → Algebra.H1Cotangent P.Ring S ≃ₗ[S] P.Cotangent

Given an extension P : Extension R S, this is the linear equivalence between the first homology of the naive cotangent complex of S over P.Ring and the cotangent space of P.

theorem Algebra.Extension.cotangentComplex_comp_h1CotangentEquivCotangent E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S), P.cotangentComplex ∘ₗ ↑P.h1CotangentEquivCotangent = Algebra.H1Cotangent.δ R P.Ring S

theorem Algebra.Extension.h1CotangentEquivCotangent_comp_map E1 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S),
  ↑P.h1CotangentEquivCotangent ∘ₗ Algebra.H1Cotangent.map R P.Ring S S =
    Algebra.Extension.h1Cotangentι ∘ₗ Algebra.Extension.H1Cotangent.map (Algebra.Extension.defaultHom R S P)

theorem Algebra.Extension.H1Cotangent.map_defaultHom_surjective E0 #

∀ {R : Type u} {S : Type v} [inst : CommRing R] [inst_1 : CommRing S] [inst_2 : Algebra R S]
  (P : Algebra.Extension R S),
  Function.Surjective ⇑(Algebra.Extension.H1Cotangent.map (Algebra.Extension.defaultHom R S P))