• Ei tuloksia

Category of complexes

In this section we construct a new category from an additive category, the category of complexes. The objects of this category are sequences of objects of the underlying category connected with differentials. It turns out that the category of complexes over an additive category is additive and the category of complexes over an abelian category is abelian, see lemma 2.5.6 and theorem 2.5.7. The language of complexes allows us to define cohomology, which is central in homological algebra.

Definition 2.5.1(Category of complexes). For any additive categoryAwe can construct the category of(cochain) complexes CpAq. The objects ofCpAqare sequencesA“ pAi, diA :AiÑAi`1qiPZ, whereAiare objects ofAand

The construction of cochain complexes can be expressed also in terms of functors. Let I be a category where objects are the elements ofZY t˚u. Suppose˚ is the zero object inI, and for any iPZ, there exists a morphism iÑi`1 such that iÑi`1Ñi`2“iÑ ˚ Ñi`2. Then a complex over an additive category Ais a functor F : I Ñ A which preserves the zero object. A morphism of complexes F : I Ñ A and G : I Ñ A is a natural transformationF ÑG.

Definition 2.5.2(Cohomology complex). LetCpAqbe the category of chain complexes over an abelian category.

LetXPObCpAqand consider the commutative diagram cokerdi´1X

where existence of morphismsaiandbi follows from the universal property of kernel and cokernel and the equation diXdi´1X “0. Thei-th cohomology ofX is the object

HipXq “cokerai–kerbi and thecohomology complex ofX is the complex

HpXq: . . . 0 Hi´1pXq 0 HipXq 0 Hi`1pXq 0 . . . .

We need to verify that the above definition is well-defined, that is cokerai – kerbi. Let di´1X “ m1e1 and diX “m2e2 be the factorizations given by theorem 2.2.10. We get the following commutative diagram where the morphismsa1 andb1 are obtained from equationsm2e2m1“0 ande2m1e1“0. φi1 is a monomorphism, so a1h“ψ. The morphismh is unique becausea1 is a monomorphism. This shows that a1 is the kernel of φi2φi1. Similarly one shows that b1 is the cokernel of φi2φi1. Putting these together and using theorem 2.2.10 we get

cokerai“cokera1“cokerpkerφi2φi1q –kerpcokerφi2φi1q “kerb1“kerbi. This shows that cohomology is well-defined.

We prove an alternative characterization for cohomology which will be used to obtain a long exact sequence from a short exact sequence of complexes.

Lemma 2.5.3. For any complexX there exists a unique morphismhsuch that the following diagram Xi cokerdi´1X

β1φi2 “β1i1“0. Therefore there exist unique morphisms γ1 : cokerhÑHi`1pXqand γ2 :Hi`1pXq Ñ cokerhsuch thatγ1γ2β2“β2 andγ2γ1β1“β1, soγ1γ2“IdHi`1pXqand γ2γ1“Idcokerh.

For any morphism f : X Ñ Y of complexes over an abelian category, we have an induced morphism of complexesHipfq:HipXq ÑHipYqfor alli. Indeed,

kerdiX ÑXi ÑYiÑYi`1“kerdiX ÑXiÑXi`1ÑYi`1“0,

so there exists a unique morphism kerfi: kerdiXÑkerdiY such that the following diagram is commutative kerdiX kerdiY

Xi Yi

kerfi

fi

(2.6)

By commutativity

Xi´1ÑkerdiX ÑkerdiY ÑYi“Xi´1ÑkerdiXÑXiÑYi

“Xi´1ÑXiÑYi

“Xi´1ÑYi´1ÑYi

“Xi´1ÑYi´1ÑkerdiY ÑYi. The morphism kerdiY ÑYi is a monomorphism, so we have

Xi´1ÑkerdiXÑkerdiY “Xi´1ÑYi´1ÑkerdiY. (2.7) Therefore

X1i´1ÑkerdiX ÑkerdiY ÑHipYq “Xi´1ÑYi´1ÑkerdiÑHipYq “0,

and by the cokernel property for HipXqthere exists a unique morphism Hipfq : HipXq Ñ HipYqsuch that the following diagram is commutative

kerdiX kerdiY

HipXq HipYq

kerfi

Hipfq

(2.8)

By fixing kernels and cokernels of each morphism, this allows us to define a functorCpAq ÑCpAqwhich maps a complex to its cohomology complex and morphisms to induced morphisms. This functor is called thecohomology functor. Indeed, by using the property that the morphisms kerfi andHipfqin the commutative diagrams (2.6) and (2.8) are unique it is easy to see that this map preserves identity morphisms and composition of morphisms.

We have proved the following proposition.

Proposition 2.5.4. Let A be an abelian category. There exists a functor H : CpAq Ñ CpAq which sends a complex X to the cohomology complex HpXq and a morphism f :XÑ Y to the induced morphism Hpfq: HpXq ÑHpYq.

The following proposition gives an alternative characterization of the pseudo-elements of i-th cohomology of a complex.

Proposition 2.5.5. Let X P ObCpAq where A is an abelian category. The pseudo-elements of HipXq are in natural one-to-one correspondence with pseudo-elements x P˚ Xi such that diXpxq “ 0 under the following equivalence relation „: for x:Y1ÑXi, y:Y2ÑXiP˚ Xi we have x„y if and only if there exist epimorphisms e1:V ÑY1 ande2:V ÑY2 such that xe1´ye2“di´1Xz for some pseudo-elementzP˚Xi´1.

This one-to-one correspondence ψ is given for a pseudo-element x:U ÑXi such thatdiXx“0 by first taking the unique morphism x1:U ÑkerdiX such that the following diagram commutes

U Xi

kerdiX

x1 x

φi1

and then we letψpxqto be the composite ofx1 followed by the morphismγ: kerdiX ÑHipXq, the cokernel of the morphism ai:Xi´1ÑkerdiX constructed in the diagram (2.4).

Proof. Fix notation by the following commutative diagram Xi´1 Xi

kerdiX

HipXq

di´1X ai

φi1

γ

First we need to verify that the mapψis well-defined. Letx, yP˚Xibe pseudo-elements such thatdiXx“diXy“0 andxe1´ye2“di´1Xzfor some pseudo-elementzofXi´1and epimorphismse1ande2. By definition of kernel there exist unique morphisms x1 and y1 such that φi1x1 “x andφi1y1 “y. Since φi1px1e1´y1e2q “di´1Xz “φi1aiz, and x1e1´y1e2is the unique morphism with this property, we havex1e1´y1e2“aiz, becauseφi1 is a monomorphism.

Nowγaiz“0, by the fact thatγis the cokernel ofai, and we find thatγx1e1“γy1e2. This shows thatψpxq “˚ψpyq andψis well-defined.

To show that every pseudo-element ofHipXqis an image of a pseudo-element ofXi, letwP˚ HipXq. By 2.4.3 (iii) there existsyP˚kerdiXsuch thatφi1pyq “˚w. Thenφi1pyqis a pseudo-element ofXisuch thatdiXi1pyqq “0.

By construction ofψ, φi1pyqis sent to a pseudo-element of kerdi´1X pseudo-equal toy. Thusψis surjective.

It remains to show that ψ is injective. Let x, yP˚ Xi be pseudo-elements which are mapped to pseudo-equal pseudo-elements of HipXq. We have to show that xe1´ye2 “ di´1Xz for some pseudo-element z of Xi´1 and some epimorphisms e1 and e2. Let x1 and y1 be the unique morphisms such that φi1x1 “ x and φi1y1 “ y. By assumption γx1p1 “ γy1p2 for some epimorphisms p1 and p2. Now γpx1p1´y1p2q “ 0 and by 2.4.3 (iv) there exists a pseudo-element z1 of Xi´1 such that aizq1 “ px1p1´y1p2qq2 for some epimorphisms q1 and q2. Now di´1Xpz1q1q “φi1px1p1´y1p2qq2“xp1q2´yp2q2. Hence we can takez“z1q1. This shows thatψis injective.

Lemma 2.5.6. IfA is an additive category, thenCpAqis additive.

Proof. Abelian group: Letf, g:KÑL be two morphisms inCpAq. The following diagram commutes This shows that addition is bilinear with respect to composition.

Zero object: Clearly the complexp0A,0iAqiPZ is the zero complex inCpAq. easily check that these are morphisms in CpAqsatisfying the following formulas

p1i1“IdA, p2i2“IdB, p1i2“0, p2i1“0, p1i1`p2i2“IdA‘B.

Let C P CpAq be a complex and f : A Ñ C and g : B Ñ C be morphisms of complexes. Then h“ fip1`gip2

(

iPZis the unique morphism fromA‘BtoCmaking the following diagram commutative C

Indeed, the fact that h is a morphism follows from the equations

hi`1diA‘B “ pfi`1p1`gi`1p2qpi1diAp1`i2diBp2q

“ pfi`1diAp1`gi`1diBp2q

“diCpfi`1p1`gi`1p2q “diChi.

Uniqueness of the morphismhfollows from uniqueness of each of thehi. This shows thatCpAqhas biproducts.

Theorem 2.5.7. LetA be an abelian category. ThenCpAqis abelian.

Proof. Zero object: Clearly the complex

. . . 0 0 0 0 0 . . . is the zero object inCpAq.

Product: Since every abelian category is additive, by theorem 2.3.3, by lemma 2.5.6 the categoryCpAqis additive.

By proposition 2.1.3,CpAqhas the product and coproduct of each pair of objects because it has the biproduct of each pair of objects.

Kernel: By duality it suffices to show that every morphism has the kernel. Consider a morphismf :KÑL of complexes. Let kerf denote the complex

. . . d kerfi´1 kerfi kerfi`1 . . .

i´2

kerf di´1kerf dikerf di`1kerf

where dikerf is the unique morphism making the following diagram commutative kerfi kerfi`1

Ki Ki`1

Li Li`1

dikerf

γi γi`1

diK

fi fi`1

diL

The equation di`1kerfdikerf “ 0 follows from commutativity,di`1KdiK “0, and the fact that kerfi ÑKi is a monomorphism.

Now, given any morphism g: M ÑK such that f g “0, there exist unique morphisms φi :Mi Ñ kerfi such thatγiφi“gi. It remains to verify that these φi define a morphisms of complexes. Now

γi`1φi`1diM “gi`1diM“diKgi“diKγiφi“γi`1dikerfφi,

so by the fact thatγi`1is a monomorphismφcommutes with differentials. This shows that the complex kerf satisfies the universal property for kernel off in CpAq.

Monomorphism is kernel: By duality it suffices to show that every monomorphism is the kernel of some mor-phism. Let f : K Ñ L be a monomorphism. Then each fi is a monomorphism. Let γ : L Ñ cokerf be the cokernel of f. By the construction of cokerf in CpAq, γi is the cokernel of fi. By corollary 2.2.11, fi“kerγi. By construction of kernels inCpAqthis shows thatf is the kernel of its cokernel.