The areas / V26. Homological algebra
Mathlib.Algebra.Homology.LinearYonedaObj
11 declarations. Mathlib docs · Source
Computing Ext groups using a projective resolution
Let K be a chain complex indexed by ℕ in a R-linear abelian category C.
Let Y : C. We consider the cochain complex K.linearYonedaObj R Y
which in degree n is given by the R-module of morphisms K.X n ⟶ Y,
and differential are the obvious morphisms (without added signs).
We show that if we extend (by zero) the cochain complex K.linearYonedaObj R Y
in order to obtain a cochain complex indexed by ℤ, we obtain a cochain
complex that is isomorphic (extendLinearYonedaObjIso) to the complex of
morphisms (CochainComplex.linearHomComplex) from the extension of K
to the single complex where Y lies in degree 0. In each degree,
both cochain complexes are essentially the same, but as the differential
on CochainComplex.linearHomComplex involves signs, the isomorphism
is given by the multiplication by (-1) ^ ((n * (n + 1)) / 2) in degree n.
In the case the chain complex above is given by a projective resolution P
of an object X : C, we obtain that the Ext-group Ext X Y n identifies
to the homology in degree n of P.complex.linearYonedaObj R Y,
see ProjectiveResolution.extIsoHomologyLinearYonedaObj.
(Using this definition is not recommended though: it is advisable to use
ProjectiveResolution.extMk and the related API from the file
Mathlib/CategoryTheory/Abelian/Projective/Ext.lean instead)
theorem CochainComplex.HomComplex.Cochain.toSingleLinearEquiv.congr_simp E1 #
∀ {C : Type u} [inst : CategoryTheory.Category.{v, u} C] [inst_1 : CategoryTheory.Preadditive C]
[inst_2 : CategoryTheory.Limits.HasZeroObject C] {X : C} {K : CochainComplex C ℤ} {R : Type u_1} [inst_3 : Ring R]
[inst_4 : CategoryTheory.Linear R C] {p q n : ℤ} (h : p + n = q),
CochainComplex.HomComplex.Cochain.toSingleLinearEquiv h = CochainComplex.HomComplex.Cochain.toSingleLinearEquiv h
theorem ChainComplex.linearYonedaObjXIso.congr_simp E1 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v, u_1} C] [inst_1 : CategoryTheory.Abelian C] (K : ChainComplex C ℕ)
(R : Type u_2) [inst_2 : Ring R] [inst_3 : CategoryTheory.Linear R C] (Y : C) (n : ℤ) (k : ℕ) (h : ↑k = n),
K.linearYonedaObjXIso R Y n k h = K.linearYonedaObjXIso R Y n k h
def ChainComplex.linearYonedaObj E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
{α : Type u_2} →
[inst_2 : AddRightCancelSemigroup α] →
[inst_3 : One α] →
ChainComplex C α →
(A : Type u_3) → [inst_4 : Ring A] → [CategoryTheory.Linear A C] → C → CochainComplex (ModuleCat A) α
Given a chain complex K and an object Y, this is the cochain complex
which in degree i consists of the module of morphisms K.X i ⟶ Y.
theorem ChainComplex.linearYonedaObj_d E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v, u_1} C] [inst_1 : CategoryTheory.Abelian C] {α : Type u_2}
[inst_2 : AddRightCancelSemigroup α] [inst_3 : One α] (K : ChainComplex C α) (A : Type u_3) [inst_4 : Ring A]
[inst_5 : CategoryTheory.Linear A C] (Y : C) (i j : α),
(K.linearYonedaObj A Y).d i j = ModuleCat.ofHom (CategoryTheory.Linear.leftComp A Y (K.d j i))
theorem ChainComplex.linearYonedaObj_X E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v, u_1} C] [inst_1 : CategoryTheory.Abelian C] {α : Type u_2}
[inst_2 : AddRightCancelSemigroup α] [inst_3 : One α] (K : ChainComplex C α) (A : Type u_3) [inst_4 : Ring A]
[inst_5 : CategoryTheory.Linear A C] (Y : C) (i : α),
(K.linearYonedaObj A Y).X i = ((CategoryTheory.linearYoneda A C).obj Y).obj (Opposite.op (K.X i))
def ChainComplex.linearYonedaObjXIso E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
(K : ChainComplex C ℕ) →
(R : Type u_2) →
[inst_2 : Ring R] →
[inst_3 : CategoryTheory.Linear R C] →
(Y : C) →
(n : ℤ) →
(k : ℕ) →
autoParam (↑k = n) ChainComplex.linearYonedaObjXIso._auto_1 →
((K.linearYonedaObj R Y).X k ≅
(CochainComplex.linearHomComplex R (HomologicalComplex.extend K ComplexShape.embeddingDownNat)
((CochainComplex.singleFunctor C 0).obj Y)).X
n)
Auxiliary definition for linearYonedaObjIso.
theorem ChainComplex.linearYonedaObjXIso_hom_apply E0 #
∀ {C : Type u_1} [inst : CategoryTheory.Category.{v, u_1} C] [inst_1 : CategoryTheory.Abelian C] (K : ChainComplex C ℕ)
(R : Type u_2) [inst_2 : Ring R] [inst_3 : CategoryTheory.Linear R C] (Y : C) (m n : ℤ) (k : ℕ) (f : K.X k ⟶ Y)
(hn : autoParam (↑k = n) ChainComplex.linearYonedaObjXIso_hom_apply._auto_1) (hm : m + n = 0),
(CategoryTheory.ConcreteCategory.hom (K.linearYonedaObjXIso R Y n k hn).hom) f =
(n * (n + 1) / 2).negOnePow •
CochainComplex.HomComplex.Cochain.toSingleMk
(CategoryTheory.CategoryStruct.comp (HomologicalComplex.extendXIso K ComplexShape.embeddingDownNat ⋯).hom f) hm
def ChainComplex.linearYonedaObjIso E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
(K : ChainComplex C ℕ) →
(R : Type u_2) →
[inst_2 : Ring R] →
[inst_3 : CategoryTheory.Linear R C] →
(Y : C) →
K.linearYonedaObj R Y ≅
HomologicalComplex.restriction
(CochainComplex.linearHomComplex R (HomologicalComplex.extend K ComplexShape.embeddingDownNat)
((CochainComplex.singleFunctor C 0).obj Y))
ComplexShape.embeddingUpNat
If K is a chain complex in a R-linear category C and Y : C, then
the cochain complex K.linearYonedaObj R Y identifies to the restriction to ℕ
of the cochain complex of morphisms from the extension of K to the single complex
where Y lies in degree 0. This isomorphism is essentially given by the
multiplication by (-1) ^ ((n * (n + 1)) / 2) in degree n.
def ChainComplex.extendLinearYonedaObjIso E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
(K : ChainComplex C ℕ) →
(R : Type u_2) →
[inst_2 : Ring R] →
[inst_3 : CategoryTheory.Linear R C] →
(Y : C) →
HomologicalComplex.extend (K.linearYonedaObj R Y) ComplexShape.embeddingUpNat ≅
CochainComplex.linearHomComplex R (HomologicalComplex.extend K ComplexShape.embeddingDownNat)
((CochainComplex.singleFunctor C 0).obj Y)
If K is a chain complex in a R-linear category C and Y : C, then
the extension to ℤ of the cochain complex K.linearYonedaObj R Y
identifies to the cochain complex of morphisms from the extension of K
to the single complex where Y lies in degree 0.
This isomorphism is essentially given by the
multiplication by (-1) ^ ((n * (n + 1)) / 2) in degree n.
def ChainComplex.linearYonedaObjHomologyIso E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
(K : ChainComplex C ℕ) →
(R : Type u_2) →
[inst_2 : Ring R] →
[inst_3 : CategoryTheory.Linear R C] →
(Y : C) →
(n : ℤ) →
(k : ℕ) →
autoParam (↑k = n) ChainComplex.linearYonedaObjHomologyIso._auto_1 →
(HomologicalComplex.homology (K.linearYonedaObj R Y) k ≅
↧(CochainComplex.HomComplex.CohomologyClass
(HomologicalComplex.extend K ComplexShape.embeddingDownNat)
((CochainComplex.singleFunctor C 0).obj Y) n))
The homology of a cochain complex K.linearYonedaObj R Y identifies to
cohomology classes for the complex of morphisms from the extension of K
to the single functor where Y lies in degree 0.
def CategoryTheory.ProjectiveResolution.extIsoHomologyLinearYonedaObj E1 #
{C : Type u_1} →
[inst : CategoryTheory.Category.{v, u_1} C] →
[inst_1 : CategoryTheory.Abelian C] →
[inst_2 : CategoryTheory.HasExt C] →
{X : C} →
(P : CategoryTheory.ProjectiveResolution X) →
{R : Type u_2} →
[inst_3 : Ring R] →
[inst_4 : CategoryTheory.Linear R C] →
(Y : C) →
(n : ℕ) →
↧(CategoryTheory.Abelian.Ext X Y n) ≅
HomologicalComplex.homology (P.complex.linearYonedaObj R Y) n
If P is a projective resolution of an object X in a R-linear category C and Y : C,
then the R-module Ext X Y n identifies to the homology of P.complex.linearYonedaObj R Y.
(It is not recommended to use this definition: it is advisable to use
ProjectiveResolution.extMk and the related API from the file
Mathlib/CategoryTheory/Abelian/Projective/Ext.lean instead).