and
nonabelian homological algebra
group cohomology, nonabelian group cohomology, Lie group cohomology
cohomology with constant coefficients / with a local system of coefficients
differential cohomology
In the context of homological algebra, for $V_\bullet \in Ch_\bullet(\mathcal{A})$ 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_\bullet$.
Dually, for $V^\bullet \in Ch^\bullet(\mathcal{A})$ a cochain complex, its cochain cohomology group in degree $n$ is the quotient of the $n$-cocycles by the $n$-coboundaries.
Basic examples are the singular homology and singular cohomology of a topological 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.
Let $\mathcal{A}$ be an abelian category such as that of $R$-modules over a commutative ring $R$. For $R = \mathbb{Z}$ 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 $Ch_\bullet(\mathcal{A})$ for the category of chain complexes in $\mathcal{A}$. Write $Ch^\bullet(\mathcal{A})$ for the category of cochain complexes in $\mathcal{A}$.
We label differentials in a chain complex as follows:
For $V_\bullet \in Ch_\bullet(\mathcal{A})$ a chain complex and $n \in \mathbb{Z}$, the chain homology $H_n(V)$ of $V$ in degree $n$ is the abelian group
given by the quotient (cokernel) of the group of $n$-cycles by that of $n$-boundaries in $V_\bullet$.
For all $n \in \mathbb{N}$ forming chain homology extends to a functor from the category of chain complexes in $\mathcal{A}$ to $\mathcal{A}$ itself
One checks that chain homotopy (see there) respects cycles and boundaries.
Chain homology commutes with direct product of chain complexes:
Similarly for direct sum.
The chain homology functor preserves direct sums:
for $A,B \in Ch_\bullet$ and $n \in \mathbb{Z}$, the canonical morphism
is an isomorphism.
The chain homology functor preserves filtered colimits:
for $A \colon I \to Ch_\bullet$ a filtered diagram and $n \in \mathbb{Z}$, the canonical morphism
is an isomorphism.
This is spelled out for instance as (Hopkins-Mathew , prop. 23.1).
For $X$ a topological space and $Sing X$ its singular simplicial complex, write $N \mathbb{Z}[Sing X]$ for the normalized chain complex of the simplicial abelian group that is degreewise the free abelian group on $Sing X$. The resulting chain homology is the singular homology of $X$
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
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.
Before discussing chain homology and cohomology, we fix some terms and notation.
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 \mathbb{N}$ write
for the $n$th Eilenberg-MacLane object.
Notice that this is often also denoted $k[n]$ or $k[-n]$ or $K(k,n)$.
With the Dold-Kan correspondence understood, embedding chain complexes into ∞-groupoids, for any chain complexes $X_\bullet$, $A_\bullet$ and $B_\bullet$ we obtain
the $\infty$-groupoid
whose
the $\infty$-groupoids
whose
For $X_\bullet := V_\bullet$ any chain complex and $H_n(V_\bullet)$ its ordinary chain homology in degree $n$, we have
A cycle $c : \mathbf{B}^n k_\bullet \to V_\bullet$ is a chain map
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'$ is a chain homotopy
such that $c' = c + \partial \lambda$.
(…)
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^\bullet$ a cochain complex let
be the corresponding dual chain complex. Let
be the chain complex with the tensor unit (the ground field, say) in degree $n$ and trivial elsewhere. Then
has
as objects chain morphisms $c : V_\bullet \to \mathbf{B}^n I$
These are in canonical bijection with the elements in the kernel of $d_{n}$ of the dual cochain complex $V^\bullet = [V_\bullet,I]$.
as morphism chain homotopies $\lambda : c \to c'$
Comparing with the general definition of cocycles and coboudnaries from above, one confirms that
the cocycles are the chain maps
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.
Basics are for instance in section 1.1 of
Michael Hopkins (notes by Akhil Mathew), algebraic topology – Lectures (pdf)