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.Homology.ImageToKernel

22 declarations. Mathlib docs · Source

theorem CategoryTheory.Subobject.isoOfEq.congr_simp E1 #

∀ {C : Type u₁} [inst : CategoryTheory.Category.{v₁, u₁} C] {B : C} (X Y : CategoryTheory.Subobject B) (h : X = Y),
  X.isoOfEq Y h = X.isoOfEq Y h

theorem imageToKernel.congr_simp E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0), imageToKernel f g w = imageToKernel f g w

theorem image_le_kernel E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g],
  CategoryTheory.CategoryStruct.comp f g = 0 →
    CategoryTheory.Limits.imageSubobject f ≤ CategoryTheory.Limits.kernelSubobject g

def imageToKernel E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      {A B C : V} →
        (f : A ⟶ B) →
          [inst_2 : CategoryTheory.Limits.HasImage f] →
            (g : B ⟶ C) →
              [inst_3 : CategoryTheory.Limits.HasKernel g] →
                CategoryTheory.CategoryStruct.comp f g = 0 →
                  (CategoryTheory.Subobject.underlying.obj (CategoryTheory.Limits.imageSubobject f) ⟶
                    CategoryTheory.Subobject.underlying.obj (CategoryTheory.Limits.kernelSubobject g))

The canonical morphism imageSubobject f ⟶ kernelSubobject g when f ≫ g = 0.

instance instMonoImageToKernel E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0), CategoryTheory.Mono (imageToKernel f g w)

theorem subobject_ofLE_as_imageToKernel E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0)
  (h : CategoryTheory.Limits.imageSubobject f ≤ CategoryTheory.Limits.kernelSubobject g),
  (CategoryTheory.Limits.imageSubobject f).ofLE (CategoryTheory.Limits.kernelSubobject g) h = imageToKernel f g w

Prefer imageToKernel.

theorem imageToKernel_arrow_assoc E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0) {Z : V} (h : B ⟶ Z),
  CategoryTheory.CategoryStruct.comp (imageToKernel f g w)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernelSubobject g).arrow h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.imageSubobject f).arrow h

theorem imageToKernel_arrow E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0),
  CategoryTheory.CategoryStruct.comp (imageToKernel f g w) (CategoryTheory.Limits.kernelSubobject g).arrow =
    (CategoryTheory.Limits.imageSubobject f).arrow

theorem imageToKernel_arrow_apply E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0) {F : V → V → Type uF} {carrier : V → Type w}
  {instFunLike : (X Y : V) → FunLike (F X Y) (carrier X) (carrier Y)} [inst_4 : CategoryTheory.ConcreteCategory V F]
  (x : carrier (CategoryTheory.Subobject.underlying.obj (CategoryTheory.Limits.imageSubobject f))),
  (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.kernelSubobject g).arrow)
      ((CategoryTheory.ConcreteCategory.hom (imageToKernel f g w)) x) =
    (CategoryTheory.ConcreteCategory.hom (CategoryTheory.Limits.imageSubobject f).arrow) x

theorem factorThruImageSubobject_comp_imageToKernel E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImage f] (g : B ⟶ C) [inst_3 : CategoryTheory.Limits.HasKernel g]
  (w : CategoryTheory.CategoryStruct.comp f g = 0),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.factorThruImageSubobject f) (imageToKernel f g w) =
    CategoryTheory.Limits.factorThruKernelSubobject g f w

theorem imageToKernel_zero_left E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasZeroObject V]
  {w : CategoryTheory.CategoryStruct.comp 0 g = 0}, imageToKernel 0 g w = 0

theorem imageToKernel_zero_right E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImages V] {w : CategoryTheory.CategoryStruct.comp f 0 = 0},
  imageToKernel f 0 w =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.imageSubobject f).arrow
      (CategoryTheory.inv (CategoryTheory.Limits.kernelSubobject 0).arrow)

theorem imageToKernel_comp_right E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  {D : V} (h : C ⟶ D) (w : CategoryTheory.CategoryStruct.comp f g = 0),
  imageToKernel f (CategoryTheory.CategoryStruct.comp g h) ⋯ =
    CategoryTheory.CategoryStruct.comp (imageToKernel f g w)
      ((CategoryTheory.Limits.kernelSubobject g).ofLE
        (CategoryTheory.Limits.kernelSubobject (CategoryTheory.CategoryStruct.comp g h)) ⋯)

theorem imageToKernel_comp_left E1 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  {Z : V} (h : Z ⟶ A) (w : CategoryTheory.CategoryStruct.comp f g = 0),
  imageToKernel (CategoryTheory.CategoryStruct.comp h f) g ⋯ =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Limits.imageSubobject (CategoryTheory.CategoryStruct.comp h f)).ofLE
        (CategoryTheory.Limits.imageSubobject f) ⋯)
      (imageToKernel f g w)

theorem imageToKernel_comp_mono E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  {D : V} (h : C ⟶ D) [inst_4 : CategoryTheory.Mono h]
  (w : CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp g h) = 0),
  imageToKernel f (CategoryTheory.CategoryStruct.comp g h) w =
    CategoryTheory.CategoryStruct.comp (imageToKernel f g ⋯)
      ((CategoryTheory.Limits.kernelSubobject (CategoryTheory.CategoryStruct.comp g h)).isoOfEq
          (CategoryTheory.Limits.kernelSubobject g) ⋯).inv

theorem imageToKernel_epi_comp E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  {Z : V} (h : Z ⟶ A) [inst_4 : CategoryTheory.Epi h]
  (w : CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp h f) g = 0),
  imageToKernel (CategoryTheory.CategoryStruct.comp h f) g w =
    CategoryTheory.CategoryStruct.comp
      ((CategoryTheory.Limits.imageSubobject (CategoryTheory.CategoryStruct.comp h f)).ofLE
        (CategoryTheory.Limits.imageSubobject f) ⋯)
      (imageToKernel f g ⋯)

theorem imageToKernel_comp_hom_inv_comp E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasEqualizers V] [inst_3 : CategoryTheory.Limits.HasImages V]
  {Z : V} {i : B ≅ Z}
  (w :
    CategoryTheory.CategoryStruct.comp (CategoryTheory.CategoryStruct.comp f i.hom)
        (CategoryTheory.CategoryStruct.comp i.inv g) =
      0),
  imageToKernel (CategoryTheory.CategoryStruct.comp f i.hom) (CategoryTheory.CategoryStruct.comp i.inv g) w =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.imageSubobjectCompIso f i.hom).hom
      (CategoryTheory.CategoryStruct.comp (imageToKernel f g ⋯)
        (CategoryTheory.Limits.kernelSubobjectIsoComp i.inv g).inv)

instance imageToKernel_epi_of_zero_of_mono E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasZeroObject V]
  [CategoryTheory.Mono g], CategoryTheory.Epi (imageToKernel 0 g ⋯)

imageToKernel for A --0--> B --g--> C, where g is a mono is itself an epi (i.e. the sequence is exact at B).

instance imageToKernel_epi_of_epi_of_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) [inst_2 : CategoryTheory.Limits.HasImages V] [CategoryTheory.Epi f],
  CategoryTheory.Epi (imageToKernel f 0 ⋯)

imageToKernel for A --f--> B --0--> C, where g is an epi is itself an epi (i.e. the sequence is exact at B).

def imageToKernel' E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      {A B C : V} →
        (f : A ⟶ B) →
          (g : B ⟶ C) →
            [inst_2 : CategoryTheory.Limits.HasKernels V] →
              [inst_3 : CategoryTheory.Limits.HasImages V] →
                CategoryTheory.CategoryStruct.comp f g = 0 →
                  (CategoryTheory.Limits.image f ⟶ CategoryTheory.Limits.kernel g)

While imageToKernel f g w provides a morphism imageSubobject f ⟶ kernelSubobject g in terms of the subobject API, this variant provides a morphism image f ⟶ kernel g, which is sometimes more convenient.

theorem imageSubobjectIso_imageToKernel' E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  (w : CategoryTheory.CategoryStruct.comp f g = 0),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.imageSubobjectIso f).hom (imageToKernel' f g w) =
    CategoryTheory.CategoryStruct.comp (imageToKernel f g w) (CategoryTheory.Limits.kernelSubobjectIso g).hom

theorem imageToKernel'_kernelSubobjectIso E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] {A B C : V}
  (f : A ⟶ B) (g : B ⟶ C) [inst_2 : CategoryTheory.Limits.HasKernels V] [inst_3 : CategoryTheory.Limits.HasImages V]
  (w : CategoryTheory.CategoryStruct.comp f g = 0),
  CategoryTheory.CategoryStruct.comp (imageToKernel' f g w) (CategoryTheory.Limits.kernelSubobjectIso g).inv =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.imageSubobjectIso f).inv (imageToKernel f g w)