# nLab chain homology and cohomology

### Context

#### Homological algebra

homological algebra

and

nonabelian homological algebra

diagram chasing

cohomology

# Contents

## Idea

In the context of homological algebra, for ${V}_{•}\in {\mathrm{Ch}}_{•}\left(𝒜\right)$ a chain complex, its chain homology group in degree $n$ is akin to the $n$-th homotopy groups of a topological space. It is defined to be the quotient of the $n$-cycles by the $n$-boundaries in ${V}_{•}$.

Dually, for ${V}^{•}\in {\mathrm{Ch}}^{•}\left(𝒜\right)$ a cochain complex, its cochain cohomology group in degree $n$ is the qotients of the $n$-cocycles by the $n$-coboundaries.

Basic examples are the singular homology and singular cohomology of a tological space, which are the (co)chain (co)homology of the singular complex.

Chain homology and cochain cohomology constitute the basic invariants of (co)chain complexes. A quasi-isomorphism is a chain map between chain complexes that induces isomorphisms on all chain homology groups, akin to a weak homotopy equivalence. A category of chain complexes equipped with quasi-isomorphisms as weak equivalences is a presentation for the stable (infinity,1)-category of chain complexes.

## Definition

Let $𝒜$ be an abelian category such as that of $R$-modules over a commutative ring $R$. For $R=ℤ$ the integers this is the category Ab of abelian groups. For $R=k$ a field, this is the category Vect of vector spaces over $k$.

Write ${\mathrm{Ch}}_{•}\left(𝒜\right)$ for the category of chain complexes in $𝒜$. Write ${\mathrm{Ch}}^{•}\left(𝒜\right)$ for the category of cochain complexes in $𝒜$.

We label differentials in a chain complex as follows:

${V}_{•}=\left[\cdots \to {V}_{n+1}\stackrel{{\partial }_{n}}{\to }{V}_{n}\to \cdots \right]$V_\bullet = [ \cdots \to V_{n+1} \stackrel{\partial_n}{\to} V_n \to \cdots ]
###### Definition

For ${V}_{•}\in {\mathrm{Ch}}_{•}\left(𝒜\right)$ a chain complex and $n\in ℤ$, the chain homology ${H}_{n}\left(V\right)$ of $V$ in degree $n$ is the abelian group

${H}_{n}\left(V\right)≔\frac{{Z}_{n}\left(V\right)}{{B}_{n}\left(V\right)}=\frac{\mathrm{ker}\left({\partial }_{n-1}\right)}{\mathrm{im}\left({\partial }_{n}\right)}$H_n(V) \coloneqq \frac{Z_n(V)}{B_n(V)} = \frac{ker(\partial_{n-1})}{im(\partial_n)}

given by the quotient (cokernel) of the group of $n$-cycles by that of $n$-boundaries in ${V}_{•}$.

## Properties

### Functoriality

###### Proposition

For all $n\in ℕ$ forming chain homology extends to a functor from the category of chain complexes in $𝒜$ to $𝒜$ itself

${H}_{n}\left(-\right):{\mathrm{Ch}}_{•}\left(𝒜\right)\to 𝒜\phantom{\rule{thinmathspace}{0ex}}.$H_n(-) : Ch_\bullet(\mathcal{A}) \to \mathcal{A} \,.
###### Proof

One checks that chain homotopy (see there) respects cycles and boundaries.

###### Proposition

Chain homology commutes with direct product of chain complexes:

${H}_{n}\left(\prod _{i}{C}^{\left(i\right)}\right)\simeq \prod _{i}{H}_{n}\left({C}^{\left(i\right)}\right)\phantom{\rule{thinmathspace}{0ex}}.$H_n(\prod_i C^{(i)}) \simeq \prod_i H_n(C^{(i)}) \,.

Similarly for direct sum.

### Respect for direct sums and filtered colimits

###### Proposition

The chain homology functor preserves direct sums:

for $A,B\in {\mathrm{Ch}}_{•}$ and $n\in ℤ$, the canonical morphism

${H}_{n}\left(A\oplus B\right)\to {H}_{n}\left(A\right)\oplus {H}_{n}\left(B\right)$H_n(A \oplus B) \to H_n(A) \oplus H_n(B)

is an isomorphism.

###### Proposition

The chain homology functor preserves filtered colimits:

for $A:I\to {\mathrm{Ch}}_{•}$ a filtered diagram and $n\in ℤ$, the canonical morphism

${H}_{n}\left(\underset{{\to }_{i}}{\mathrm{lim}}{A}_{i}\right)\to \underset{{\to }_{i}}{\mathrm{lim}}{H}_{n}\left({A}_{i}\right)$H_n(\underset{\to_i}{\lim} A_i) \to \underset{\to_i}{\lim} H_n(A_i)

is an isomorphism.

This is spelled out for instance as (Hopkins-Mathew , prop. 23.1).

## Examples

• For $X$ a topological space and $\mathrm{Sing}X$ its singular simplicial complex, write $Nℤ\left[\mathrm{Sing}X\right]$ for the normalized chain complex of the simplicial abelian group that is degreewise the free abelian group on $\mathrm{Sing}X$. The resulting chain homology is the singular homology of $X$

${H}_{•}\left(Nℤ\left[\mathrm{Sing}X\right]\right)\simeq {H}_{•}\left(X,ℤ\right)\phantom{\rule{thinmathspace}{0ex}}.$H_\bullet( N \mathbb{Z}[Sing X]) \simeq H_\bullet(X, \mathbb{Z}) \,.

## In the context of homotopy theory

We discuss here the notion of (co)homology of a chain complex from a more abstract point of view of homotopy theory, using the nPOV on cohomology as discussed there.

A chain complex in non-negative degree is, under the Dold-Kan correspondence a homological algebra model for a particularly nice topological space or ∞-groupoid: namely one with an abelian group structure on it, a simplicial abelian group. Accordingly, an unbounded (arbitrary) chain complex is a model for a spectrum with abelian group structure.

One consequence of this embedding

$N:{\mathrm{Ch}}_{+}\to \infty \mathrm{Grpd}$N : Ch_+ \to \infty Grpd

induced by the Dold-Kan nerve is that it allows to think of chain complexes as objects in the (∞,1)-topos ∞Grpd or equivalently Top. Every (∞,1)-topos comes with a notion of homotopy and cohomology and so such abstract notions get induced on chain complexes.

Of course there is an independent, age-old definition of homology of chain complexes and, by dualization, of cohomology of cochain complexes.

This entry describes how these standard definition of chain homology and cohomology follow from the general (∞,1)-topos nonsense described at cohomology and homotopy.

The main statement is that

• the naïve homology groups of a chain complex are really its homotopy groups, in the abstract sense (i.e. with the chain complex regarded as a model for a space/$\infty$-groupoid);

• the naïve cohomology groups of a cochain complex are really the abstract cohomology groups of the dual chain complex.

### Preliminaries

Before discussing chain homology and cohomology, we fix some terms and notation.

#### Eilenberg-MacLane objects

In a given (∞,1)-topos there is a notion of homotopy and cohomology for every (co-)coefficient object $A$ ($B$).

The particular case of chain complex homology is only the special case induced from coefficients given by the corresponding Eilenberg-MacLane objects.

Assume for simplicity here and in the following that we are talking about non-negatively graded chain complexes of vector spaces over some field $k$. Then for every $n\in ℕ$ write

$\begin{array}{rl}{B}^{n}k& :=\left(\cdots \to {B}^{n}{k}_{n}\to \cdots \to \stackrel{\partial }{\to }{B}^{n}{k}_{1}\stackrel{\partial }{\to }{B}^{n}{k}_{0}\right)\\ & =\left(\cdots \to k\to \cdots \to 0\to 0\right)\end{array}$\begin{aligned} \mathbf{B}^n k &:= ( \cdots \to \mathbf{B}^n k_n \to \cdots \to \stackrel{\partial}{\to} \mathbf{B}^n k_1 \stackrel{\partial}{\to} \mathbf{B}^n k_0) \\ &= ( \cdots \to k \to \cdots \to 0 \to 0 ) \end{aligned}

for the $n$th Eilenberg-MacLane object.

Notice that this is often also denoted $k\left[n\right]$ or $k\left[-n\right]$ or $K\left(k,n\right)$.

#### Homotopy and cohomology

With the Dold-Kan correspondence understood, embedding chain complexes into ∞-groupoids, for any chain complexes ${X}_{•}$, ${A}_{•}$ and ${B}_{•}$ we obtain

• the $\infty$-groupoid

${H}_{\infty \mathrm{Grpd}}\left({X}_{•},{A}_{•}\right)$\mathbf{H}_{\infty Grpd}(X_\bullet, A_\bullet)

whose

• objects are the $A$-valued cocycles on $X$;
• morphisms are the coboundaries between these cocycles;
• 2-morphisms are the coboundaries between coboundaries
• etc. and where the elements of ${\pi }_{0}H\left({X}_{•},{A}_{•}\right)$ are the cohomology classes
• the $\infty$-groupoids

${H}_{\infty \mathrm{Grpd}}\left({B}_{•},{X}_{•}\right)$\mathbf{H}_{\infty Grpd}(B_\bullet, X_\bullet)

whose

• objects are the $B$-co-valued cycles on $X$;
• morphisms are the boundaries between these cycles;
• 2-morphisms are the boundaries between boundaries
• etc. and where the elements of ${\pi }_{0}H\left({B}_{•},{X}_{•}\right)$ are the homotopy classes

### Chain homology as homotopy

For ${X}_{•}:={V}_{•}$ any chain complex and ${H}_{n}\left({V}_{•}\right)$ its ordinary chain homology in degree $n$, we have

${H}_{n}\left({V}_{•}\right)\simeq {\pi }_{0}H\left({B}^{n}{k}_{•},{V}_{•}\right)\phantom{\rule{thinmathspace}{0ex}}.$H_n(V_\bullet) \simeq \pi_0 \mathbf{H}(\mathbf{B}^n k_\bullet, V_\bullet) \,.

A cycle $c:{B}^{n}{k}_{•}\to {V}_{•}$ is a chain map

$\begin{array}{ccccccccc}\cdots & \stackrel{\partial }{\to }& 0& \stackrel{\partial }{\to }& k& \stackrel{\partial }{\to }& 0& \stackrel{\partial }{\to }& \cdots \\ & & ↓& & {↓}^{{c}_{n}}& & ↓\\ \cdots & \stackrel{\partial }{\to }& {V}_{n+1}& \stackrel{\partial }{\to }& {V}_{n}& \stackrel{\partial }{\to }& {V}_{n-1}& \stackrel{\partial }{\to }& \cdots \end{array}$\array{ \cdots &\stackrel{\partial}{\to}& 0 &\stackrel{\partial}{\to}& k &\stackrel{\partial}{\to}& 0 &\stackrel{\partial}{\to}& \cdots \\ && \downarrow && \downarrow^{c_n} && \downarrow \\ \cdots &\stackrel{\partial}{\to}& V_{n+1} &\stackrel{\partial}{\to}& V_n &\stackrel{\partial}{\to}& V_{n-1} &\stackrel{\partial}{\to}& \cdots }

Such chain maps are clearly in bijection with those elements ${c}_{n}\in {V}_{n}$ that are in the kernel of ${V}_{n}\stackrel{\partial }{\to }{V}_{n-1}$ in that $\partial {c}_{n}=0$.

A boundary $\lambda :c\to C\prime$ is a chain homotopy

$\begin{array}{ccccccccc}\cdots & \stackrel{\partial }{\to }& 0& \stackrel{\partial }{\to }& k& \stackrel{\partial }{\to }& 0& \stackrel{\partial }{\to }& \cdots \\ & & & {}^{{\lambda }_{n}}↙\\ \cdots & \stackrel{\partial }{\to }& {V}_{n+1}& \stackrel{\partial }{\to }& {V}_{n}& \stackrel{\partial }{\to }& {V}_{n-1}& \stackrel{\partial }{\to }& \cdots \end{array}$\array{ \cdots &\stackrel{\partial}{\to}& 0 &\stackrel{\partial}{\to}& k &\stackrel{\partial}{\to}& 0 &\stackrel{\partial}{\to}& \cdots \\ && & {}^{\lambda_n}\swarrow \\ \cdots &\stackrel{\partial}{\to}& V_{n+1} &\stackrel{\partial}{\to}& V_n &\stackrel{\partial}{\to}& V_{n-1} &\stackrel{\partial}{\to}& \cdots }

such that $c\prime =c+\partial \lambda$.

(…)

### Cohomology of cochain complexes

The ordinary notion of cohomology of a cochain complex is the special case of cohomology in the stable (∞,1)- category of chain complexes.

For ${V}^{•}$ a cochain complex let

$\begin{array}{rl}X& :={V}_{•}=\left({V}^{•}{\right)}^{*}\\ & =\left(\cdots \to {X}_{n+1}\stackrel{\partial }{\to }{X}_{n}\stackrel{\partial }{\to }{X}_{n-1}\to \cdots \right)\\ & :=\left(\cdots \to {V}_{n+1}\stackrel{\partial }{\to }{V}_{n}\stackrel{\partial }{\to }{V}_{n-1}\to \cdots \right)\end{array}$\begin{aligned} X &:= V_\bullet = (V^\bullet)^* \\ &= (\cdots \to X_{n+1} \stackrel{\partial}{\to} X_n \stackrel{\partial}{\to} X_{n-1} \to \cdots) \\ & := (\cdots \to V_{n+1} \stackrel{\partial}{\to} V_n \stackrel{\partial}{\to} V_{n-1} \to \cdots) \end{aligned}

be the corresponding dual chain complex. Let

$\begin{array}{rl}A& :={B}^{n}I\\ & =\left(\cdots \to {A}_{n+1}\to {A}_{n}\to {A}_{n-1}\to \cdots \right)\\ & =\left(\cdots \to 0\to I\to 0\to \cdots \right)\end{array}$\begin{aligned} A &:= \mathbf{B}^n I \\ &= (\cdots \to A_{n+1} \to A_n \to A_{n-1} \to \cdots ) \\ & = (\cdots \to 0 \to I \to 0 \to \cdots ) \end{aligned}

be the chain complex with the tensor unit (the ground field, say) in degree $n$ and trivial elsewhere. Then

$\begin{array}{rl}H\left(X,A\right)& =\mathrm{Ch}\left({V}_{•},{B}^{n}I\right)\end{array}$\begin{aligned} \mathbf{H}(X,A) &= Ch(V_\bullet, \mathbf{B}^n I) \end{aligned}

has

• as objects chain morphisms $c:{V}_{•}\to {B}^{n}I$

$\begin{array}{ccccccccc}\cdots & \to & {V}_{n+1}& \stackrel{\partial }{\to }& {V}_{n}& \stackrel{\partial }{\to }& {V}_{n-1}& \to & \cdots \\ & & {↓}^{{c}_{n+1}}& & {↓}^{{c}_{n}}& & {↓}^{{c}_{n-1}}\\ \cdots & \to & 0& \stackrel{\partial }{\to }& I& \stackrel{\partial }{\to }& 0& \to & \cdots \end{array}\phantom{\rule{thinmathspace}{0ex}}.$\array{ \cdots &\to& V_{n+1} &\stackrel{\partial}{\to}& V_{n} &\stackrel{\partial}{\to}& V_{n-1} &\to& \cdots \\ && \downarrow^{c_{n+1}} && \downarrow^{c_{n}} && \downarrow^{c_{n-1}} \\ \cdots &\to& 0 &\stackrel{\partial}{\to}& I &\stackrel{\partial}{\to}& 0 &\to& \cdots } \,.

These are in canonical bijection with the elements in the kernel of ${d}_{n}$ of the dual cochain complex ${V}^{•}=\left[{V}_{•},I\right]$.

• as morphism chain homotopies $\lambda :c\to c\prime$

$\begin{array}{ccccccccc}\cdots & \to & {V}_{n+1}& \stackrel{\partial }{\to }& {V}_{n}& \stackrel{\partial }{\to }& {V}_{n-1}& \to & \cdots \\ & & & & & {}^{\lambda }↙& \\ \cdots & \to & 0& \stackrel{\partial }{\to }& I& \stackrel{\partial }{\to }& 0& \to & \cdots \end{array}\phantom{\rule{thinmathspace}{0ex}}.$\array{ \cdots &\to& V_{n+1} &\stackrel{\partial}{\to}& V_{n} &\stackrel{\partial}{\to}& V_{n-1} &\to& \cdots \\ && && &{}^{\lambda}\swarrow& \\ \cdots &\to& 0 &\stackrel{\partial}{\to}& I &\stackrel{\partial}{\to}& 0 &\to& \cdots } \,.

Comparing with the general definition of cocycles and coboudnaries from above, one confirms that

• the cocycles are the chain maps

${V}_{•}\to I\left[n{\right]}_{•}$V_\bullet \to I[n]_\bullet
• the coboundaries are the chain homotopies between these chain maps.

• the coboundaries of coboundaries are the second order chain homotopies between these chain homotopies.

• etc.

## References

Basics are for instance in section 1.1 of

Revised on October 17, 2012 23:24:00 by Urs Schreiber (82.169.65.155)