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.Ring.Under.Basic

28 declarations. Mathlib docs · Source

instance CommRingCat.instCoeSortUnderType E0 #

{R : CommRingCat} → CoeSort (CategoryTheory.Under R) (Type u)

instance CommRingCat.instAlgebraCarrierRight E0 #

{R : CommRingCat} → (A : CategoryTheory.Under R) → Algebra ↑R ↑A.right

def CommRingCat.toAlgHom E1 #

{R : CommRingCat} → {A B : CategoryTheory.Under R} → (A ⟶ B) → ↑A.right →ₐ[↑R] ↑B.right

Turn a morphism in Under R into an algebra homomorphism.

theorem CommRingCat.toAlgHom_id E0 #

∀ {R : CommRingCat} (A : CategoryTheory.Under R),
  CommRingCat.toAlgHom (CategoryTheory.CategoryStruct.id A) = AlgHom.id ↑R ↑A.right

theorem CommRingCat.toAlgHom_comp E0 #

∀ {R : CommRingCat} {A B C : CategoryTheory.Under R} (f : A ⟶ B) (g : B ⟶ C),
  CommRingCat.toAlgHom (CategoryTheory.CategoryStruct.comp f g) = (CommRingCat.toAlgHom g).comp (CommRingCat.toAlgHom f)

theorem CommRingCat.toAlgHom_apply E0 #

∀ {R : CommRingCat} {A B : CategoryTheory.Under R} (f : A ⟶ B) (a : ↑A.right),
  (CommRingCat.toAlgHom f) a = (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f)) a

def CommRingCat.mkUnder E1 #

(R : CommRingCat) → (A : Type u) → [inst : CommRing A] → [Algebra (↑R) A] → CategoryTheory.Under R

Make an object of Under R from an R-algebra.

theorem CommRingCat.mkUnder_hom E0 #

∀ (R : CommRingCat) (A : Type u) [inst : CommRing A] [inst_1 : Algebra (↑R) A],
  (R.mkUnder A).hom = CommRingCat.ofHom (algebraMap (↑R) A)

theorem CommRingCat.mkUnder_right E1 #

∀ (R : CommRingCat) (A : Type u) [inst : CommRing A] [inst_1 : Algebra (↑R) A], (R.mkUnder A).right = ↧A

theorem CommRingCat.mkUnder_ext_iff E0 #

∀ {R : CommRingCat} {A : Type u} [inst : CommRing A] [inst_1 : Algebra (↑R) A] {B : CategoryTheory.Under R}
  {f g : R.mkUnder A ⟶ B},
  f = g ↔
    ∀ (a : A),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f)) a =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right g)) a

theorem CommRingCat.mkUnder_ext E1 #

∀ {R : CommRingCat} {A : Type u} [inst : CommRing A] [inst_1 : Algebra (↑R) A] {B : CategoryTheory.Under R}
  {f g : R.mkUnder A ⟶ B},
  (∀ (a : A),
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f)) a =
        (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right g)) a) →
    f = g

def AlgHom.toUnder E1 #

{R : CommRingCat} →
  {A B : Type u} →
    [inst : CommRing A] →
      [inst_1 : CommRing B] →
        [inst_2 : Algebra (↑R) A] → [inst_3 : Algebra (↑R) B] → (A →ₐ[↑R] B) → (R.mkUnder A ⟶ R.mkUnder B)

Make a morphism in Under R from an algebra map.

theorem AlgHom.toUnder_right E0 #

∀ {R : CommRingCat} {A B : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra (↑R) A]
  [inst_3 : Algebra (↑R) B] (f : A →ₐ[↑R] B) (a : A),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f.toUnder)) a = f a

theorem AlgHom.toUnder_comp E0 #

∀ {R : CommRingCat} {A B C : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : CommRing C]
  [inst_3 : Algebra (↑R) A] [inst_4 : Algebra (↑R) B] [inst_5 : Algebra (↑R) C] (f : A →ₐ[↑R] B) (g : B →ₐ[↑R] C),
  (g.comp f).toUnder = CategoryTheory.CategoryStruct.comp f.toUnder g.toUnder

def AlgEquiv.toUnder E1 #

{R : CommRingCat} →
  {A B : Type u} →
    [inst : CommRing A] →
      [inst_1 : CommRing B] →
        [inst_2 : Algebra (↑R) A] → [inst_3 : Algebra (↑R) B] → (A ≃ₐ[↑R] B) → (R.mkUnder A ≅ R.mkUnder B)

Make an isomorphism in Under R from an algebra isomorphism.

theorem AlgEquiv.toUnder_hom_right_apply E0 #

∀ {R : CommRingCat} {A B : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra (↑R) A]
  [inst_3 : Algebra (↑R) B] (f : A ≃ₐ[↑R] B) (a : A),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f.toUnder.hom)) a = f a

theorem AlgEquiv.toUnder_inv_right_apply E0 #

∀ {R : CommRingCat} {A B : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : Algebra (↑R) A]
  [inst_3 : Algebra (↑R) B] (f : A ≃ₐ[↑R] B) (b : B),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Under.Hom.right f.toUnder.inv)) b = f.symm b

theorem AlgEquiv.toUnder_trans E0 #

∀ {R : CommRingCat} {A B C : Type u} [inst : CommRing A] [inst_1 : CommRing B] [inst_2 : CommRing C]
  [inst_3 : Algebra (↑R) A] [inst_4 : Algebra (↑R) B] [inst_5 : Algebra (↑R) C] (f : A ≃ₐ[↑R] B) (g : B ≃ₐ[↑R] C),
  (f.trans g).toUnder = f.toUnder ≪≫ g.toUnder

def CommRingCat.tensorProd E1 #

(R S : CommRingCat) → [Algebra ↑R ↑S] → CategoryTheory.Functor (CategoryTheory.Under R) (CategoryTheory.Under S)

The base change functor A ↦ S ⊗[R] A.

theorem CommRingCat.tensorProd_map_right E0 #

∀ (R S : CommRingCat) [inst : Algebra ↑R ↑S] {X Y : CategoryTheory.Under R} (f : X ⟶ Y),
  ((R.tensorProd S).map f).right =
    CommRingCat.ofHom ↑(Algebra.TensorProduct.map (AlgHom.id ↑S ↑S) (CommRingCat.toAlgHom f))

theorem CommRingCat.tensorProd_obj_right E0 #

∀ (R S : CommRingCat) [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R),
  ((R.tensorProd S).obj A).right = ↧(TensorProduct ↑R ↑S ↑A.right)

def CommRingCat.tensorProdObjIsoPushoutObj E1 #

{R : CommRingCat} →
  (S : CommRingCat) →
    [inst : Algebra ↑R ↑S] →
      (A : CategoryTheory.Under R) →
        S.mkUnder (TensorProduct ↑R ↑S ↑A.right) ≅
          (CategoryTheory.Under.pushout (CommRingCat.ofHom (algebraMap ↑R ↑S))).obj A

The natural isomorphism S ⊗[R] A ≅ pushout A.hom (algebraMap R S) in Under S.

theorem CommRingCat.pushout_inl_tensorProdObjIsoPushoutObj_inv_right_assoc E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R) {Z : CommRingCat}
  (h : (S.mkUnder (TensorProduct ↑R ↑S ↑A.right)).right ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl A.hom (CommRingCat.ofHom (algebraMap ↑R ↑S)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Under.Hom.right (CommRingCat.tensorProdObjIsoPushoutObj S A).inv) h) =
    CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom Algebra.TensorProduct.includeRight.toRingHom) h

theorem CommRingCat.pushout_inl_tensorProdObjIsoPushoutObj_inv_right E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inl A.hom (CommRingCat.ofHom (algebraMap ↑R ↑S)))
      (CategoryTheory.Under.Hom.right (CommRingCat.tensorProdObjIsoPushoutObj S A).inv) =
    CommRingCat.ofHom Algebra.TensorProduct.includeRight.toRingHom

theorem CommRingCat.pushout_inr_tensorProdObjIsoPushoutObj_inv_right_assoc E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R) {Z : CommRingCat}
  (h : (S.mkUnder (TensorProduct ↑R ↑S ↑A.right)).right ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr A.hom (CommRingCat.ofHom (algebraMap ↑R ↑S)))
      (CategoryTheory.CategoryStruct.comp
        (CategoryTheory.Under.Hom.right (CommRingCat.tensorProdObjIsoPushoutObj S A).inv) h) =
    CategoryTheory.CategoryStruct.comp (CommRingCat.ofHom Algebra.TensorProduct.includeLeftRingHom) h

theorem CommRingCat.pushout_inr_tensorProdObjIsoPushoutObj_inv_right E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.pushout.inr A.hom (CommRingCat.ofHom (algebraMap ↑R ↑S)))
      (CategoryTheory.Under.Hom.right (CommRingCat.tensorProdObjIsoPushoutObj S A).inv) =
    CommRingCat.ofHom Algebra.TensorProduct.includeLeftRingHom

def CommRingCat.tensorProdIsoPushout E1 #

(R S : CommRingCat) →
  [inst : Algebra ↑R ↑S] → R.tensorProd S ≅ CategoryTheory.Under.pushout (CommRingCat.ofHom (algebraMap ↑R ↑S))

A ↦ S ⊗[R] A is naturally isomorphic to A ↦ pushout A.hom (algebraMap R S).

theorem CommRingCat.tensorProdIsoPushout_app E0 #

∀ {R S : CommRingCat} [inst : Algebra ↑R ↑S] (A : CategoryTheory.Under R),
  (R.tensorProdIsoPushout S).app A = CommRingCat.tensorProdObjIsoPushoutObj S A