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 / V25. Higher structures in categories

Mathlib.CategoryTheory.Abelian.DiagramLemmas.KernelCokernelComp

61 declarations. Mathlib docs · Source

Long exact sequence for the kernel and cokernel of a composition

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms in an abelian category, we construct a long exact sequence: 0 ⟶ ker f ⟶ ker (f ≫ g) ⟶ ker g ⟶ coker f ⟶ coker (f ≫ g) ⟶ coker g ⟶ 0.

This is obtained by applying the snake lemma to the following morphism of exact sequences, where the rows are the obvious split exact sequences

0 ⟶ X ⟶ X ⊞ Y ⟶ Y ⟶ 0
    |f    |φ    |g
    v     v     v
0 ⟶ Y ⟶ Y ⊞ Z ⟶ Z ⟶ 0

and φ is given by the following matrix:

(f  -𝟙 Y)
(0     g)

Indeed the snake lemma gives an exact sequence involving the kernels and cokernels of the vertical maps: in order to get the expected long exact sequence, it suffices to obtain isomorphisms ker φ ≅ ker (f ≫ g) and coker φ ≅ coker (f ≫ g).

def CategoryTheory.kernelCokernelCompSequence.ι E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} →
        (f : X ⟶ Y) → (g : Y ⟶ Z) → CategoryTheory.Limits.kernel (CategoryTheory.CategoryStruct.comp f g) ⟶ X ⊞ Y

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, this is the morphism kernel (f ≫ g) ⟶ X ⊞ Y which "sends x to (x, f(x))".

theorem CategoryTheory.kernelCokernelCompSequence.ι_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : X ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι (CategoryTheory.CategoryStruct.comp f g)) h

theorem CategoryTheory.kernelCokernelCompSequence.ι_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      CategoryTheory.Limits.biprod.fst =
    CategoryTheory.Limits.kernel.ι (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.kernelCokernelCompSequence.ι_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      CategoryTheory.Limits.biprod.snd =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι (CategoryTheory.CategoryStruct.comp f g)) f

theorem CategoryTheory.kernelCokernelCompSequence.ι_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι (CategoryTheory.CategoryStruct.comp f g))
      (CategoryTheory.CategoryStruct.comp f h)

def CategoryTheory.kernelCokernelCompSequence.φ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] → {X Y Z : C} → (X ⟶ Y) → (Y ⟶ Z) → (X ⊞ Y ⟶ Y ⊞ Z)

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, this is the morphism X ⊞ Y ⟶ Y ⊞ Z given by the matrix

(f  -𝟙 Y)
(0     g)

theorem CategoryTheory.kernelCokernelCompSequence.inl_φ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
      (CategoryTheory.kernelCokernelCompSequence.φ f g) =
    CategoryTheory.CategoryStruct.comp f CategoryTheory.Limits.biprod.inl

theorem CategoryTheory.kernelCokernelCompSequence.inl_φ_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : Y ⊞ Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g) h) =
    CategoryTheory.CategoryStruct.comp f (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl h)

theorem CategoryTheory.kernelCokernelCompSequence.inr_φ_fst_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : Y ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
        (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.fst h)) =
    CategoryTheory.CategoryStruct.comp (-CategoryTheory.CategoryStruct.id Y) h

theorem CategoryTheory.kernelCokernelCompSequence.inr_φ_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
        CategoryTheory.Limits.biprod.fst) =
    -CategoryTheory.CategoryStruct.id Y

theorem CategoryTheory.kernelCokernelCompSequence.φ_snd_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
      (CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd h) =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd (CategoryTheory.CategoryStruct.comp g h)

theorem CategoryTheory.kernelCokernelCompSequence.φ_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
      CategoryTheory.Limits.biprod.snd =
    CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.snd g

def CategoryTheory.kernelCokernelCompSequence.π E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} →
        (f : X ⟶ Y) → (g : Y ⟶ Z) → Y ⊞ Z ⟶ CategoryTheory.Limits.cokernel (CategoryTheory.CategoryStruct.comp f g)

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, this is the morphism Y ⊞ Z ⟶ cokernel (f ≫ g) which "sends (y, z) to [g(y)] + [z]".

theorem CategoryTheory.kernelCokernelCompSequence.inl_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : CategoryTheory.Limits.cokernel (CategoryTheory.CategoryStruct.comp f g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.π f g) h) =
    CategoryTheory.CategoryStruct.comp g
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.cokernel.π (CategoryTheory.CategoryStruct.comp f g)) h)

theorem CategoryTheory.kernelCokernelCompSequence.inl_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inl
      (CategoryTheory.kernelCokernelCompSequence.π f g) =
    CategoryTheory.CategoryStruct.comp g (CategoryTheory.Limits.cokernel.π (CategoryTheory.CategoryStruct.comp f g))

theorem CategoryTheory.kernelCokernelCompSequence.inr_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : CategoryTheory.Limits.cokernel (CategoryTheory.CategoryStruct.comp f g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.π f g) h) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.cokernel.π (CategoryTheory.CategoryStruct.comp f g)) h

theorem CategoryTheory.kernelCokernelCompSequence.inr_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp CategoryTheory.Limits.biprod.inr
      (CategoryTheory.kernelCokernelCompSequence.π f g) =
    CategoryTheory.Limits.cokernel.π (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.kernelCokernelCompSequence.ι_φ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      (CategoryTheory.kernelCokernelCompSequence.φ f g) =
    0

theorem CategoryTheory.kernelCokernelCompSequence.ι_φ_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : Y ⊞ Z ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.ι f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g) h) =
    CategoryTheory.CategoryStruct.comp 0 h

theorem CategoryTheory.kernelCokernelCompSequence.φ_π E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
      (CategoryTheory.kernelCokernelCompSequence.π f g) =
    0

theorem CategoryTheory.kernelCokernelCompSequence.φ_π_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z) {Z_1 : C} (h : CategoryTheory.Limits.cokernel (CategoryTheory.CategoryStruct.comp f g) ⟶ Z_1),
  CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.φ f g)
      (CategoryTheory.CategoryStruct.comp (CategoryTheory.kernelCokernelCompSequence.π f g) h) =
    CategoryTheory.CategoryStruct.comp 0 h

instance CategoryTheory.kernelCokernelCompSequence.instMonoι E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), CategoryTheory.Mono (CategoryTheory.kernelCokernelCompSequence.ι f g)

instance CategoryTheory.kernelCokernelCompSequence.instEpiπ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), CategoryTheory.Epi (CategoryTheory.kernelCokernelCompSequence.π f g)

def CategoryTheory.kernelCokernelCompSequence.isLimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} →
        (f : X ⟶ Y) →
          (g : Y ⟶ Z) →
            CategoryTheory.Limits.IsLimit
              (CategoryTheory.Limits.KernelFork.ofι (CategoryTheory.kernelCokernelCompSequence.ι f g) ⋯)

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, then the kernel of φ f g : X ⊞ Y ⟶ Y ⊞ Z identifies to kernel (f ≫ g).

def CategoryTheory.kernelCokernelCompSequence.isColimit E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} →
        (f : X ⟶ Y) →
          (g : Y ⟶ Z) →
            CategoryTheory.Limits.IsColimit
              (CategoryTheory.Limits.CokernelCofork.ofπ (CategoryTheory.kernelCokernelCompSequence.π f g) ⋯)

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, then the cokernel of φ f g : X ⊞ Y ⟶ Y ⊞ Z identifies to cokernel (f ≫ g).

def CategoryTheory.kernelCokernelCompSequence.snakeInput E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] → {X Y Z : C} → (X ⟶ Y) → (Y ⟶ Z) → CategoryTheory.ShortComplex.SnakeInput C

The "snake input" which gives the exact sequence 0 ⟶ ker f ⟶ ker (f ≫ g) ⟶ ker g ⟶ coker f ⟶ coker (f ≫ g) ⟶ coker g ⟶ 0, see kernelCokernelCompSequence_exact.

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₀₁_τ₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₀₁.τ₂ = CategoryTheory.kernelCokernelCompSequence.ι f g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₀_X₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₀.X₁ = CategoryTheory.Limits.kernel f

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₀_X₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₀.X₂ =
    CategoryTheory.Limits.kernel (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₃_g E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₃.g =
    CategoryTheory.Limits.cokernel.map (CategoryTheory.CategoryStruct.comp f g) g f (CategoryTheory.CategoryStruct.id Z)
      ⋯

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₂_X₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₂.X₃ = Z

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₂₃_τ₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₂₃.τ₃ = CategoryTheory.Limits.cokernel.π g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₁_g E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₁.g = CategoryTheory.Limits.biprod.snd

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₁_X₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₁.X₃ = Y

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₃_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₃.f =
    CategoryTheory.Limits.cokernel.map f (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.id X) g
      ⋯

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₂₃_τ₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₂₃.τ₂ = CategoryTheory.kernelCokernelCompSequence.π f g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₁₂_τ₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₁₂.τ₂ = CategoryTheory.kernelCokernelCompSequence.φ f g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₀_g E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₀.g =
    CategoryTheory.Limits.kernel.map (CategoryTheory.CategoryStruct.comp f g) g f (CategoryTheory.CategoryStruct.id Z) ⋯

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₂_X₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₂.X₂ = (Y ⊞ Z)

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₁₂_τ₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₁₂.τ₃ = g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₃_X₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₃.X₃ = CategoryTheory.Limits.cokernel g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₁_X₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₁.X₂ = (X ⊞ Y)

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₂_g E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₂.g = CategoryTheory.Limits.biprod.snd

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₁_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₁.f = CategoryTheory.Limits.biprod.inl

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₀₁_τ₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₀₁.τ₁ = CategoryTheory.Limits.kernel.ι f

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₀₁_τ₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₀₁.τ₃ = CategoryTheory.Limits.kernel.ι g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₃_X₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₃.X₁ = CategoryTheory.Limits.cokernel f

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₀_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₀.f =
    CategoryTheory.Limits.kernel.map f (CategoryTheory.CategoryStruct.comp f g) (CategoryTheory.CategoryStruct.id X) g ⋯

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₁_X₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₁.X₁ = X

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₂₃_τ₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₂₃.τ₁ = CategoryTheory.Limits.cokernel.π f

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_v₁₂_τ₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).v₁₂.τ₁ = f

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₀_X₃ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₀.X₃ = CategoryTheory.Limits.kernel g

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₂_X₁ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₂.X₁ = Y

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₃_X₂ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₃.X₂ =
    CategoryTheory.Limits.cokernel (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.kernelCokernelCompSequence.snakeInput_L₂_f E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence.snakeInput f g).L₂.f = CategoryTheory.Limits.biprod.inl

def CategoryTheory.kernelCokernelCompSequence.δ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      {X Y Z : C} → (f : X ⟶ Y) → (g : Y ⟶ Z) → CategoryTheory.Limits.kernel g ⟶ CategoryTheory.Limits.cokernel f

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms, this is the connecting homomorphism kernel g ⟶ cokernel f.

theorem CategoryTheory.kernelCokernelCompSequence.δ_fac E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.kernelCokernelCompSequence.δ f g =
    -CategoryTheory.CategoryStruct.comp (CategoryTheory.Limits.kernel.ι g) (CategoryTheory.Limits.cokernel.π f)

abbrev CategoryTheory.kernelCokernelCompSequence E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [CategoryTheory.Abelian C] → {X Y Z : C} → (X ⟶ Y) → (Y ⟶ Z) → CategoryTheory.ComposableArrows C 5

If f : X ⟶ Y and g : Y ⟶ Z are composable morphisms in an abelian category, this is the long exact sequence 0 ⟶ ker f ⟶ ker (f ≫ g) ⟶ ker g ⟶ coker f ⟶ coker (f ≫ g) ⟶ coker g ⟶ 0.

instance CategoryTheory.instMonoMap'KernelCokernelCompSequenceOfNatNat E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.Mono
    ((CategoryTheory.kernelCokernelCompSequence f g).map' 0 1
      CategoryTheory.instMonoMap'KernelCokernelCompSequenceOfNatNat._proof_2
      CategoryTheory.instMonoMap'KernelCokernelCompSequenceOfNatNat._proof_4)

instance CategoryTheory.instEpiMap'KernelCokernelCompSequenceOfNatNat E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z),
  CategoryTheory.Epi
    ((CategoryTheory.kernelCokernelCompSequence f g).map' 4 5
      CategoryTheory.instEpiMap'KernelCokernelCompSequenceOfNatNat._proof_2
      CategoryTheory.instEpiMap'KernelCokernelCompSequenceOfNatNat._proof_3)

theorem CategoryTheory.kernelCokernelCompSequence_exact E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] {X Y Z : C} (f : X ⟶ Y)
  (g : Y ⟶ Z), (CategoryTheory.kernelCokernelCompSequence f g).Exact