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

19 declarations. Mathlib docs · Source

def ModuleCat.kernelCone E1 #

{R : Type u} → [inst : Ring R] → {M N : ModuleCat R} → (f : M ⟶ N) → CategoryTheory.Limits.KernelFork f

The kernel cone induced by the concrete kernel.

def ModuleCat.kernelIsLimit E1 #

{R : Type u} →
  [inst : Ring R] → {M N : ModuleCat R} → (f : M ⟶ N) → CategoryTheory.Limits.IsLimit (ModuleCat.kernelCone f)

The kernel of a linear map is a kernel in the categorical sense.

def ModuleCat.isLimitKernelFork E1 #

{R : Type u} →
  [inst : Ring R] →
    {M N P : ModuleCat R} →
      (f : M ⟶ N) →
        (g : N ⟶ P) →
          (H : Function.Exact ⇑(ModuleCat.Hom.hom f) ⇑(ModuleCat.Hom.hom g)) →
            Function.Injective ⇑(ModuleCat.Hom.hom f) →
              CategoryTheory.Limits.IsLimit (CategoryTheory.Limits.KernelFork.ofι f ⋯)

Construct an IsLimit structure of kernels given Function.Exact.

def ModuleCat.cokernelCocone E1 #

{R : Type u} → [inst : Ring R] → {M N : ModuleCat R} → (f : M ⟶ N) → CategoryTheory.Limits.CokernelCofork f

The cokernel cocone induced by the projection onto the quotient.

def ModuleCat.cokernelIsColimit E1 #

{R : Type u} →
  [inst : Ring R] → {M N : ModuleCat R} → (f : M ⟶ N) → CategoryTheory.Limits.IsColimit (ModuleCat.cokernelCocone f)

The projection onto the quotient is a cokernel in the categorical sense.

def ModuleCat.isColimitCokernelCofork E1 #

{R : Type u} →
  [inst : Ring R] →
    {M N P : ModuleCat R} →
      (f : M ⟶ N) →
        (g : N ⟶ P) →
          (H : Function.Exact ⇑(ModuleCat.Hom.hom f) ⇑(ModuleCat.Hom.hom g)) →
            Function.Surjective ⇑(ModuleCat.Hom.hom g) →
              CategoryTheory.Limits.IsColimit (CategoryTheory.Limits.CokernelCofork.ofπ g ⋯)

Construct an IsColimit structure of cokernels given Function.Exact.

theorem ModuleCat.hasKernels_moduleCat E1 #

∀ {R : Type u} [inst : Ring R], CategoryTheory.Limits.HasKernels (ModuleCat R)

The category of R-modules has kernels, given by the inclusion of the kernel submodule.

theorem ModuleCat.hasCokernels_moduleCat E1 #

∀ {R : Type u} [inst : Ring R], CategoryTheory.Limits.HasCokernels (ModuleCat R)

The category of R-modules has cokernels, given by the projection onto the quotient.

def ModuleCat.kernelIsoKer E1 #

{R : Type u} →
  [inst : Ring R] → {G H : ModuleCat R} → (f : G ⟶ H) → CategoryTheory.Limits.kernel f ≅ ↧↥(ModuleCat.Hom.hom f).ker

The categorical kernel of a morphism in ModuleCat agrees with the usual module-theoretical kernel.

theorem ModuleCat.kernelIsoKer_inv_kernel_ι_apply E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H) (x : ↥(ModuleCat.Hom.hom f).ker),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.kernel.ι f))
      ((CategoryTheory.ConcreteCategory.hom (ModuleCat.kernelIsoKer f).inv) x) =
    ↑x

theorem ModuleCat.kernelIsoKer_inv_kernel_ι E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H),
  CategoryTheory.CategoryStruct.comp (ModuleCat.kernelIsoKer f).inv (CategoryTheory.Limits.kernel.ι f) =
    ModuleCat.ofHom (ModuleCat.Hom.hom f).ker.subtype

theorem ModuleCat.kernelIsoKer_hom_ker_subtype E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H),
  CategoryTheory.CategoryStruct.comp (ModuleCat.kernelIsoKer f).hom
      (ModuleCat.ofHom (ModuleCat.Hom.hom f).ker.subtype) =
    CategoryTheory.Limits.kernel.ι f

theorem ModuleCat.kernelIsoKer_hom_ker_subtype_apply E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H) (x : ↑(CategoryTheory.Limits.kernel f)),
  ↑((CategoryTheory.ConcreteCategory.hom (ModuleCat.kernelIsoKer f).hom) x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.kernel.ι f)) x

def ModuleCat.cokernelIsoRangeQuotient E1 #

{R : Type u} →
  [inst : Ring R] →
    {G H : ModuleCat R} → (f : G ⟶ H) → CategoryTheory.Limits.cokernel f ≅ ↧(↑H ⧸ (ModuleCat.Hom.hom f).range)

The categorical cokernel of a morphism in ModuleCat agrees with the usual module-theoretical quotient.

theorem ModuleCat.cokernel_π_cokernelIsoRangeQuotient_hom_apply E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H) (x : ↑H),
  (CategoryTheory.ConcreteCategory.hom (ModuleCat.cokernelIsoRangeQuotient f).hom)
      ((CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) x) =
    Submodule.Quotient.mk x

theorem ModuleCat.cokernel_π_cokernelIsoRangeQuotient_hom E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.cokernel.π f) (ModuleCat.cokernelIsoRangeQuotient f).hom =
    ModuleCat.ofHom (ModuleCat.Hom.hom f).range.mkQ

theorem ModuleCat.range_mkQ_cokernelIsoRangeQuotient_inv E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H),
  CategoryTheory.CategoryStruct.comp (ModuleCat.ofHom (ModuleCat.Hom.hom f).range.mkQ)
      (ModuleCat.cokernelIsoRangeQuotient f).inv =
    CategoryTheory.Limits.cokernel.π f

theorem ModuleCat.range_mkQ_cokernelIsoRangeQuotient_inv_apply E0 #

∀ {R : Type u} [inst : Ring R] {G H : ModuleCat R} (f : G ⟶ H) (x : ↑H),
  (CategoryTheory.ConcreteCategory.hom (ModuleCat.cokernelIsoRangeQuotient f).inv) (Submodule.Quotient.mk x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) x

theorem ModuleCat.cokernel_π_ext E1 #

∀ {R : Type u} [inst : Ring R] {M N : ModuleCat R} (f : M ⟶ N) {x y : ↑N} (m : ↑M),
  x = y + (CategoryTheory.ConcreteCategory.hom f) m →
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) x =
      (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.cokernel.π f)) y