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

62 declarations. Mathlib docs · Source

theorem CategoryTheory.ShortComplex.mk.congr_simp E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {X₁ X₂ X₃ : C} (f f_1 : X₁ ⟶ X₂) (e_f : f = f_1) (g g_1 : X₂ ⟶ X₃) (e_g : g = g_1)
  (zero : CategoryTheory.CategoryStruct.comp f g = 0),
  { X₁ := X₁, X₂ := X₂, X₃ := X₃, f := f, g := g, zero := zero } =
    { X₁ := X₁, X₂ := X₂, X₃ := X₃, f := f_1, g := g_1, zero := ⋯ }

def CategoryTheory.ShortComplex.toComposableArrows E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      CategoryTheory.ShortComplex C → CategoryTheory.ComposableArrows C 2

The composable arrows associated to a short complex.

theorem CategoryTheory.ShortComplex.toComposableArrows_map E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ShortComplex C) {X Y : Fin (1 + 1 + 1)} (g : X ⟶ Y),
  S.toComposableArrows.map g =
    CategoryTheory.ComposableArrows.Precomp.map (CategoryTheory.ComposableArrows.mk₁ S.g) S.f X Y ⋯

theorem CategoryTheory.ShortComplex.toComposableArrows_obj E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ShortComplex C) (a : Fin (1 + 1 + 1)),
  S.toComposableArrows.obj a =
    CategoryTheory.ComposableArrows.Precomp.obj (CategoryTheory.ComposableArrows.mk₁ S.g) S.X₁ a

def CategoryTheory.ShortComplex.mapToComposableArrows E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {S₁ S₂ : CategoryTheory.ShortComplex C} → (S₁ ⟶ S₂) → (S₁.toComposableArrows ⟶ S₂.toComposableArrows)

A map of short complexes induces a map of composable arrows with the same data.

theorem CategoryTheory.ShortComplex.mapToComposableArrows_app_0 E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂),
  (CategoryTheory.ShortComplex.mapToComposableArrows φ).app 0 = φ.τ₁

theorem CategoryTheory.ShortComplex.mapToComposableArrows_app_1 E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂),
  (CategoryTheory.ShortComplex.mapToComposableArrows φ).app 1 = φ.τ₂

theorem CategoryTheory.ShortComplex.mapToComposableArrows_app_2 E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ S₂ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂),
  (CategoryTheory.ShortComplex.mapToComposableArrows φ).app 2 = φ.τ₃

theorem CategoryTheory.ShortComplex.mapToComposableArrows_id E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ : CategoryTheory.ShortComplex C},
  CategoryTheory.ShortComplex.mapToComposableArrows (CategoryTheory.CategoryStruct.id S₁) =
    CategoryTheory.CategoryStruct.id S₁.toComposableArrows

theorem CategoryTheory.ShortComplex.mapToComposableArrows_comp E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S₁ S₂ S₃ : CategoryTheory.ShortComplex C} (φ : S₁ ⟶ S₂) (ψ : S₂ ⟶ S₃),
  CategoryTheory.ShortComplex.mapToComposableArrows (CategoryTheory.CategoryStruct.comp φ ψ) =
    CategoryTheory.CategoryStruct.comp (CategoryTheory.ShortComplex.mapToComposableArrows φ)
      (CategoryTheory.ShortComplex.mapToComposableArrows ψ)

structure CategoryTheory.ComposableArrows.IsComplex E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [CategoryTheory.Limits.HasZeroMorphisms C] → {n : ℕ} → CategoryTheory.ComposableArrows C n → Prop

F : ComposableArrows C n is a complex if all compositions of two consecutive arrows are zero.

ctor CategoryTheory.ComposableArrows.IsComplex.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  (∀ (i : ℕ) (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.IsComplex._auto_1),
      CategoryTheory.CategoryStruct.comp (S.map' i (i + 1) ⋯ ⋯) (S.map' (i + 1) (i + 2) ⋯ hi) = 0) →
    S.IsComplex

theorem CategoryTheory.ComposableArrows.IsComplex.zero E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  S.IsComplex →
    ∀ (i : ℕ) (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.IsComplex._auto_1),
      CategoryTheory.CategoryStruct.comp (S.map' i (i + 1) ⋯ ⋯) (S.map' (i + 1) (i + 2) ⋯ hi) = 0

the composition of two consecutive arrows is zero

theorem CategoryTheory.ComposableArrows.IsComplex.zero_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  S.IsComplex →
    ∀ (i : ℕ) (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.IsComplex._auto_1) {Z : C}
      (h : S.obj ⟨i + 2, ⋯⟩ ⟶ Z),
      CategoryTheory.CategoryStruct.comp (S.map' i (i + 1) ⋯ ⋯)
          (CategoryTheory.CategoryStruct.comp (S.map' (i + 1) (i + 2) ⋯ hi) h) =
        CategoryTheory.CategoryStruct.comp 0 h

the composition of two consecutive arrows is zero

theorem CategoryTheory.ComposableArrows.IsComplex.zero'_assoc E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  S.IsComplex →
    ∀ (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_1)
      (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_3)
      (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_5) {Z : C} (h : S.obj ⟨k, ⋯⟩ ⟶ Z),
      CategoryTheory.CategoryStruct.comp (S.map' i j ⋯ ⋯) (CategoryTheory.CategoryStruct.comp (S.map' j k ⋯ hk) h) =
        CategoryTheory.CategoryStruct.comp 0 h

theorem CategoryTheory.ComposableArrows.IsComplex.zero' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  S.IsComplex →
    ∀ (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_1)
      (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_3)
      (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.IsComplex.zero'._auto_5),
      CategoryTheory.CategoryStruct.comp (S.map' i j ⋯ ⋯) (S.map' j k ⋯ hk) = 0

theorem CategoryTheory.ComposableArrows.isComplex_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂), S₁.IsComplex → S₂.IsComplex

theorem CategoryTheory.ComposableArrows.isComplex_iff_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂), S₁.IsComplex ↔ S₂.IsComplex

theorem CategoryTheory.ComposableArrows.isComplex₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 0), S.IsComplex

theorem CategoryTheory.ComposableArrows.isComplex₁ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 1), S.IsComplex

abbrev CategoryTheory.ComposableArrows.sc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        (S : CategoryTheory.ComposableArrows C n) →
          S.IsComplex →
            (i j k : ℕ) →
              autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'._auto_1 →
                autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'._auto_3 →
                  autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'._auto_5 → CategoryTheory.ShortComplex C

The short complex consisting of maps S.map' i j and S.map' j k when we know that S : ComposableArrows C n satisfies S.IsComplex.

abbrev CategoryTheory.ComposableArrows.sc E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        (S : CategoryTheory.ComposableArrows C n) →
          S.IsComplex →
            (i : ℕ) → autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.sc._auto_1 → CategoryTheory.ShortComplex C

The short complex consisting of maps S.map' i (i + 1) and S.map' (i + 1) (i + 2) when we know that S : ComposableArrows C n satisfies S.IsComplex.

structure CategoryTheory.ComposableArrows.Exact E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [CategoryTheory.Limits.HasZeroMorphisms C] → {n : ℕ} → CategoryTheory.ComposableArrows C n → Prop

F : ComposableArrows C n is exact if it is a complex and that all short complexes consisting of two consecutive arrows are exact.

theorem CategoryTheory.ComposableArrows.Exact.toIsComplex E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n}, S.Exact → S.IsComplex

ctor CategoryTheory.ComposableArrows.Exact.mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n} (toIsComplex : S.IsComplex),
  (∀ (i : ℕ) (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.Exact._auto_1),
      (S.sc toIsComplex i hi).Exact) →
    S.Exact

theorem CategoryTheory.ComposableArrows.Exact.exact E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n} (self : S.Exact) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.Exact._auto_1), (S.sc ⋯ i hi).Exact

theorem CategoryTheory.ComposableArrows.Exact.exact' E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C n} (hS : S.Exact) (i j k : ℕ)
  (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.Exact.exact'._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.Exact.exact'._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.Exact.exact'._auto_5), (S.sc' ⋯ i j k hij hjk hk).Exact

abbrev CategoryTheory.ComposableArrows.Exact.sc' E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S : CategoryTheory.ComposableArrows C n} →
          S.Exact →
            (i j k : ℕ) →
              autoParam (i + 1 = j) CategoryTheory.ComposableArrows.Exact.sc'._auto_1 →
                autoParam (j + 1 = k) CategoryTheory.ComposableArrows.Exact.sc'._auto_3 →
                  autoParam (k ≤ n) CategoryTheory.ComposableArrows.Exact.sc'._auto_5 → CategoryTheory.ShortComplex C

The (exact) short complex consisting of maps S.map' i j and S.map' j k when we know that S : ComposableArrows C n is exact.

abbrev CategoryTheory.ComposableArrows.Exact.sc E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S : CategoryTheory.ComposableArrows C n} →
          S.Exact →
            (i : ℕ) →
              autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.Exact.sc._auto_1 → CategoryTheory.ShortComplex C

The short complex consisting of maps S.map' i (i + 1) and S.map' (i + 1) (i + 2) when we know that S : ComposableArrows C n is exact.

def CategoryTheory.ComposableArrows.sc'Map E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S₁ S₂ : CategoryTheory.ComposableArrows C n} →
          (S₁ ⟶ S₂) →
            (h₁ : S₁.IsComplex) →
              (h₂ : S₂.IsComplex) →
                (i j k : ℕ) →
                  (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'Map._auto_1) →
                    (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'Map._auto_3) →
                      (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'Map._auto_5) →
                        S₁.sc' h₁ i j k hij hjk hk ⟶ S₂.sc' h₂ i j k hij hjk hk

Functoriality maps for ComposableArrows.sc'.

theorem CategoryTheory.ComposableArrows.sc'Map_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex)
  (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'Map._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'Map._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'Map._auto_5),
  (CategoryTheory.ComposableArrows.sc'Map φ h₁ h₂ i j k hij hjk hk).τ₁ = φ.app ⟨i, ⋯⟩

theorem CategoryTheory.ComposableArrows.sc'Map_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex)
  (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'Map._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'Map._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'Map._auto_5),
  (CategoryTheory.ComposableArrows.sc'Map φ h₁ h₂ i j k hij hjk hk).τ₃ = φ.app ⟨k, ⋯⟩

theorem CategoryTheory.ComposableArrows.sc'Map_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex)
  (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'Map._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'Map._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'Map._auto_5),
  (CategoryTheory.ComposableArrows.sc'Map φ h₁ h₂ i j k hij hjk hk).τ₂ = φ.app ⟨j, ⋯⟩

def CategoryTheory.ComposableArrows.scMap E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S₁ S₂ : CategoryTheory.ComposableArrows C n} →
          (S₁ ⟶ S₂) →
            (h₁ : S₁.IsComplex) →
              (h₂ : S₂.IsComplex) →
                (i : ℕ) →
                  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMap._auto_1) →
                    S₁.sc h₁ i hi ⟶ S₂.sc h₂ i hi

Functoriality maps for ComposableArrows.sc.

theorem CategoryTheory.ComposableArrows.scMap_τ₁ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMap._auto_1),
  (CategoryTheory.ComposableArrows.scMap φ h₁ h₂ i hi).τ₁ = φ.app ⟨i, ⋯⟩

theorem CategoryTheory.ComposableArrows.scMap_τ₃ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMap._auto_1),
  (CategoryTheory.ComposableArrows.scMap φ h₁ h₂ i hi).τ₃ = φ.app ⟨i + 2, ⋯⟩

theorem CategoryTheory.ComposableArrows.scMap_τ₂ E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (φ : S₁ ⟶ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMap._auto_1),
  (CategoryTheory.ComposableArrows.scMap φ h₁ h₂ i hi).τ₂ = φ.app ⟨i + 1, ⋯⟩

def CategoryTheory.ComposableArrows.sc'MapIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S₁ S₂ : CategoryTheory.ComposableArrows C n} →
          (S₁ ≅ S₂) →
            (h₁ : S₁.IsComplex) →
              (h₂ : S₂.IsComplex) →
                (i j k : ℕ) →
                  (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'MapIso._auto_1) →
                    (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'MapIso._auto_3) →
                      (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'MapIso._auto_5) →
                        S₁.sc' h₁ i j k hij hjk hk ≅ S₂.sc' h₂ i j k hij hjk hk

The isomorphism S₁.sc' _ i j k ≅ S₂.sc' _ i j k induced by an isomorphism S₁ ≅ S₂ in ComposableArrows C n.

theorem CategoryTheory.ComposableArrows.sc'MapIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex)
  (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'MapIso._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'MapIso._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'MapIso._auto_5),
  (CategoryTheory.ComposableArrows.sc'MapIso e h₁ h₂ i j k hij hjk hk).inv =
    CategoryTheory.ComposableArrows.sc'Map e.inv h₂ h₁ i j k hij hjk hk

theorem CategoryTheory.ComposableArrows.sc'MapIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex)
  (i j k : ℕ) (hij : autoParam (i + 1 = j) CategoryTheory.ComposableArrows.sc'MapIso._auto_1)
  (hjk : autoParam (j + 1 = k) CategoryTheory.ComposableArrows.sc'MapIso._auto_3)
  (hk : autoParam (k ≤ n) CategoryTheory.ComposableArrows.sc'MapIso._auto_5),
  (CategoryTheory.ComposableArrows.sc'MapIso e h₁ h₂ i j k hij hjk hk).hom =
    CategoryTheory.ComposableArrows.sc'Map e.hom h₁ h₂ i j k hij hjk hk

def CategoryTheory.ComposableArrows.scMapIso E1 #

{C : Type u_1} →
  [inst : CategoryTheory.Category.{v_1, u_1} C] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C] →
      {n : ℕ} →
        {S₁ S₂ : CategoryTheory.ComposableArrows C n} →
          (S₁ ≅ S₂) →
            (h₁ : S₁.IsComplex) →
              (h₂ : S₂.IsComplex) →
                (i : ℕ) →
                  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMapIso._auto_1) →
                    S₁.sc h₁ i hi ≅ S₂.sc h₂ i hi

The isomorphism S₁.sc _ i ≅ S₂.sc _ i induced by an isomorphism S₁ ≅ S₂ in ComposableArrows C n.

theorem CategoryTheory.ComposableArrows.scMapIso_inv E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMapIso._auto_1),
  (CategoryTheory.ComposableArrows.scMapIso e h₁ h₂ i hi).inv = CategoryTheory.ComposableArrows.scMap e.inv h₂ h₁ i hi

theorem CategoryTheory.ComposableArrows.scMapIso_hom E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂) (h₁ : S₁.IsComplex) (h₂ : S₂.IsComplex) (i : ℕ)
  (hi : autoParam (i + 2 ≤ n) CategoryTheory.ComposableArrows.scMapIso._auto_1),
  (CategoryTheory.ComposableArrows.scMapIso e h₁ h₂ i hi).hom = CategoryTheory.ComposableArrows.scMap e.hom h₁ h₂ i hi

theorem CategoryTheory.ComposableArrows.exact_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂), S₁.Exact → S₂.Exact

theorem CategoryTheory.ComposableArrows.exact_iff_of_iso E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S₁ S₂ : CategoryTheory.ComposableArrows C n} (e : S₁ ≅ S₂), S₁.Exact ↔ S₂.Exact

theorem CategoryTheory.ComposableArrows.exact₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 0), S.Exact

theorem CategoryTheory.ComposableArrows.exact₁ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 1), S.Exact

theorem CategoryTheory.ComposableArrows.isComplex₂_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 2),
  S.IsComplex ↔
    CategoryTheory.CategoryStruct.comp
        (S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4)
        (S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_5) =
      0

theorem CategoryTheory.ComposableArrows.isComplex₂_mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 2),
  CategoryTheory.CategoryStruct.comp
        (S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4)
        (S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_5) =
      0 →
    S.IsComplex

theorem CategoryTheory.ShortComplex.isComplex_toComposableArrows E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ShortComplex C), S.toComposableArrows.IsComplex

theorem CategoryTheory.ComposableArrows.exact₂_iff E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 2) (hS : S.IsComplex),
  S.Exact ↔
    (S.sc' hS 0 1 2 CategoryTheory.ComposableArrows.exact₂_iff._proof_2
        CategoryTheory.ComposableArrows.exact₂_iff._proof_4
        CategoryTheory.ComposableArrows.isComplex₂_iff._proof_5).Exact

theorem CategoryTheory.ComposableArrows.exact₂_mk E0 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ComposableArrows C 2)
  (w :
    CategoryTheory.CategoryStruct.comp
        (S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4)
        (S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4
          CategoryTheory.ComposableArrows.isComplex₂_iff._proof_5) =
      0),
  { X₁ := S.obj ⟨0, ⋯⟩, X₂ := S.obj ⟨1, ⋯⟩, X₃ := S.obj ⟨2, ⋯⟩,
        f :=
          S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2
            CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4,
        g :=
          S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4
            CategoryTheory.ComposableArrows.isComplex₂_iff._proof_5,
        zero := w }.Exact →
    S.Exact

theorem CategoryTheory.ShortComplex.Exact.exact_toComposableArrows E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {S : CategoryTheory.ShortComplex C}, S.Exact → S.toComposableArrows.Exact

theorem CategoryTheory.ShortComplex.exact_iff_exact_toComposableArrows E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  (S : CategoryTheory.ShortComplex C), S.Exact ↔ S.toComposableArrows.Exact

theorem CategoryTheory.ComposableArrows.exact_iff_δ₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} (S : CategoryTheory.ComposableArrows C (n + 2)),
  S.Exact ↔
    (CategoryTheory.ComposableArrows.mk₂ (S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2 ⋯)
          (S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4 ⋯)).Exact ∧
      S.δ₀.Exact

theorem CategoryTheory.ComposableArrows.Exact.δ₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C (n + 2)}, S.Exact → S.δ₀.Exact

theorem CategoryTheory.ComposableArrows.exact_of_δ₀ E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C (n + 2)},
  (CategoryTheory.ComposableArrows.mk₂ (S.map' 0 1 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_2 ⋯)
        (S.map' 1 2 CategoryTheory.ComposableArrows.isComplex₂_iff._proof_4 ⋯)).Exact →
    S.δ₀.Exact → S.Exact

If S : ComposableArrows C (n + 2) is such that the first two arrows form an exact sequence and that the tail S.δ₀ is exact, then S is also exact. See ShortComplex.SnakeInput.snake_lemma in Algebra.Homology.ShortComplex.SnakeLemma for a use of this lemma.

theorem CategoryTheory.ComposableArrows.exact_iff_δlast E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} (S : CategoryTheory.ComposableArrows C (n + 2)),
  S.Exact ↔
    S.δlast.Exact ∧ (CategoryTheory.ComposableArrows.mk₂ (S.map' n (n + 1) ⋯ ⋯) (S.map' (n + 1) (n + 2) ⋯ ⋯)).Exact

theorem CategoryTheory.ComposableArrows.Exact.δlast E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} {S : CategoryTheory.ComposableArrows C (n + 2)}, S.Exact → S.δlast.Exact

theorem CategoryTheory.ComposableArrows.exact_of_δlast E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n : ℕ} (S : CategoryTheory.ComposableArrows C (n + 2)),
  S.δlast.Exact →
    (CategoryTheory.ComposableArrows.mk₂ (S.map' n (n + 1) ⋯ ⋯) (S.map' (n + 1) (n + 2) ⋯ ⋯)).Exact → S.Exact

theorem CategoryTheory.ComposableArrows.natAddLEFunctor_obj_exact E1 #

∀ {C : Type u_1} [inst : CategoryTheory.Category.{v_1, u_1} C] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms C]
  {n k l : ℕ} (h : k + l ≤ n) {R : CategoryTheory.ComposableArrows C n},
  R.Exact → ((CategoryTheory.ComposableArrows.natAddLEFunctor h).obj R).Exact

theorem CategoryTheory.ComposableArrows.Exact.isIso_map' E1 #

∀ {C : Type u_2} [inst : CategoryTheory.Category.{v_2, u_2} C] [inst_1 : CategoryTheory.Preadditive C]
  [CategoryTheory.Balanced C] {n : ℕ} {S : CategoryTheory.ComposableArrows C n},
  S.Exact →
    ∀ (k : ℕ) (hk : k + 3 ≤ n),
      S.map' k (k + 1) ⋯ ⋯ = 0 → S.map' (k + 2) (k + 3) ⋯ hk = 0 → CategoryTheory.IsIso (S.map' (k + 1) (k + 2) ⋯ ⋯)