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 / V26. Homological algebra

Mathlib.Algebra.Category.ModuleCat.Differentials.Basic

15 declarations. Mathlib docs · Source

def ModuleCat.Derivation E1 #

{A B : CommRingCat} → ModuleCat ↑B → (A ⟶ B) → Type (max v u)

The type of derivations with values in a B-module M relative to a morphism f : A ⟶ B in the category CommRingCat.

def ModuleCat.Derivation.mk E1 #

{A B : CommRingCat} →
  {M : ModuleCat ↑B} →
    {f : A ⟶ B} →
      (d : ↑B → ↑M) →
        autoParam (∀ (b b' : ↑B), d (b + b') = d b + d b') ModuleCat.Derivation.mk._auto_1 →
          autoParam (∀ (b b' : ↑B), d (b * b') = b • d b' + b' • d b) ModuleCat.Derivation.mk._auto_3 →
            autoParam (∀ (a : ↑A), d ((CategoryTheory.ConcreteCategory.hom f) a) = 0) ModuleCat.Derivation.mk._auto_5 →
              M.Derivation f

Constructor for ModuleCat.Derivation.

def ModuleCat.Derivation.d E1 #

{A B : CommRingCat} → {M : ModuleCat ↑B} → {f : A ⟶ B} → M.Derivation f → ↑B → ↑M

The underlying map B → M of a derivation M.Derivation f when M : ModuleCat B and f : A ⟶ B is a morphism in CommRingCat.

theorem ModuleCat.Derivation.d_add E0 #

∀ {A B : CommRingCat} {M : ModuleCat ↑B} {f : A ⟶ B} (D : M.Derivation f) (b b' : ↑B), D.d (b + b') = D.d b + D.d b'

theorem ModuleCat.Derivation.d_mul E0 #

∀ {A B : CommRingCat} {M : ModuleCat ↑B} {f : A ⟶ B} (D : M.Derivation f) (b b' : ↑B),
  D.d (b * b') = b • D.d b' + b' • D.d b

theorem ModuleCat.Derivation.d_map E0 #

∀ {A B : CommRingCat} {M : ModuleCat ↑B} {f : A ⟶ B} (D : M.Derivation f) (a : ↑A),
  D.d ((CategoryTheory.ConcreteCategory.hom f) a) = 0

def CommRingCat.KaehlerDifferential E1 #

{A B : CommRingCat} → (A ⟶ B) → ModuleCat ↑B

The module of differentials of a morphism f : A ⟶ B in the category CommRingCat.

def CommRingCat.KaehlerDifferential.D E1 #

{A B : CommRingCat} → (f : A ⟶ B) → (CommRingCat.KaehlerDifferential f).Derivation f

The (universal) derivation in (KaehlerDifferential f).Derivation f when f : A ⟶ B is a morphism in the category CommRingCat.

abbrev CommRingCat.KaehlerDifferential.d E1 #

{A B : CommRingCat} → {f : A ⟶ B} → ↑B → ↑(CommRingCat.KaehlerDifferential f)

When f : A ⟶ B is a morphism in the category CommRingCat, this is the differential map B → KaehlerDifferential f.

theorem CommRingCat.KaehlerDifferential.ext_iff E0 #

∀ {A B : CommRingCat} {f : A ⟶ B} {M : ModuleCat ↑B} {α β : CommRingCat.KaehlerDifferential f ⟶ M},
  α = β ↔
    ∀ (b : ↑B),
      (CategoryTheory.ConcreteCategory.hom α) (CommRingCat.KaehlerDifferential.d b) =
        (CategoryTheory.ConcreteCategory.hom β) (CommRingCat.KaehlerDifferential.d b)

theorem CommRingCat.KaehlerDifferential.ext E1 #

∀ {A B : CommRingCat} {f : A ⟶ B} {M : ModuleCat ↑B} {α β : CommRingCat.KaehlerDifferential f ⟶ M},
  (∀ (b : ↑B),
      (CategoryTheory.ConcreteCategory.hom α) (CommRingCat.KaehlerDifferential.d b) =
        (CategoryTheory.ConcreteCategory.hom β) (CommRingCat.KaehlerDifferential.d b)) →
    α = β

def CommRingCat.KaehlerDifferential.map E1 #

{A B A' B' : CommRingCat} →
  {f : A ⟶ B} →
    {f' : A' ⟶ B'} →
      {g : A ⟶ A'} →
        {g' : B ⟶ B'} →
          CategoryTheory.CategoryStruct.comp g f' = CategoryTheory.CategoryStruct.comp f g' →
            (CommRingCat.KaehlerDifferential f ⟶
              (ModuleCat.restrictScalars (CommRingCat.Hom.hom g')).obj (CommRingCat.KaehlerDifferential f'))

The map KaehlerDifferential f ⟶ (ModuleCat.restrictScalars g').obj (KaehlerDifferential f') induced by a commutative square (given by an equality g ≫ f' = f ≫ g') in the category CommRingCat.

theorem CommRingCat.KaehlerDifferential.map_d E0 #

∀ {A B A' B' : CommRingCat} {f : A ⟶ B} {f' : A' ⟶ B'} {g : A ⟶ A'} {g' : B ⟶ B'}
  (fac : CategoryTheory.CategoryStruct.comp g f' = CategoryTheory.CategoryStruct.comp f g') (b : ↑B),
  (CategoryTheory.ConcreteCategory.hom (CommRingCat.KaehlerDifferential.map fac))
      (CommRingCat.KaehlerDifferential.d b) =
    CommRingCat.KaehlerDifferential.d ((CategoryTheory.ConcreteCategory.hom g') b)

def ModuleCat.Derivation.desc E1 #

{A B : CommRingCat} → {f : A ⟶ B} → {M : ModuleCat ↑B} → M.Derivation f → (CommRingCat.KaehlerDifferential f ⟶ M)

Given f : A ⟶ B a morphism in the category CommRingCat, M : ModuleCat B, and D : M.Derivation f, this is the induced morphism CommRingCat.KaehlerDifferential f ⟶ M.

theorem ModuleCat.Derivation.desc_d E0 #

∀ {A B : CommRingCat} {f : A ⟶ B} {M : ModuleCat ↑B} (D : M.Derivation f) (b : ↑B),
  (CategoryTheory.ConcreteCategory.hom D.desc) (CommRingCat.KaehlerDifferential.d b) = D.d b