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.DerivedCategory.Ext.Basic

80 declarations. Mathlib docs · Source

Ext groups in abelian categories

Let C be an abelian category (with C : Type u and Category.{v} C). In this file, we introduce the assumption HasExt.{w} C which asserts that morphisms between single complexes in arbitrary degrees in the derived category of C are w-small. Under this assumption, we define Ext.{w} X Y n : Type w as shrunk versions of suitable types of morphisms in the derived category. In particular, when C has enough projectives or enough injectives, the property HasExt.{v} C shall hold.

Note: in certain situations, w := v shall be the preferred choice of universe (e.g. if C := ModuleCat.{v} R with R : Type v). However, in the development of the API for Ext-groups, it is important to keep a larger degree of generality for universes, as w < v may happen in certain situations. Indeed, if X : Scheme.{u}, then the underlying category of the étale site of X shall be a large category. However, the category Sheaf X.Etale AddCommGrpCat.{u} shall have good properties (because there is a small category of affine schemes with the same category of sheaves), and even though the type of morphisms in Sheaf X.Etale AddCommGrpCat.{u} shall be in Type (u + 1), these types are going to be u-small. Then, for C := Sheaf X.etale AddCommGrpCat.{u}, we will have Category.{u + 1} C, but HasExt.{u} C will hold (as C has enough injectives). Then, the Ext groups between étale sheaves over X shall be in Type u.

The abelian group structure on Ext X Y n is defined by transporting the abelian group structure on the constructed derived category (given by HasDerivedCategory.standard). This constructed derived category is used in order to obtain most of the compatibilities satisfied by this abelian group structure. It is then shown that the bijection homEquiv between Ext X Y n and Hom-types in the derived category can be promoted to an additive equivalence for any [HasDerivedCategory C] instance.

theorem CategoryTheory.Abelian.Ext.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X X_1 : C),
  X = X_1 →
    ∀ (Y Y_1 : C),
      Y = Y_1 → ∀ (n n_1 : ℕ), n = n_1 → CategoryTheory.Abelian.Ext X Y n = CategoryTheory.Abelian.Ext X_1 Y_1 n_1

theorem CategoryTheory.Abelian.extFunctor.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (n n_1 : ℕ),
  n = n_1 → CategoryTheory.Abelian.extFunctor n = CategoryTheory.Abelian.extFunctor n_1

theorem CochainComplex.singleFunctor.congr_simp E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
  [inst_2 : CategoryTheory.Limits.HasZeroObject C] (n n_1 : ℤ),
  n = n_1 → CochainComplex.singleFunctor C n = CochainComplex.singleFunctor C n_1

theorem CategoryTheory.Abelian.Ext.bilinearComp.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X Y Z : C) (a b c : ℕ) (h : a + b = c),
  CategoryTheory.Abelian.Ext.bilinearComp X Y Z a b c h = CategoryTheory.Abelian.Ext.bilinearComp X Y Z a b c h

theorem CategoryTheory.Abelian.Ext.postcomp.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {Y Z : C} {n : ℕ} (β β_1 : CategoryTheory.Abelian.Ext Y Z n),
  β = β_1 → ∀ (X : C) {a b : ℕ} (h : a + n = b), β.postcomp X h = β_1.postcomp X h

theorem CategoryTheory.Abelian.Ext.comp.congr_simp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {a b : ℕ} (α α_1 : CategoryTheory.Abelian.Ext X Y a),
  α = α_1 →
    ∀ (β β_1 : CategoryTheory.Abelian.Ext Y Z b), β = β_1 → ∀ {c : ℕ} (h : a + b = c), α.comp β h = α_1.comp β_1 h

abbrev CategoryTheory.HasExt E1 #

(C : Type u) → [inst : CategoryTheory.Category.{v, u} C] → [CategoryTheory.Abelian C] → Prop

The property that morphisms between single complexes in arbitrary degrees are w-small in the derived category.

theorem CategoryTheory.hasExt_iff E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : HasDerivedCategory C],
  CategoryTheory.HasExt C ↔
    ∀ (X Y : C) (n : ℤ),
      0 ≤ n → Small.{w, w'} ((DerivedCategory.singleFunctor C 0).obj X ⟶ (DerivedCategory.singleFunctor C 0).obj Y⟦n⟧)

theorem CategoryTheory.hasExt_of_hasDerivedCategory E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] [HasDerivedCategory C],
  CategoryTheory.HasExt C

theorem CategoryTheory.HasExt.standard E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C], CategoryTheory.HasExt C

instance CategoryTheory.instSmallHomDerivedCategoryObjSingleFunctorOfHasExt E0 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C] [CategoryTheory.HasExt C]
  (X Y : C) (a b : ℤ) [inst_3 : HasDerivedCategory C],
  Small.{w, w'} ((DerivedCategory.singleFunctor C a).obj X ⟶ (DerivedCategory.singleFunctor C b).obj Y)

def CategoryTheory.Abelian.Ext E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] → [CategoryTheory.HasExt C] → C → C → ℕ → Type w

An Ext-group in an abelian category C, defined as a Type w when [HasExt.{w} C].

def CategoryTheory.Abelian.Ext.comp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y Z : C} →
          {a b : ℕ} →
            CategoryTheory.Abelian.Ext X Y a →
              CategoryTheory.Abelian.Ext Y Z b → {c : ℕ} → a + b = c → CategoryTheory.Abelian.Ext X Z c

The composition of Ext.

theorem CategoryTheory.Abelian.Ext.comp_assoc E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z T : C} {a₁ a₂ a₃ a₁₂ a₂₃ a : ℕ} (α : CategoryTheory.Abelian.Ext X Y a₁)
  (β : CategoryTheory.Abelian.Ext Y Z a₂) (γ : CategoryTheory.Abelian.Ext Z T a₃) (h₁₂ : a₁ + a₂ = a₁₂)
  (h₂₃ : a₂ + a₃ = a₂₃) (h : a₁ + a₂ + a₃ = a), (α.comp β h₁₂).comp γ ⋯ = α.comp (β.comp γ h₂₃) ⋯

theorem CategoryTheory.Abelian.Ext.comp_assoc_of_second_deg_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z T : C} {a₁ a₃ a₁₃ : ℕ} (α : CategoryTheory.Abelian.Ext X Y a₁)
  (β : CategoryTheory.Abelian.Ext Y Z 0) (γ : CategoryTheory.Abelian.Ext Z T a₃) (h₁₃ : a₁ + a₃ = a₁₃),
  (α.comp β ⋯).comp γ h₁₃ = α.comp (β.comp γ ⋯) h₁₃

theorem CategoryTheory.Abelian.Ext.comp_assoc_of_third_deg_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z T : C} {a₁ a₂ a₁₂ : ℕ} (α : CategoryTheory.Abelian.Ext X Y a₁)
  (β : CategoryTheory.Abelian.Ext Y Z a₂) (γ : CategoryTheory.Abelian.Ext Z T 0) (h₁₂ : a₁ + a₂ = a₁₂),
  (α.comp β h₁₂).comp γ ⋯ = α.comp (β.comp γ ⋯) h₁₂

def CategoryTheory.Abelian.Ext.homEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y : C} →
          [inst_3 : HasDerivedCategory C] →
            {n : ℕ} →
              CategoryTheory.Abelian.Ext X Y n ≃
                CategoryTheory.ShiftedHom ((DerivedCategory.singleFunctor C 0).obj X)
                  ((DerivedCategory.singleFunctor C 0).obj Y) ↑n

When an instance of [HasDerivedCategory.{w'} C] is available, this is the bijection between Ext.{w} X Y n and a type of morphisms in the derived category.

abbrev CategoryTheory.Abelian.Ext.hom E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y : C} →
          [inst_3 : HasDerivedCategory C] →
            {a : ℕ} →
              CategoryTheory.Abelian.Ext X Y a →
                CategoryTheory.ShiftedHom ((DerivedCategory.singleFunctor C 0).obj X)
                  ((DerivedCategory.singleFunctor C 0).obj Y) ↑a

The morphism in the derived category which corresponds to an element in Ext X Y a.

theorem CategoryTheory.Abelian.Ext.comp_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} [inst_3 : HasDerivedCategory C] {a b : ℕ}
  (α : CategoryTheory.Abelian.Ext X Y a) (β : CategoryTheory.Abelian.Ext Y Z b) {c : ℕ} (h : a + b = c),
  (α.comp β h).hom = α.hom.comp β.hom ⋯

theorem CategoryTheory.Abelian.Ext.ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} [inst_3 : HasDerivedCategory C] {n : ℕ}
  {α β : CategoryTheory.Abelian.Ext X Y n}, α.hom = β.hom → α = β

theorem CategoryTheory.Abelian.Ext.ext_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} [inst_3 : HasDerivedCategory C] {n : ℕ}
  {α β : CategoryTheory.Abelian.Ext X Y n}, α = β ↔ α.hom = β.hom

def CategoryTheory.Abelian.Ext.mk₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] → {X Y : C} → (X ⟶ Y) → CategoryTheory.Abelian.Ext X Y 0

The canonical map (X ⟶ Y) → Ext X Y 0.

theorem CategoryTheory.Abelian.Ext.mk₀_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} [inst_3 : HasDerivedCategory C] (f : X ⟶ Y),
  (CategoryTheory.Abelian.Ext.mk₀ f).hom =
    CategoryTheory.ShiftedHom.mk₀ (↑0) CategoryTheory.Abelian.Ext.mk₀._proof_1
      ((DerivedCategory.singleFunctor C 0).map f)

theorem CategoryTheory.Abelian.Ext.mk₀_comp_mk₀ E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} (f : X ⟶ Y) (g : Y ⟶ Z),
  (CategoryTheory.Abelian.Ext.mk₀ f).comp (CategoryTheory.Abelian.Ext.mk₀ g) ⋯ =
    CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.CategoryStruct.comp f g)

theorem CategoryTheory.Abelian.Ext.mk₀_comp_mk₀_assoc E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z T : C} (f : X ⟶ Y) (g : Y ⟶ Z) {n : ℕ}
  (α : CategoryTheory.Abelian.Ext Z T n),
  (CategoryTheory.Abelian.Ext.mk₀ f).comp ((CategoryTheory.Abelian.Ext.mk₀ g).comp α ⋯) ⋯ =
    (CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.CategoryStruct.comp f g)).comp α ⋯

theorem CategoryTheory.Abelian.Ext.mk₀_bijective E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X Y : C), Function.Bijective CategoryTheory.Abelian.Ext.mk₀

def CategoryTheory.Abelian.Ext.homEquiv₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] → {X Y : C} → CategoryTheory.Abelian.Ext X Y 0 ≃ (X ⟶ Y)

The bijection Ext X Y 0 ≃ (X ⟶ Y).

theorem CategoryTheory.Abelian.Ext.homEquiv₀_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (a : X ⟶ Y),
  CategoryTheory.Abelian.Ext.homEquiv₀.symm a = CategoryTheory.Abelian.Ext.mk₀ a

theorem CategoryTheory.Abelian.Ext.mk₀_homEquiv₀_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (f : CategoryTheory.Abelian.Ext X Y 0),
  CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.Abelian.Ext.homEquiv₀ f) = f

instance CategoryTheory.Abelian.Ext.instAddCommGroup E0 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] → {X Y : C} → {n : ℕ} → AddCommGroup (CategoryTheory.Abelian.Ext X Y n)

abbrev CategoryTheory.Abelian.Ext.hom' E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y : C} →
          {n : ℕ} →
            CategoryTheory.Abelian.Ext X Y n →
              CategoryTheory.ShiftedHom ((DerivedCategory.singleFunctor C 0).obj X)
                ((DerivedCategory.singleFunctor C 0).obj Y) ↑n

The map from Ext X Y n to a ShiftedHom type in the constructed derived category given by HasDerivedCategory.standard: this definition is introduced only in order to prove properties of the abelian group structure on Ext-groups. Do not use this definition: use the more general hom instead.

theorem CategoryTheory.Abelian.Ext.add_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {n : ℕ} (α₁ α₂ : CategoryTheory.Abelian.Ext X Y n) {m : ℕ}
  (β : CategoryTheory.Abelian.Ext Y Z m) {p : ℕ} (h : n + m = p), (α₁ + α₂).comp β h = α₁.comp β h + α₂.comp β h

theorem CategoryTheory.Abelian.Ext.comp_add E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n) {m : ℕ}
  (β₁ β₂ : CategoryTheory.Abelian.Ext Y Z m) {p : ℕ} (h : n + m = p), α.comp (β₁ + β₂) h = α.comp β₁ h + α.comp β₂ h

theorem CategoryTheory.Abelian.Ext.neg_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n) {m : ℕ}
  (β : CategoryTheory.Abelian.Ext Y Z m) {p : ℕ} (h : n + m = p), (-α).comp β h = -α.comp β h

theorem CategoryTheory.Abelian.Ext.comp_neg E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n) {m : ℕ}
  (β : CategoryTheory.Abelian.Ext Y Z m) {p : ℕ} (h : n + m = p), α.comp (-β) h = -α.comp β h

theorem CategoryTheory.Abelian.Ext.zero_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X : C) {Y Z : C} (n : ℕ) {m : ℕ} (β : CategoryTheory.Abelian.Ext Y Z m) (p : ℕ)
  (h : n + m = p), CategoryTheory.Abelian.Ext.comp 0 β h = 0

theorem CategoryTheory.Abelian.Ext.comp_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n) (Z : C) (m p : ℕ)
  (h : n + m = p), α.comp 0 h = 0

theorem CategoryTheory.Abelian.Ext.mk₀_id_comp E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n),
  (CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.CategoryStruct.id X)).comp α ⋯ = α

theorem CategoryTheory.Abelian.Ext.comp_mk₀_id E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} (α : CategoryTheory.Abelian.Ext X Y n),
  α.comp (CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.CategoryStruct.id Y)) ⋯ = α

theorem CategoryTheory.Abelian.Ext.mk₀_zero E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X Y : C), CategoryTheory.Abelian.Ext.mk₀ 0 = 0

theorem CategoryTheory.Abelian.Ext.mk₀_add E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (f g : X ⟶ Y),
  CategoryTheory.Abelian.Ext.mk₀ (f + g) = CategoryTheory.Abelian.Ext.mk₀ f + CategoryTheory.Abelian.Ext.mk₀ g

def CategoryTheory.Abelian.Ext.addEquiv₀ E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] → {X Y : C} → CategoryTheory.Abelian.Ext X Y 0 ≃+ (X ⟶ Y)

The additive bijection Ext X Y 0 ≃+ (X ⟶ Y).

theorem CategoryTheory.Abelian.Ext.addEquiv₀_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (a : X ⟶ Y),
  CategoryTheory.Abelian.Ext.addEquiv₀.symm a = CategoryTheory.Abelian.Ext.mk₀ a

theorem CategoryTheory.Abelian.Ext.mk₀_addEquiv₀_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (f : CategoryTheory.Abelian.Ext X Y 0),
  CategoryTheory.Abelian.Ext.mk₀ (CategoryTheory.Abelian.Ext.addEquiv₀ f) = f

theorem CategoryTheory.Abelian.Ext.mk₀_eq_zero_iff E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {M N : C} (f : M ⟶ N), CategoryTheory.Abelian.Ext.mk₀ f = 0 ↔ f = 0

theorem CategoryTheory.Abelian.Ext.mk₀_neg E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} (f : X ⟶ Y),
  CategoryTheory.Abelian.Ext.mk₀ (-f) = -CategoryTheory.Abelian.Ext.mk₀ f

theorem CategoryTheory.Abelian.Ext.biprod_ext E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {Y : C} {n : ℕ} {X₁ X₂ : C} {α β : CategoryTheory.Abelian.Ext (X₁ ⊞ X₂) Y n},
  (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inl).comp α ⋯ =
      (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inl).comp β ⋯ →
    (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inr).comp α ⋯ =
        (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inr).comp β ⋯ →
      α = β

theorem CategoryTheory.Abelian.Ext.zero_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X Y : C) (n : ℕ) [inst_3 : HasDerivedCategory C],
  CategoryTheory.Abelian.Ext.hom 0 = 0

theorem CategoryTheory.Abelian.Ext.add_hom E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} [inst_3 : HasDerivedCategory C]
  (α β : CategoryTheory.Abelian.Ext X Y n), (α + β).hom = α.hom + β.hom

theorem CategoryTheory.Abelian.Ext.neg_hom E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} [inst_3 : HasDerivedCategory C]
  (α : CategoryTheory.Abelian.Ext X Y n), (-α).hom = -α.hom

def CategoryTheory.Abelian.Ext.homAddEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y : C} →
          [inst_3 : HasDerivedCategory C] →
            {n : ℕ} →
              CategoryTheory.Abelian.Ext X Y n ≃+
                CategoryTheory.ShiftedHom ((DerivedCategory.singleFunctor C 0).obj X)
                  ((DerivedCategory.singleFunctor C 0).obj Y) ↑n

When an instance of [HasDerivedCategory.{w'} C] is available, this is the additive bijection between Ext.{w} X Y n and a type of morphisms in the derived category.

theorem CategoryTheory.Abelian.Ext.homAddEquiv_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ} [inst_3 : HasDerivedCategory C]
  (α : CategoryTheory.Abelian.Ext X Y n), CategoryTheory.Abelian.Ext.homAddEquiv α = α.hom

def CategoryTheory.Abelian.Ext.bilinearComp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        (X Y Z : C) →
          (a b c : ℕ) →
            a + b = c →
              CategoryTheory.Abelian.Ext X Y a →+ CategoryTheory.Abelian.Ext Y Z b →+ CategoryTheory.Abelian.Ext X Z c

The composition of Ext, as a bilinear map.

theorem CategoryTheory.Abelian.Ext.bilinearComp_apply_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X Y Z : C) (a b c : ℕ) (h : a + b = c) (α : CategoryTheory.Abelian.Ext X Y a)
  (β : CategoryTheory.Abelian.Ext Y Z b), ((CategoryTheory.Abelian.Ext.bilinearComp X Y Z a b c h) α) β = α.comp β h

abbrev CategoryTheory.Abelian.Ext.postcomp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {Y Z : C} →
          {n : ℕ} →
            CategoryTheory.Abelian.Ext Y Z n →
              (X : C) → {a b : ℕ} → a + n = b → CategoryTheory.Abelian.Ext X Y a →+ CategoryTheory.Abelian.Ext X Z b

The postcomposition Ext X Y a →+ Ext X Z b with β : Ext Y Z n when a + n = b.

abbrev CategoryTheory.Abelian.Ext.precomp E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y : C} →
          {n : ℕ} →
            CategoryTheory.Abelian.Ext X Y n →
              (Z : C) → {a b : ℕ} → n + a = b → CategoryTheory.Abelian.Ext Y Z a →+ CategoryTheory.Abelian.Ext X Z b

The precomposition Ext Y Z a →+ Ext X Z b with α : Ext X Y n when n + a = b.

def CategoryTheory.Abelian.extFunctorObj E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] → [CategoryTheory.HasExt C] → C → ℕ → CategoryTheory.Functor C AddCommGrpCat

Auxiliary definition for extFunctor.

theorem CategoryTheory.Abelian.extFunctorObj_obj_coe E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X : C) (n : ℕ) (Y : C),
  ↑((CategoryTheory.Abelian.extFunctorObj X n).obj Y) = CategoryTheory.Abelian.Ext X Y n

theorem CategoryTheory.Abelian.extFunctorObj_map E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X : C) (n : ℕ) {X_1 Y : C} (f : X_1 ⟶ Y),
  (CategoryTheory.Abelian.extFunctorObj X n).map f =
    AddCommGrpCat.ofHom ((CategoryTheory.Abelian.Ext.mk₀ f).postcomp X ⋯)

def CategoryTheory.Abelian.extFunctor E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [CategoryTheory.HasExt C] → ℕ → CategoryTheory.Functor Cᵒᵖ (CategoryTheory.Functor C AddCommGrpCat)

The functor Cᵒᵖ ⥤ C ⥤ AddCommGrpCat which sends X : C and Y : C to Ext X Y n.

theorem CategoryTheory.Abelian.extFunctor_obj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (n : ℕ) (X : Cᵒᵖ),
  (CategoryTheory.Abelian.extFunctor n).obj X = CategoryTheory.Abelian.extFunctorObj (Opposite.unop X) n

theorem CategoryTheory.Abelian.extFunctor_map_app E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (n : ℕ) {X₁ X₂ : Cᵒᵖ} (f : X₁ ⟶ X₂) (Y : C),
  ((CategoryTheory.Abelian.extFunctor n).map f).app Y =
    AddCommGrpCat.ofHom (AddMonoidHom.mk' (fun α ↦ (CategoryTheory.Abelian.Ext.mk₀ f.unop).comp α ⋯) ⋯)

instance CategoryTheory.Abelian.instAdditiveAddCommGrpCatExtFunctorObj E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (X : C) (n : ℕ), (CategoryTheory.Abelian.extFunctorObj X n).Additive

instance CategoryTheory.Abelian.instAdditiveOppositeFunctorAddCommGrpCatExtFunctor E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] (n : ℕ), (CategoryTheory.Abelian.extFunctor n).Additive

theorem CategoryTheory.Abelian.Ext.comp_sum E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {p : ℕ} (α : CategoryTheory.Abelian.Ext X Y p) {ι : Type u_1}
  [inst_3 : Fintype ι] {q : ℕ} (β : ι → CategoryTheory.Abelian.Ext Y Z q) {n : ℕ} (h : p + q = n),
  α.comp (∑ i, β i) h = ∑ i, α.comp (β i) h

theorem CategoryTheory.Abelian.Ext.sum_comp E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y Z : C} {p : ℕ} {ι : Type u_1} [inst_3 : Fintype ι]
  (α : ι → CategoryTheory.Abelian.Ext X Y p) {q : ℕ} (β : CategoryTheory.Abelian.Ext Y Z q) {n : ℕ} (h : p + q = n),
  (∑ i, α i).comp β h = ∑ i, (α i).comp β h

theorem CategoryTheory.Abelian.Ext.mk₀_sum E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y : C} {ι : Type u_1} [inst_3 : Fintype ι] (f : ι → (X ⟶ Y)),
  CategoryTheory.Abelian.Ext.mk₀ (∑ i, f i) = ∑ i, CategoryTheory.Abelian.Ext.mk₀ (f i)

def CategoryTheory.Abelian.Ext.biproductAddEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {J : Type u_1} →
          [Fintype J] →
            {X : J → C} →
              {c : CategoryTheory.Limits.Bicone X} →
                c.IsBilimit →
                  (Y : C) →
                    (n : ℕ) → CategoryTheory.Abelian.Ext c.pt Y n ≃+ ((i : J) → CategoryTheory.Abelian.Ext (X i) Y n)

Ext commutes with biproducts in its first variable.

def CategoryTheory.Abelian.Ext.addEquivBiproduct E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        (X : C) →
          {J : Type u_1} →
            [Fintype J] →
              {Y : J → C} →
                {c : CategoryTheory.Limits.Bicone Y} →
                  c.IsBilimit →
                    (n : ℕ) → CategoryTheory.Abelian.Ext X c.pt n ≃+ ((i : J) → CategoryTheory.Abelian.Ext X (Y i) n)

Ext commutes with biproducts in its second variable.

def CategoryTheory.Abelian.Ext.biprodAddEquiv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X₁ X₂ Y : C} →
          {n : ℕ} →
            CategoryTheory.Abelian.Ext (X₁ ⊞ X₂) Y n ≃+
              CategoryTheory.Abelian.Ext X₁ Y n × CategoryTheory.Abelian.Ext X₂ Y n

Ext commutes with binary biproducts on the first variable.

theorem CategoryTheory.Abelian.Ext.biprodAddEquiv_apply_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X₁ X₂ Y : C} {n : ℕ} (e : CategoryTheory.Abelian.Ext (X₁ ⊞ X₂) Y n),
  (CategoryTheory.Abelian.Ext.biprodAddEquiv e).1 =
    (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inl).comp e ⋯

theorem CategoryTheory.Abelian.Ext.biprodAddEquiv_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X₁ X₂ Y : C} {n : ℕ}
  (e : CategoryTheory.Abelian.Ext X₁ Y n × CategoryTheory.Abelian.Ext X₂ Y n),
  CategoryTheory.Abelian.Ext.biprodAddEquiv.symm e =
    (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.fst).comp e.1 ⋯ +
      (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.snd).comp e.2 ⋯

theorem CategoryTheory.Abelian.Ext.biprodAddEquiv_apply_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X₁ X₂ Y : C} {n : ℕ} (e : CategoryTheory.Abelian.Ext (X₁ ⊞ X₂) Y n),
  (CategoryTheory.Abelian.Ext.biprodAddEquiv e).2 =
    (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inr).comp e ⋯

def CategoryTheory.Abelian.Ext.addEquivBiprod E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        {X Y₁ Y₂ : C} →
          {n : ℕ} →
            CategoryTheory.Abelian.Ext X (Y₁ ⊞ Y₂) n ≃+
              CategoryTheory.Abelian.Ext X Y₁ n × CategoryTheory.Abelian.Ext X Y₂ n

Ext commutes with binary biproducts on the second variable.

theorem CategoryTheory.Abelian.Ext.addEquivBiprod_symm_apply E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y₁ Y₂ : C} {n : ℕ}
  (e : CategoryTheory.Abelian.Ext X Y₁ n × CategoryTheory.Abelian.Ext X Y₂ n),
  CategoryTheory.Abelian.Ext.addEquivBiprod.symm e =
    e.1.comp (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inl) ⋯ +
      e.2.comp (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.inr) ⋯

theorem CategoryTheory.Abelian.Ext.addEquivBiprod_apply_snd E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y₁ Y₂ : C} {n : ℕ} (e : CategoryTheory.Abelian.Ext X (Y₁ ⊞ Y₂) n),
  (CategoryTheory.Abelian.Ext.addEquivBiprod e).2 =
    e.comp (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.snd) ⋯

theorem CategoryTheory.Abelian.Ext.addEquivBiprod_apply_fst E0 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] {X Y₁ Y₂ : C} {n : ℕ} (e : CategoryTheory.Abelian.Ext X (Y₁ ⊞ Y₂) n),
  (CategoryTheory.Abelian.Ext.addEquivBiprod e).1 =
    e.comp (CategoryTheory.Abelian.Ext.mk₀ CategoryTheory.Limits.biprod.fst) ⋯

def CategoryTheory.Abelian.Ext.chgUniv E1 #

{C : Type u} →
  [inst : CategoryTheory.Category.{v, u} C] →
    [inst_1 : CategoryTheory.Abelian C] →
      [inst_2 : CategoryTheory.HasExt C] →
        [inst_3 : CategoryTheory.HasExt C] →
          {X Y : C} → {n : ℕ} → CategoryTheory.Abelian.Ext X Y n ≃ CategoryTheory.Abelian.Ext X Y n

Up to an equivalence, the type Ext.{w} X Y n does not depend on the universe w.

theorem CategoryTheory.Abelian.Ext.homEquiv_chgUniv E1 #

∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C] [inst_3 : CategoryTheory.HasExt C] {X Y : C} {n : ℕ}
  [inst_4 : HasDerivedCategory C] (e : CategoryTheory.Abelian.Ext X Y n),
  CategoryTheory.Abelian.Ext.homEquiv (CategoryTheory.Abelian.Ext.chgUniv e) = CategoryTheory.Abelian.Ext.homEquiv e

theorem CategoryTheory.hasExt_iff_small_ext E1 #

∀ (C : Type u) [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Abelian C]
  [inst_2 : CategoryTheory.HasExt C],
  CategoryTheory.HasExt C ↔ ∀ (X Y : C) (n : ℕ), Small.{w', w} (CategoryTheory.Abelian.Ext X Y n)