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

43 declarations. Mathlib docs · Source

Augmentation and truncation of ℕ-indexed (co)chain complexes.

theorem CochainComplex.augment.match_1.congr_eq_3 E1 #

∀ (motive : ℕ → ℕ → Sort u_1) (x x_1 : ℕ) (h_1 : Unit → motive 0 1) (h_2 : (i j : ℕ) → motive i.succ j.succ)
  (h_3 : (x x_2 : ℕ) → motive x x_2) (x_2 x_3 : ℕ),
  x = x_2 →
    x_1 = x_3 →
      (x_2 = 0 → x_3 = 1 → False) →
        (∀ (i j : ℕ), x_2 = i.succ → x_3 = j.succ → False) →
          (match x, x_1 with
            | 0, 1 => h_1 ()
            | i.succ, j.succ => h_2 i j
            | x, x_6 => h_3 x x_6) ≍
            h_3 x_2 x_3

theorem ChainComplex.augment.match_3.congr_eq_2 E1 #

∀ (motive : ℕ → ℕ → Sort u_1) (x x_1 : ℕ) (h_1 : Unit → motive 1 0) (h_2 : (i j : ℕ) → motive i.succ j.succ)
  (h_3 : (x x_2 : ℕ) → motive x x_2) (i j : ℕ),
  x = i.succ →
    x_1 = j.succ →
      (match x, x_1 with
        | 1, 0 => h_1 ()
        | i.succ, j.succ => h_2 i j
        | x, x_2 => h_3 x x_2) ≍
        h_2 i j

theorem ChainComplex.augment.match_3.congr_eq_3 E1 #

∀ (motive : ℕ → ℕ → Sort u_1) (x x_1 : ℕ) (h_1 : Unit → motive 1 0) (h_2 : (i j : ℕ) → motive i.succ j.succ)
  (h_3 : (x x_2 : ℕ) → motive x x_2) (x_2 x_3 : ℕ),
  x = x_2 →
    x_1 = x_3 →
      (x_2 = 1 → x_3 = 0 → False) →
        (∀ (i j : ℕ), x_2 = i.succ → x_3 = j.succ → False) →
          (match x, x_1 with
            | 1, 0 => h_1 ()
            | i.succ, j.succ => h_2 i j
            | x, x_6 => h_3 x x_6) ≍
            h_3 x_2 x_3

def ChainComplex.truncate E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] → CategoryTheory.Functor (ChainComplex V ℕ) (ChainComplex V ℕ)

The truncation of an ℕ-indexed chain complex, deleting the object at 0 and shifting everything else down.

theorem ChainComplex.truncate_map_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  {X Y : ChainComplex V ℕ} (f : X ⟶ Y) (i : ℕ), (ChainComplex.truncate.map f).f i = f.f (i + 1)

theorem ChainComplex.truncate_obj_d E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) (i j : ℕ), (ChainComplex.truncate.obj C).d i j = C.d (i + 1) (j + 1)

theorem ChainComplex.truncate_obj_X E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) (i : ℕ), (ChainComplex.truncate.obj C).X i = C.X (i + 1)

def ChainComplex.truncateTo E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject V] →
      [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] →
        (C : ChainComplex V ℕ) → ChainComplex.truncate.obj C ⟶ (ChainComplex.single₀ V).obj (C.X 0)

There is a canonical chain map from the truncation of a chain map C to the "single object" chain complex consisting of the truncated object C.X 0 in degree 0. The components of this chain map are C.d 1 0 in degree 0, and zero otherwise.

def ChainComplex.augment E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : ChainComplex V ℕ) →
        {X : V} → (f : C.X 0 ⟶ X) → CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0 → ChainComplex V ℕ

We can "augment" a chain complex by inserting an arbitrary object in degree zero (shifting everything else up), along with a suitable differential.

theorem ChainComplex.augment_X_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0),
  (C.augment f w).X 0 = X

theorem ChainComplex.augment_X_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0) (i : ℕ),
  (C.augment f w).X (i + 1) = C.X i

theorem ChainComplex.augment_d_one_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0),
  (C.augment f w).d 1 0 = f

theorem ChainComplex.augment_d_succ_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0) (i j : ℕ),
  (C.augment f w).d (i + 1) (j + 1) = C.d i j

def ChainComplex.truncateAugment E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : ChainComplex V ℕ) →
        {X : V} →
          (f : C.X 0 ⟶ X) →
            (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0) → ChainComplex.truncate.obj (C.augment f w) ≅ C

Truncating an augmented chain complex is isomorphic (with components the identity) to the original complex.

theorem ChainComplex.truncateAugment_hom_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0) (i : ℕ),
  (C.truncateAugment f w).hom.f i = CategoryTheory.CategoryStruct.id (C.X i)

theorem ChainComplex.truncateAugment_inv_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) {X : V} (f : C.X 0 ⟶ X) (w : CategoryTheory.CategoryStruct.comp (C.d 1 0) f = 0) (i : ℕ),
  (C.truncateAugment f w).inv.f i = CategoryTheory.CategoryStruct.id ((ChainComplex.truncate.obj (C.augment f w)).X i)

theorem ChainComplex.chainComplex_d_succ_succ_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) (i : ℕ), C.d (i + 2) 0 = 0

def ChainComplex.augmentTruncate E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : ChainComplex V ℕ) → (ChainComplex.truncate.obj C).augment (C.d 1 0) ⋯ ≅ C

Augmenting a truncated complex with the original object and morphism is isomorphic (with components the identity) to the original complex.

theorem ChainComplex.augmentTruncate_hom_f_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ), C.augmentTruncate.hom.f 0 = CategoryTheory.CategoryStruct.id (C.X 0)

theorem ChainComplex.augmentTruncate_hom_f_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) (i : ℕ), C.augmentTruncate.hom.f (i + 1) = CategoryTheory.CategoryStruct.id (C.X (i + 1))

theorem ChainComplex.augmentTruncate_inv_f_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ), C.augmentTruncate.inv.f 0 = CategoryTheory.CategoryStruct.id (C.X 0)

theorem ChainComplex.augmentTruncate_inv_f_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : ChainComplex V ℕ) (i : ℕ), C.augmentTruncate.inv.f (i + 1) = CategoryTheory.CategoryStruct.id (C.X (i + 1))

def ChainComplex.toSingle₀AsComplex E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      [inst_2 : CategoryTheory.Limits.HasZeroObject V] →
        (C : ChainComplex V ℕ) → (X : V) → (C ⟶ (ChainComplex.single₀ V).obj X) → ChainComplex V ℕ

A chain map from a chain complex to a single object chain complex in degree zero can be reinterpreted as a chain complex.

This is the inverse construction of truncateTo.

def CochainComplex.truncate E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      CategoryTheory.Functor (CochainComplex V ℕ) (CochainComplex V ℕ)

The truncation of an ℕ-indexed cochain complex, deleting the object at 0 and shifting everything else down.

theorem CochainComplex.truncate_obj_X E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) (i : ℕ), (CochainComplex.truncate.obj C).X i = C.X (i + 1)

theorem CochainComplex.truncate_map_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  {X Y : CochainComplex V ℕ} (f : X ⟶ Y) (i : ℕ), (CochainComplex.truncate.map f).f i = f.f (i + 1)

theorem CochainComplex.truncate_obj_d E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) (i j : ℕ), (CochainComplex.truncate.obj C).d i j = C.d (i + 1) (j + 1)

def CochainComplex.toTruncate E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroObject V] →
      [inst_2 : CategoryTheory.Limits.HasZeroMorphisms V] →
        (C : CochainComplex V ℕ) → (CochainComplex.single₀ V).obj (C.X 0) ⟶ CochainComplex.truncate.obj C

There is a canonical chain map from the truncation of a cochain complex C to the "single object" cochain complex consisting of the truncated object C.X 0 in degree 0. The components of this chain map are C.d 0 1 in degree 0, and zero otherwise.

def CochainComplex.augment E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : CochainComplex V ℕ) →
        {X : V} → (f : X ⟶ C.X 0) → CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0 → CochainComplex V ℕ

We can "augment" a cochain complex by inserting an arbitrary object in degree zero (shifting everything else up), along with a suitable differential.

theorem CochainComplex.augment_X_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0),
  (C.augment f w).X 0 = X

theorem CochainComplex.augment_X_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0) (i : ℕ),
  (C.augment f w).X (i + 1) = C.X i

theorem CochainComplex.augment_d_zero_one E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0),
  (C.augment f w).d 0 1 = f

theorem CochainComplex.augment_d_succ_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0) (i j : ℕ),
  (C.augment f w).d (i + 1) (j + 1) = C.d i j

def CochainComplex.truncateAugment E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : CochainComplex V ℕ) →
        {X : V} →
          (f : X ⟶ C.X 0) →
            (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0) → CochainComplex.truncate.obj (C.augment f w) ≅ C

Truncating an augmented cochain complex is isomorphic (with components the identity) to the original complex.

theorem CochainComplex.truncateAugment_hom_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0) (i : ℕ),
  (C.truncateAugment f w).hom.f i = CategoryTheory.CategoryStruct.id (C.X i)

theorem CochainComplex.truncateAugment_inv_f E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) {X : V} (f : X ⟶ C.X 0) (w : CategoryTheory.CategoryStruct.comp f (C.d 0 1) = 0) (i : ℕ),
  (C.truncateAugment f w).inv.f i = CategoryTheory.CategoryStruct.id ((CochainComplex.truncate.obj (C.augment f w)).X i)

theorem CochainComplex.cochainComplex_d_succ_succ_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) (i : ℕ), C.d 0 (i + 2) = 0

def CochainComplex.augmentTruncate E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      (C : CochainComplex V ℕ) → (CochainComplex.truncate.obj C).augment (C.d 0 1) ⋯ ≅ C

Augmenting a truncated complex with the original object and morphism is isomorphic (with components the identity) to the original complex.

theorem CochainComplex.augmentTruncate_hom_f_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ), C.augmentTruncate.hom.f 0 = CategoryTheory.CategoryStruct.id (C.X 0)

theorem CochainComplex.augmentTruncate_hom_f_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) (i : ℕ), C.augmentTruncate.hom.f (i + 1) = CategoryTheory.CategoryStruct.id (C.X (i + 1))

theorem CochainComplex.augmentTruncate_inv_f_zero E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ), C.augmentTruncate.inv.f 0 = CategoryTheory.CategoryStruct.id (C.X 0)

theorem CochainComplex.augmentTruncate_inv_f_succ E0 #

∀ {V : Type u} [inst : CategoryTheory.Category.{v, u} V] [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V]
  (C : CochainComplex V ℕ) (i : ℕ), C.augmentTruncate.inv.f (i + 1) = CategoryTheory.CategoryStruct.id (C.X (i + 1))

def CochainComplex.fromSingle₀AsComplex E1 #

{V : Type u} →
  [inst : CategoryTheory.Category.{v, u} V] →
    [inst_1 : CategoryTheory.Limits.HasZeroMorphisms V] →
      [inst_2 : CategoryTheory.Limits.HasZeroObject V] →
        (C : CochainComplex V ℕ) → (X : V) → ((CochainComplex.single₀ V).obj X ⟶ C) → CochainComplex V ℕ

A chain map from a single object cochain complex in degree zero to a cochain complex can be reinterpreted as a cochain complex.

This is the inverse construction of toTruncate.