# nLab cohomology

cohomology

### Theorems

#### $\left(\infty ,1\right)$-Topos Theory

(∞,1)-topos theory

## Constructions

structures in a cohesive (∞,1)-topos

# Contents

## Idea

There are various different-looking definitions of the general notion of cohomology in different contexts, some familiar, some more exotic. Most, if not all, of these notions of cohomology are special cases of — and in many instances special concrete models for — the following general idea:

Cohomology is something associated to a given (∞,1)-topos $H$. For $X,A$ two objects of $H$, the (degree-0) cohomology of $X$ with coefficients in $A$ is the set of connected components of the hom ∞-groupoid, hence of homotopy classes of morphisms from $X$ to $A$ in $H$:

$H\left(X;A\right)={H}^{0}\left(X;A\right)≔{\pi }_{0}H\left(X,A\right)\phantom{\rule{thinmathspace}{0ex}}.$H(X;A) = H^0(X;A) \coloneqq \pi_0 \mathbf{H}(X,A) \,.

More generally, if $A$ is equipped with an $n$-fold delooping ${A}_{n}$, then the degree-$n$ cohomology of $X$ with coefficients in $A$ is its degree-0 cohomology with coefficients in ${A}_{n}$:

${H}^{n}\left(X;A\right)≔{H}^{0}\left(X;{A}_{n}\right).$H^n(X;A) \coloneqq H^0(X;A_n).

Every object $A$ has a unique $n$-fold delooping when $n$ is a negative integer, namely its $\left(-n\right)$-fold loop object ${\Omega }^{-n}\left(A\right)$. If $A$ has an $n$-fold delooping for positive $n$, then it must be an $n$-monoidal group — and conversely, any $n$-monoidal group has a canonical (but not unique) $n$-fold delooping ${B}^{n}A$. Finally, $n$ could be more general than an integer; see below.

For suitable choices of $H$, $A$, and $n$, this general definition encompasses (1) the traditional (e.g. singular) cohomology of topological spaces taught in algebraic topology, (2) generalized (Eilenberg-Steenrod) cohomology, (3) non-abelian cohomology, (4) twisted cohomology, (5) group cohomology, (6) sheaf cohomology, (7) sheaf hypercohomology, and (8) equivariant cohomology. See below for explanations and discussion.

Furthermore, this general notion of cohomology also accurately captures general classification and extension problems (NSS), such as (1) principal ∞-bundles, (2) group extensions, (3) fiber ∞-bundles, and (4) twisted ∞-bundles.

A non-technical introduction to some concepts in cohomology from this perspective is at

The following section

gives a tour through the zoo of cohomology theories traditionally known, indicating how they all fit into this picture. Then the section

gives the general formal definition and discusses general properties of and constructions in cohomology theory, such as the terminology of cocycles and coboundaries of objects classified by cohomology, of characteristic classes of these objects, of Postnikov towers and Whitehead towers, and so on. In particular the section

describes additional stuff, structure, property that may be present for certain choices of coefficient objects – such as gradings , cohomology group- and ring-structures – and aspects of which are in different parts of the traditional literature often required (differently) on cohomology.

The straightforward definition of cohomology in terms of mapping spaces in an (∞,1)-topos has some slight, but similarly straightforward, variants, notably that of twisted cohomology (which includes other cases such as differential cohomology) and of equivariant cohomology (with its different flavors such as Borel-equivariant and Bredon cohomology). These are discussed in the section

before the next main section

then starts going through concrete examples in detail. The reader uneasy with the abstract generality of our perspective is advised to skip ahead to this section and find from a long list of examples discussed his or her favorite traditional notion of cohomology and how it fits into the general structure.

Finally we discuss why the notion of cohomology is related to that of (∞,1)-toposes in

Essentially nothing about this perspective on cohomology is really new, many aspects of it have been made explicit in the literature here and there. In fact, to some extent everything here is just an afterthought of the old seminal article

in the light of fully fledged (∞,1)-topos theory, of which it is effectively the seed, by noticing that this article secretly discusses precisely the homotopy categories of hypercomplete (∞,1)-toposes. At the same time, to some extent everything here is also an afterthought of the theory of cohomology in 1-categorical topos theory as reviewed for instance in

• Ieke Moerdijk, Classifying Spaces and Classifying Topoi , section I.4

by noticing that the constructions on simplicial objects in toposes used there secretly precisely compute the (∞,1)-categorical hom-objects of an (∞,1)-topos as presented by the model structure on simplicial sheaves on the underlying site.

This and a list of other releated references and historical developments is given at

## Tour through notions of cohomology

The statement of the above slogan is well familiar for the special case that $H=$ Top is the (∞,1)-topos of topological spaces. In this context for instance for $A:=K\left(ℤ,n\right)$ an Eilenberg-MacLane space, we have that for $X$ any topological space that

${\pi }_{0}H\left(X,K\left(ℤ,n\right)\right)={H}^{n}\left(X,ℤ\right)$\pi_0 \mathbf{H}(X,K(\mathbb{Z},n)) = H^n(X,\mathbb{Z})

coincides with the “ordinary” integral cohomology of $X$, modeled as its singular cohomology.

This definition in Top alone already goes a long way. By the Brown representability theorem all cohomology theories that are called generalized (Eilenberg-Steenrod) cohomology theories are of this form, for $A$ a topological space that is part of a spectrum. This includes everything that is traditionally just called “a cohomology theory”, such as K-theory, elliptic cohomology, tmf, complex cobordism, etc.

Another big complex of notions of cohomology that on first sight maybe does not seem to fit into this pattern is abelian sheaf cohomology. Usually this is introduced and defined in the language of derived functors. However, derived functors are nothing but a tool, or presentation, for encoding (∞,1)-categorical hom-spaces such as $H\left(X,A\right)$ in cases where $H$ is presented by a homotopical category or model category.

Indeed, it turns out that an old result from the 1960s, Verdier’s hypercovering theorem effectively shows that what was introduced as abelian sheaf cohomology is really nothing but an instance of the above general setup. A particularly clear-sighted understanding of this fact was presented in

Therein Brown considers essentially the model structure on simplicial presheaves – which today is known to be one of the standard models for ∞-stack (∞,1)-toposes $H$ – rederives Verdier’s hypercovering theorem and shows that ordinary abelian sheaf cohomology is indeed nothing but ${\pi }_{0}H\left(X,A\right)$ in such an (∞,1)-topos, for the special case that the simplicial presheaf $A$ happens to be objectwise in the image of the Dold-Kan correspondence, i.e. for the special case that $A$ is a maximally abelian ∞-stack.

One can then understand various “cohomology theories” as nothing but tools for computing ${\pi }_{0}H\left(X,A\right)$ using the known presentations of (∞,1)-categorical hom-spaces: for instance Čech cohomology computes these spaces by finding cofibrant models for the domain $X$, called Čech nerves. Dual to that, most texts on abelian sheaf cohomology find fibrant models for the codomain $A$: called injective resolutions. Both algorithms in the end compute the same intrinsically defined $\left(\infty ,1\right)$-categorical hom-space.

In other words, abelian sheaf cohomology is of the exact same nature as the familiar cohomology of topological spaces (and hence of spectra) if only we switch from the archetypical (∞,1)-topos Top to a more general ∞-stack (∞,1)-topos. And abelian sheaf cohomology in turn subsumes many special cases, such as Deligne cohomology, deRham cohomology, etale cohomology, crystalline cohomology, syntomic cohomology, etc. You name it.

But this also shows that abelian sheaf cohomology itself is just a very special case of cohomology in an $\infty$-stack $\left(\infty ,1\right)$-topos: the stable or maximally abelian case. For coefficient objects $A\in H$ that are not maximally abelian (for instance not degreewise in the image of the Dold-Kan correspondence for sheaf cohomology) the cohomology of an $\infty$-stack topos is a nonabelian cohomology.

Often in the literature the term “nonabelian cohomology” is restricted to nonabelian group cohomology, which is indeed one special case. Another familiar special case is cohomology in Top with coefficients in the classifying space $ℬG$ of a (possibly nonabelian) group $G$ (which is of course not part of a spectrum, in general). This degree 1 nonabelian cohomology classifies $G$-principal bundles.

If the group $G$ here is generalized to a (possibly nonabelian) 2-group, the coefficient object $ℬG$ gives degree 2 nonabelian cohomology in Top, which classifies nonabelian gerbes and, more generally, principal 2-bundles. The celebrate treatise by Giraud Cohomologie non abélienne is concerned with this case. In fact, Giraud considered gerbes on stacks and hence was implicitly really computing cohomology in a stack 2-topos with both the domain and the coefficient object allowed to have nontrivial homotopy groups of stacks in degree 2.

Conceptually, with higher topos theory in hand, there is no problem in generalizing nonabelian cohomology and its relation to gerbes and principal bundles further from stacks to ∞-stacks. For instance, while the discussion of spin structure on a space/∞-stack requires a 1-stack coefficient object and classifies principal bundles, and the discussion of string structure requires a 2-stack coefficient object and classifies gerbes and principal 2-bundles, the next case of fivebrane structure requires 6-stack coefficient objects and classifies principal 6-bundles. Generally, we may speak of principal ∞-bundles in any (∞,1)-topos $H$: these are nothing but the homotopy fibers of the corresponding (“nonabelian”) cocycles, which are just morphisms $X\to A$ in $H$.

Various other notions of cohomology are special cases of this. For instance group cohomology is nothing but the cohomology in $H=$ ∞Grpd on objects $X=BG$ that are deloopings of groups. What is called nonabelian group cohomology is nothing but the general case of this where there is no restriction on the coefficient object $A$. Here we can once again replace $\infty \mathrm{Grpd}$ – which is the $\left(\infty ,1\right)$-topos of $\infty$-stacks on the point – by a more general $\infty$-stack $\left(\infty ,1\right)$-topos. For instance if we take the underlying site to be Diff, the category of smooth manifolds, then the objects of $H={\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{Diff}\right)$ are Lie ∞-groupoids. Their cohomology is generalized group cohomology that knows about smooth structure: smooth group cohomology . In this context for instance one can give cohomological interpretations of smooth realizations of the string 2-group or the fivebrane 6-group.

Conversely, given an unconstrained (unstable) (∞,1)-topos $H$ with its general notion of nonabelian cohomology, one can systematically find its stable or abelian content by considering objects that are components of spectrum objects in $H$. These form the stabilization of $H$ to a stable (∞,1)-category.

An example of this is motivic cohomology and motivic homotopy: this is the cohomology given by (∞,1)-categorical hom spaces in the (∞,1)-topos of ∞-stacks on the Nisnevich site: motivic cohomology proper is that where the coefficient objects happen to be components of spectrum objects and A1-homotopy invariant. For instance the Chow groups are precisely the cohomology in this sense with coefficients in the Eilenberg-MacLane objects of this (∞,1)-topos. From this perspective, hom-spaces into more general objects in this $\left(\infty ,1\right)$-topos could be called nonabelian motivic cohomology .

A noteworthy example for the restriction to homotopy invariant objects in an $\left(\infty ,1\right)$-topos, hence to its homotopy localization, is the internal cohomology of the $\left(\infty ,1\right)$-topos of $\infty$-stacks on the site Top (topological $\infty$-stacks): when restricted to homotopy local objects this turns out to be just the ordinary cohomology in Top. This is described in more detail at topological ∞-groupoid.

There are some slight variations on the theme that cohomology is all about connected components of hom-spaces in (∞,1)-toposes: by looking at homotopy fibers of such (∞,1)-categorical hom-spaces instead, one finds twisted cohomology. The most prominent example is twisted K-theory: in degree 0 this is the study of the homotopy fiber of the morphism of $\left(\infty ,1\right)$-categorical hom-space $\mathrm{Top}\left(-,ℬ\mathrm{PU}\left(n\right)\right)\to \mathrm{Top}\left(-,{ℬ}^{2}U\left(1\right)\right)$ that sends a projective unitary principal bundle (hence its associated vector bundle) to the lifting gerbe for the lift of its structure group to the full unitary group.

Another example of twisted cohomology is differential cohomology: differential cohomology refinements of abelian generalized (Eilenberg-Steenrod) cohomology theories with coefficient objects a spectrum $E$ is the study of the homotopy fibers of the Chern character map $\mathrm{ch}:H\left(X,E\right)\to {\Omega }_{\mathrm{dR}}^{•}\left(X\right)\otimes {\pi }_{•}\left(E\right)$ from $E$-cohomology to deRham cohomology. This classifies (abelian versions of) connections on the underlying bundles, for instance Simons-Sullivan structured bundles (vector bundles with connection).

By generalizing the notion of Chern character to richer $\left(\infty ,1\right)$-toposes, one obtains by the same token a notion of differential cohomology in an (∞,1)-topos encoding connections on general principal ∞-bundles and associated ∞-vector bundles.

## Definition

We give now the very general definition of cohomology and describe very general properties of and very general constructions in cohomology theory.

### General definition

Given an (∞,1)-topos $H$, for any two objects $X$, $A$ of $H$ we have the (∞,1)-categorical hom-space $H\left(X,A\right)$ – an ∞-groupoid. For $H={\mathrm{Ho}}_{H}$ the homotopy category of $H$, its set of connected components is ${\pi }_{0}H\left(X,A\right)={\mathrm{Ho}}_{H}\left(X,A\right)$.

• The objects $\left(c:X\to A\right)\in H\left(X,A\right)$ are called cocycles on $X$ with coefficients in $A$;

• if $A$ is understood to be equipped with the structure $*\to A$ of a pointed object, then the cocycle $X\to *\to A$ is the trivial cocycle ${c}_{\mathrm{triv}}$;

• the morphisms $\lambda :{c}_{1}\to {c}_{2}$ in $H\left(X,A\right)$ are the coboundaries. Two cocycles connected by a coboundary are cohomologous. (More specifically, a cocycle cohomologous to the trivial cocycle is called a coboundary.)

• the equivalence classes $\left[c\right]\in {\pi }_{0}H\left(X,A\right)$ of cohomologous are the cohomology classes;

• the set of cohomology classes is the $A$-cohomology set

$H\left(X,A\right):={\mathrm{Ho}}_{H}\left(X,A\right)={\pi }_{0}H\left(X,A\right)$H(X,A) := Ho_{\mathbf{H}}(X,A) = \pi_0 \mathbf{H}(X,A)

of $X$.

• for $c\in H\left(X,A\right)$ a cocycle on $X$ and $k\in H\left(A,B\right)$ a cocycle on $A$, the class of the composite cocycle

$\left[k\left(c\right)\right]:=\left[X\stackrel{c}{\to }A\stackrel{k}{\to }B\right]\in H\left(X,B\right)$[k(c)] := [X \stackrel{c}{\to} A \stackrel{k}{\to} B] \in H(X,B)

is the characteristic class of $c$ with respect to $k$.

Remark Notice that there is no notion of cochain in this general setup. What are called cochains are specifically components of certain specific models for $H\left(X,A\right)$. More on this in the section on abelian cohomology below.

### Objects classified by cohomology

For $g:X\to A$ a cocycle, one says that its homotopy fiber $P\to X$ is the object classified by the cohomology class.

Such an object usually has the interpretation of a principal ∞-bundle. Special cases of this are principal bundles, gerbes, principal 2-bundles, etc. If the domain object $X$ itself is a group object, then $P\to X$ is a group extension. For that reason in abelian cohomology $H\left(X,A\right)$ is often denoted $\mathrm{Ext}\left(X,A\right)$ and a cocycle is then called an Ext.

### Characteristic classes

For $A\in H$ some coefficient object and $\left\{{c}_{n}:A\to {E}_{n}\right\}$ a collection of cocycles on the coefficient object with values in objects ${E}_{n}\in H$ – typically chosen to be Eilenberg-MacLane objects – composition of morphism in $H$ induces a map of cohomology ∞-groupoids

${c}_{n}:H\left(X,A\right)\to H\left(X,{E}_{n}\right)$c_n : \mathbf{H}(X,A) \to \mathbf{H}(X,E_n)

and hence of cohomology classes

${c}_{n}:H\left(X,A\right)\to H\left(X,{E}_{n}\right)$c_n : H(X,A) \to H(X,E_n)

that sends each $A$-cocycle $g$ to its characteristic class ${c}_{n}\left(g\right)$. Typically, for $P\to X$, the principal ∞-bundle classified by $g$, one speaks of the characteristic class ${c}_{n}\left(P\right)$ of this principal $\infty$-bundle.

### Extra structure on cohomology

Extra stuff, structure, property on the coefficient object $A$ will induce corresponding stuff, structure or property on the cohomology sets $H\left(X,A\right)$.

In the case that the coefficient object $A$ admits $\left(n\in ℕ\right)$ deloopings to objects ${B}^{n}A$ one writes

${H}^{n}\left(X,A\right):={\pi }_{0}H\left(X,{B}^{n}A\right)$H^n(X,A) := \pi_0 \mathbf{H}(X, \mathbf{B}^n A)

and speaks of $A$-cohomology in degree $n$.

Similarly, looping defines negative degree cohomology:

${H}^{-n}\left(X,A\right):={\pi }_{0}H\left(X,{\Omega }^{n}A\right)\phantom{\rule{thinmathspace}{0ex}}.$H^{-n}(X,A) := \pi_0 \mathbf{H}(X, \Omega^n A) \,.

Because loop space objects are defined by an $\left(\infty ,1\right)$-pullback and the (∞,1)-categorical hom – as any hom-functor – preserves limits in its second argument, this is the same as

$\begin{array}{rl}{H}^{-n}\left(X,A\right)& \simeq {\pi }_{0}{\Omega }^{n}H\left(X,A\right)\\ & \simeq {\pi }_{n}H\left(X,A\right)\phantom{\rule{thinmathspace}{0ex}}.\end{array}\phantom{\rule{thinmathspace}{0ex}}.$\begin{aligned} H^{-n}(X,A) &\simeq \pi_0 \Omega^n \mathbf{H}(X, A) \\ & \simeq \pi_n \mathbf{H}(X,A) \,. \end{aligned} \,.

This means that all the non-positive degree cohomology identifies with the homotopy groups of the ∞-groupoid $H\left(X,A\right)$.

If the underlying topos of $H$ is a lined topos, the line object $𝔸$ canonically comes with its multiplicative group object ${𝔾}_{m}:={𝔸}^{×}↪𝔸$.

In this case there are then two different notions of spheres:

• the categorical 1-sphere (or simplicial loop ) ${S}^{1}={\Delta }^{1}/\partial {\Delta }^{1}$;

• the geometric sphere ${𝔾}_{m}$.

The notion of loop space object and of delooping have geometric analogs in this case and so a second integer grading is induced on cohomology, now coming from the geometric loops. Both gradings may be considered at once, which makes the cohomology theory bigraded:

${H}^{-p,-q}\left(X,A\right):={\pi }_{0}H\left(X,{\Omega }^{p}{\Omega }_{I}^{q}A\right)\phantom{\rule{thinmathspace}{0ex}}.$H^{-p,-q}(X,A) := \pi_0 \mathbf{H}(X, \Omega^p \Omega^q_I A) \,.

This bigrading is traditionally considered in motivic cohomology where the line object is that of A1-homotopy theory, but the general construction depends only on the presence and choice of an interval object.

In some cases one considers geometric spheres ${S}^{V}$ that do not necessarily arise from a single interval object. One can still follow the general procedure and define a corresponding graded cohomology

${H}^{V}\left(X,A\right):={\pi }_{0}H\left(X,{S}^{V}A\right)\phantom{\rule{thinmathspace}{0ex}}.$H^{V}(X,A) := \pi_0 \mathbf{H}(X, S^V A) \,.

This is notably the standard case in Bredon equivariant cohomology used in equivariant stable homotopy theory, where the ${S}^{V}$ are one-point compactifications of representation vector spaces of a group $G$.

Urs Schreiber: I am still hoping that if we work hard enough, we can see that this is actually a special case of the above general construction somehow. Or else that we find a more systematic way to understand this “exotic” grading.

#### Abelian and stable cohomology

Often the coefficient object $A\in H$ for cohomology is taken to be indefinitely deloopable – an $\infty$-loop space object – or, more generally, a component of a spectrum object in the stabilization $\mathrm{Stab}\left(H\right)$ of the (∞,1)-topos $H$ to a stable (∞,1)-category.

In terms of the stabilization adjunction

$H\stackrel{\stackrel{{\Omega }^{\infty }}{←}}{\underset{{\Sigma }^{\infty }}{\to }}\mathrm{Stab}\left(H\right)$\mathbf{H} \stackrel{\stackrel{\Omega^\infty}{\leftarrow}}{\underset{\Sigma^\infty}{\to}} Stab(\mathbf{H})

this means that $A$ is of the form

$A={E}_{n}:={\Omega }^{\infty }\circ {\Sigma }^{n}E$A = E_n := \Omega^\infty \circ \Sigma^n E

for some spectrum object $E$, and some integer $n$ (not necessarily a natural number).

One single such spectrum object this way yields a $ℤ$-graded tower of cohomologies

${H}^{n}\left(X,E\right):={\pi }_{0}H\left(X,{\Omega }^{\infty }{\Sigma }^{n}E\right)$H^n(X, E) := \pi_0 \mathbf{H}(X, \Omega^\infty \Sigma^n E)

which taken together, denoted ${H}^{•}\left(X,E\right)$ is called a cohomology theory. For the case that $H=$ Top this special case of cohomology is called generalized (Eilenberg-Steenrod) cohomology.

As above in the discussion of gradings, the same discussion goes through analogously in the presence of an interval object that induces a notion of geometric loops. Notably in motivic cohomology coefficient objects are taken to be stable with respect to both categorical and geometric looping and delooping.

#### Cohomology groups and rings

If $A$ happens to be a group object in $H$ then the cohomology set naturally inherits the structure of a group and then $H\left(X;A\right)$ is called the $A$-cohomology group of $X$. If $A$ is at least an ${E}_{2}$ object, then $H\left(X;A\right)$ is abelian.

This is in particular necessarily the case if $A$ is a component of a spectrum object in abelian cohomology in the sense described above, i.e. of the form ${\Omega }^{\infty }{\Sigma }^{n}A\prime$.

If the corresponding spectrum object $A\prime$ in addition carries the structure of a ring — in which case it is a ring spectrum or E-∞ ring — then we speak of a multiplicative cohomology theory and the cohomology groups ${H}^{•}\left(X,A\right)$ form a graded ring, the cohomology ring of $X$ with coefficients in $A$.

### Variants

#### Twisted cohomology

Given $A\in H$ an object and $k:A\to B$ cocycle on $A$, classifying its homotopy fiber $C\to A$, the $A$-cohomology with specified $B$-characteristic class $\left[k\right]$ is $k$-twisted $C$-cohomology.

For the moment see

#### Differential cohomology

A special type of characteristic class is the Chern character. The twisted cohomology with respect to the Chern character is differential cohomology.

#### Equivariant cohomology

Various related but different variations of cohomology are obtained by domain objects, or coefficient objects or both with action groupoids of actions by some group object, or by more general groupoids (“orbifolds”).

For the moment see

for more details.

#### Relative cohomology

For the moment see

### Homotopy

By abstract duality, cohomology is dual to homotopy (as an operation):

the cohomology of $X$ with coefficients in $A$ is the homotopy of $A$ with co-coefficients in $X$.

Notably, when $H$ is a lined topos there is for each $n\in ℕ$ a sphere object? ${S}^{n}$ in $H$.

For any $A\in H$ the set $H\left({S}^{n},A\right)$ is equivalently

1. the $A$-cohomology of ${S}^{n}$.

2. the $n$th homotopy group of $A$.

One could argue that a more suitable term for cohomology is cohomotopy. Unfortunately, of course, this term is traditonally used only for a very special case of what it should mean generally…

## Examples

### Long list of examples

Classes of special cases of cohomologies with their own entries include

### Chain cohomology

The probably most familiar kind of cohomology is that of a cochain complex dual to a chain complex.

Using the Dold-Kan correspondence chain complexes are understood as particular spectra, i.e. spectrum objects in the archetypical (∞,1)-topos ∞Grpd of ∞-groupoids. Positively graded chain complexes (the “connective” ones) are just ∞-groupoids with the structure of a strict abelian group object: as Kan complexes these are abelian simplicial groups.

This way, ordinary chain cohomology is seen to be a special case of general cohomology in $H=$ ∞Grpd. A more detailed discussion of how from this perspective the usual formulas for cochains and cocycles appear is at

### Cohomology in $\mathrm{Top}$

The archetypical example for nonabelian cohomology theory is the (∞,1)-topos $H=$ Top, the (∞,1)-category of topological spaces. For $X$ and $A$ two topological spaces, the cohomology classes of $X$ with values in $A$ are the homotopy classes of continuous maps $X\to A$. For $A=K\left(a,n\right)$ an Eilenberg-Mac Lane space with $a$ an abelian group this reproduces “ordinary cohomology” of spaces. For $n>1$ this special case happens to be actually abelian. For $A=BG$ a classifying space of a topological group $G$, this reproduces degree 1 nonabelian cohomology ${H}^{1}\left(X,G\right)$. In general, for $A$ an $n$-type, $H\left(X,A\right)$ is topological degree-$n$ nonabelian cohomology.

• The archetypical example for abelian cohomology theory is the stable (∞,1)-topos? $H=$ Spec, the stable (∞,1)-category of spectra. This is the case in the literature often addressed as generalized cohomology, since it generalizes the entities specified by the Eilenberg–Steenrod axioms. But really, the general concept of cohomology is more general than this “generalized cohomology”.

• “ordinary” cohomology is cohomology with coefficients in the Eilenberg-MacLane spectrum

• K-theory is cohomology with coefficients in the K-theory spectrum

• elliptic cohomology is somehow subsumed by cohomology with coefficients in tmf.

some left-over material, to be merged…

Ordinary nonabelian cohomology in degree 1 of a ‘nice’ topological space $X$ with values in a discrete (and possibly nonabelian) group $G$ can be defined as the pointed set of homotopy classes of maps of topological spaces from $X$ into the classifying space $BG$. The content of nonabelian cohomology is the generalization of this statement to cohomology in higher degree. The content of general nonabelian differential cohomology is moreover the generalization of nonabelian cohomology to generalized spaces with extra structure, in particular with smooth structure.

Henceforth we will refer to * spaces * meaning perhaps some generalization or restriction, e.g. smooth spaces, and occasionally specify the nature of the generalization. For spaces $X$,$A$, we denote by $ℋ\left(X,A\right)=\mathrm{Maps}\left(X,A\right)$ the $\left(\infty ,0\right)$-category of maps from $X$ to $A$. To emphasize the relation to cohomology, we name these maps as cocycles and refer to $ℋ\left(X,A\right)=\mathrm{Maps}\left(X,A\right)$ as the cohomology of X with coefficients in A: the objects in $\mathrm{Maps}\left(X,A\right)$ are the $A$-valued cocycles on $X$, the morphisms are homotopies (or coboundaries) between these and the higher morphisms are homotopies between homotopies, etc. The connected components in $\mathrm{Map}\left(X,A\right)$ are the cohomology classes, $H\left(X,A\right)={\pi }_{0}\mathrm{Map}\left(X,A\right)$. These are the sets of morphisms in the homotopy category $H$ of $ℋ$.

For instance for $G$ an ordinary abelian group and $X$ a nice topological space, the choice $A=K\left(G,n\right)$ (an Eilenberg-Mac Lane space) yields the ordinary cohomology ${H}^{n}\left(X,G\right)=H\left(X,K\left(G,n\right)\right)={\pi }_{0}ℋ\left(X,A\right)$.

If $A$ is pointed in that it is equipped with a morphism ${}_{*}\stackrel{{\mathrm{pt}}_{A}}{\to }A$, then $ℋ\left(X,A\right)$ is naturally pointed with point $X\to {}_{*}\stackrel{{\mathrm{pt}}_{A}}{\to }A,$ the trivial $A$-cocycle on $X$. In particular, if $A$ is the delooping, $A=BG$, of a group-like space $G$ in $ℋ$ (an $\infty$-group or ${A}_{\infty }$-space) and if $g:X\to BG$ is a cocycle, then the homotopy fiber of $g$, i.e. the homotopy pullback $P\to X$ of the point of $A$ in

$\begin{array}{ccc}P& \to & {}_{*}\\ ↓& & ↓\\ X& \stackrel{g}{\to }& BG\end{array}$\array{ P & \rightarrow & {}_* \\ \downarrow & & \downarrow \\ X & \overset{g}\rightarrow & \mathbf{B}G }

is the $G$-principal bundle classified by the cocycle $g$.

### $\left(\infty ,1\right)$-Sheaf-cohomology / $\infty$-stack-cohomology

A Grothendieck–Rezk–Lurie (∞,1)-topos is an (∞,1)-category of (∞,1)-sheaves. Its objects are often called ∞-stacks or derived stacks.

#### Abelian sheaf cohomology

Several familiar “cohomology theories” are not so much genuine cohomology theories as rather computational techniques for computing certain cohomology classes in an (∞,1)-category by using 1-categorical tools of homotopy coherent category theory such as model categories, derived categories and the like.

• Čech cohomology is the technique of computing $H\left(X,A\right)$ by computing 1-categorical hom-sets $C\left(\stackrel{^}{X},A\right)$ on resolutions of the domain object $X$.

• The technique of computing abelian sheaf cohomology by computing the derived global section functor? is similarly a technique of computing $H\left(X,A\right)$ in terms of 1-categorical hom-sets $C\left(X,\stackrel{^}{A}\right)$ into resolutions of the coefficient object (namely injective resolutions).

Zoran: I am not happy with this assertion. First of all the notion of the derived functor is fundamental and it makes sense even in setups when the injective resolutions do not exist. Abelian sheaf cohomology IS a derived functor of the global sections functor, not a specific technique to computing it. On the other hand, the injective resolutions ARE a specific technique to compute the derived functor. It is also not clear in this entry if it is about sheaves on topological spaces or on sites or some more general setup.

Urs: I have posted a reply here. Let’s sort this out, improve the entry and remove this query box here.

#### Nonabelian sheaf cohomology with constant coefficients

For $X$ a topological space and $A$ an ∞-groupoid, the standard way to define the nonabelian cohomology of $X$ with coefficients in $A$ is to define it as the intrinsic cohomology as seen in ∞Grpd $\simeq$ Top:

$H\left(X,A\right):={\pi }_{0}\mathrm{Top}\left(X,\mid A\mid \right)\simeq {\pi }_{0}\infty \mathrm{Func}\left(\mathrm{Sing}X,A\right)\phantom{\rule{thinmathspace}{0ex}},$H(X,A) := \pi_0 Top(X, |A|) \simeq \pi_0 \infty Func(Sing X, A) \,,

where $\mid A\mid$ is the geometric realization of $A$ and $\mathrm{Sing}X$ the fundamental ∞-groupoid of $X$.

But both $X$ and $A$ here naturally can be regarded, in several ways, as objects of (∞,1)-sheaf (∞,1)-toposes $H={\mathrm{Sh}}_{\left(\infty ,1\right)}\left(C\right)$ over nontrivial (∞,1)-sites $C$. The intrinsic cohomology of such $H$ is a nonabelian sheaf cohomology. The following discusses two such choices for $H$ such that the corresponding nonabelian sheaf cohomology coincides with $H\left(X,A\right)$ (for paracompact $X$).

##### Petit $\left(\infty ,1\right)$-sheaf $\left(\infty ,1\right)$-topos

For $X$ a topological space and $\mathrm{Op}\left(X\right)$ its category of open subsets equipped with the canonical structure of an (∞,1)-site, let

$H:={\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right):={\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{Op}\left(X\right)\right)$\mathbf{H} := Sh_{(\infty,1)}(X) := Sh_{(\infty,1)}(Op(X))

be the (∞,1)-category of (∞,1)-sheaves on $X$. The space $X$ itself is naturally identified with the terminal object $X=*\in {\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)$. This is the petit topos incarnation of $X$.

Write

$\left(\mathrm{LConst}⊣\Gamma \right):{\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)\stackrel{\stackrel{\mathrm{LConst}}{←}}{\underset{\Gamma }{\to }}\infty \mathrm{Grpd}$(LConst \dashv \Gamma) : Sh_{(\infty,1)}(X) \stackrel{\overset{LConst}{\leftarrow}}{\underset{\Gamma}{\to}} \infty Grpd

be the global sections terminal geometric morphism.

Under the constant (∞,1)-sheaf functor $\mathrm{LConst}$ an ∞-groupoid $A\in \infty \mathrm{Grpd}$ is regarded as an object $\mathrm{LConst}A\in {\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)$.

There is therefore the intrinsic cohomology of the $\left(\infty ,1\right)$-topos ${\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)$ with coefficients in the constant (∞,1)-sheaf on $A$

$H\prime \left(X,A\right):={\pi }_{0}{\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)\left(X,\mathrm{LConst}A\right)\phantom{\rule{thinmathspace}{0ex}}.$H'(X,A) := \pi_0 Sh_{(\infty,1)}(X)(X, LConst A) \,.

Notice that since $X$ is in fact the terminal object of ${\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)$ and that ${\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)\left(X,-\right)$ is in fact that global sections functor, this is equivalently

$\cdots \simeq {\pi }_{0}\Gamma \mathrm{LConst}A\phantom{\rule{thinmathspace}{0ex}}.$\cdots \simeq \pi_0 \Gamma LConst A \,.
###### Theorem

If $X$ is a paracompact space, then these two definitions of nonabelian cohomology of $X$ with constant coefficients $A\in \infty \mathrm{Grpd}$ agree:

$H\left(X,A\right):={\pi }_{0}\infty \mathrm{Grpd}\left(\mathrm{Sing}X,A\right)\simeq {\mathrm{Sh}}_{\left(\infty ,1\right)}\left(X\right)\left(X,\mathrm{LConst}A\right)\phantom{\rule{thinmathspace}{0ex}}.$H(X,A) := \pi_0 \infty Grpd(Sing X,A) \simeq Sh_{(\infty,1)}(X)(X,LConst A) \,.

This is HTT, theorem 7.1.0.1. See also (∞,1)-category of (∞,1)-sheaves for more.

##### In terms of covering spaces

There is an equivalence between $\left(\infty ,1\right)$-sheaves on $X$ and topological spaces over $X$, as described in detail at (∞,1)-sheaves and over-spaces?.

Suppose that $X$ is a locally compact CW complex. In particular, this implies that it is “hereditarily m-cofibrant,” i.e. every open subset of $X$ has the homotopy type of a CW complex. That’s what you need in order to conclude that taking sheaves of sections of spaces over $X$ is well-behaved homotopically, since only m-cofibrant spaces are good for mapping out of homotopically.

In

it is proved that the “sheaf of sections” functor

$\mathrm{Top}/X\to \left[\mathrm{Op}\left(X{\right)}^{\mathrm{op}},\mathrm{sSet}\right]$Top/X \to [Op(X)^{op},sSet]

is the right adjoint in a right Quillen embedding?, i.e. a Quillen adjunction whose derived right adjoint is fully faithful. In other words, the homotopy theory of spaces over $X$ embeds in the homotopy theory of $\left(\infty ,1\right)$-sheaves on $X$.

One can also identify its image as consisting of the locally constant (∞,1)-sheaves. This is a homotopical version of the identification of covering spaces with locally constant sheaves.

Furthermore, if $f:X\to Y$ is a map of such spaces, then the pullback functor ${f}^{*}:\mathrm{Top}/Y\to \mathrm{Top}/X$ agrees with the inverse image functor ${f}^{*}$ for $\left(\infty ,1\right)$-sheaves. In particular, when $Y$ is a point and $A$ a space, then the constant $\left(\infty ,1\right)$-sheaf $\mathrm{Const}\left(A\right)$ is identified with (the sheaf of sections of) the space ${X}^{*}A=X×A$ over $X$. Therefore, the nonabelian cohomology of $X$ with coefficients in $\mathrm{Const}\left(A\right)$ is the same as the maps in $\mathrm{Top}/X$ from $X$ (the terminal object of $\mathrm{Top}/X$) to ${X}^{*}A$. Since the left adjoint of ${X}^{*}:\mathrm{Top}\to \mathrm{Top}/X$ just forgets the structure map to $X$, this is the same as maps in $\mathrm{Top}$ from $X$ to $A$.

Thereby we recover Lurie’s theorem, in the case when $X$ is a locally compact CW complex.

##### Gros $\left(\infty ,1\right)$-sheaf $\left(\infty ,1\right)$-topos

Another alternative is to regard the space $X$ as an object in the gros (∞,1)-sheaf topos ${\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{CartSp}\right)$ over the site CartSp, as described at ∞-Lie groupoid. This has the special property that it is a locally ∞-connected (∞,1)-topos, which means that the terminal geometric morphism is an essential geometric morphism

$\left(\Pi ⊣\mathrm{LConst}⊣\Gamma \right):{\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{CartSp}\right)\stackrel{\stackrel{\Pi }{\to }}{\stackrel{\stackrel{\mathrm{LConst}}{←}}{\underset{\Gamma }{\to }}}\infty \mathrm{Grpd}\phantom{\rule{thinmathspace}{0ex}},$(\Pi \dashv LConst \dashv \Gamma) : Sh_{(\infty,1)}(CartSp) \stackrel{\overset{\Pi}{\to}}{\stackrel{\overset{LConst}{\leftarrow}}{\underset{\Gamma}{\to}}} \infty Grpd \,,

with the further left adjoint $\Pi$ to $\mathrm{LConst}$ being the intrinsic path ∞-groupoid functor. The intrinsic nonabelian cohomology in there also coincides with nonabelian cohomology in Top; even the full cocycle ∞-groupoids are equivalent:

###### Theorem

For paracompact $X$ we have an equivalence of cocycle ∞-groupoids

${\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{CartSp}\right)\left(X,\mathrm{LConst}A\right)\simeq \mathrm{Top}\left(X,\mid A\mid \right)$Sh_{(\infty,1)}(CartSp)(X, LConst A) \simeq Top(X, |A|)

and hence in particular an isomorphism on cohomology

$H\left(X,A\right)\simeq {\pi }_{0}{\mathrm{Sh}}_{\left(\infty ,1\right)}\left(\mathrm{CartSp}\right)\left(X,\mathrm{LConst}A\right)$H(X,A) \simeq \pi_0 Sh_{(\infty,1)}(CartSp)(X, LConst A)
###### Proof

The key point is that for paracompact $X$, the nerve theorem asserts that $\Pi \left(X\right)$ is weak homotopy equivalent to $\mathrm{Sing}X$, the standard fundamental ∞-groupoid of $X$. This is discussed in detail in the section geometric realization at path ∞-groupoid.

Using this, the statement follows by the (∞,1)-adjunction $\left(\Pi ⊣\mathrm{LConst}\right)$, that is discussed in detail at Unstructured homotopy ∞-groupoid.

#### Motivic cohomology

Motivic cohomology is the cohomology of the (∞,1)-topos of ∞-stacks on the Nisnevich site, usually restricted to coefficient objects that are stable and A1-homotopy invariant.

#### Hochschild and cyclic cohomology

Hochschild cohomology is the cohomology $H\left(ℒX,C\right)$ of free loop space objects $ℒX$ in a derived stack (∞,1)-topos $H$ with coefficients in quasicoherent ∞-stacks of modules $C$. There is a natural action of the circle ${S}^{1}$ on the free loop space object $ℒX$ and the corresponding ${S}^{1}$-equivariant cohomology is cyclic cohomology.

#### Algebraic K-theory

K-theory in its general form of algebraic K-theory is a way of turning a stable (∞,1)-category (which may be the derived category induced by an abelian category or Quillen exact category) into a spectrum.

Accordingly, an ∞-stack with values in stable $\left(\infty ,1\right)$-categories induces a spectrum valued $\infty$-stack after passing to its K-theory. Homming objects $X$ into these spectrum-valued $\infty$-stacks then produces the corresponding K-cohomology of $X$.

This, too, goes back all the way to BrownAHT, where in the second part the homotopy categories of spectrum-valued $\infty$-stacks is considered.

## Tools for computing cohomology

Various notions called “cohomology” in the literature are not so much specific examples of cohomology theories (specific choices of ambient (∞,1)-toposes) as rather specific tools or algorithms for constructing $H\left(X,A\right)$.

### Čech cohomology

For the moment see

### $\mathrm{Ext}$-functor and derived global-sections functor

Using a model category presentation for $H$ one can compute $H\left(X,A\right)$ using the derived functor of the hom-functor: called the Ext functor.

Specifically for the model structure on simplicial sheaves and $X$ representable, one has by Yoneda lemma that $\mathrm{Hom}\left(X,A\right)\simeq A\left(X\right)$ which is often written as $\simeq \Gamma \left(A,X\right)$ and called the global section functor $\Gamma \left(A,-\right)$ applied to $X$. Accordingly its derived functor is another way to think of $H\left(X,A\right)$.

## Relation to (∞,1)-topos theory

Some of the abstract concepts in cohomology mentioned above make sense in any (∞,1)-category: we could in principle define cocycle, characteristic class, long sequence in cohomology, twisted cohomology, etc. the way we did in an $\left(\infty ,1\right)$-category that is not an (∞,1)-topos, by defining it to be, respectively, a morphism $c:X\to A$, a morphism $\lambda :A\to B$, the homotopy fiber of $c$, the pullback along the morphism induced by postcomposition with $\lambda$, etc.

Since all these concepts are so simple in the (∞,1)-category theory context, they seem to work very generally. One may therefore ask why it is that we require an $\left(\infty ,1\right)$-topos structure in order to interpret these conceptually simple ingredients in terms of cohomology.

There are two ways to answer this question: one is to observe that essentially all cohomology theories that have been considered do happen to have an interpretation in terms of intrinsic $\left(\infty ,1\right)$-topos cohomology. This is discussed in

Given that, one can ask what it is abstractly that we want to the notion of cohomology to do and to be, that forces the concept of $\left(\infty ,1\right)$-topos on us. This is discussed in

### Historical aspects

As we have seen in the list of examples above, large numbers of examples of notions of cohomology do happen to have a natural interpretation in terms of intrinsic $\left(\infty ,1\right)$-topos cohomology. There are some definitions of cohomology in the literature that are not equivalent to hom-spaces in an $\left(\infty ,1\right)$-topos. But these tend to be wrong definitions, as illustrated by the following example.

In the literature there is a naive definition of Lie group cohomology and and topological group cohomology, which is not interpretable in terms of hom-spaces in a more general $\left(\infty ,1\right)$-category, either. But later it was found by Segal and then independently by Brylinski that there is a refinement of this definition, which is better behaved. This refinement, it turns out, does have an interpretation in terms of homs in an $\left(\infty ,1\right)$-topos. This is described at group cohomology.

### Abstract aspects

Apart from there being cocycles and coboundaries, in order to speak of cohomology we tend to require these to do something: namely to classify something.

Cocycles on some object $X$ do come with a notion of classification of certain structures over $X$ in a $\left(\infty ,1\right)$-topos, as described in detail at principal ∞-bundle. As discussed in the proof there, for that classification to work, however, one needs

in the ambient (∞,1)-category.

Pullbacks are needed in order to obtain the principal ∞-bundle classified by a cocycle (as its homotopy fiber), universal colimits and effective group objects are needed in order to show that every principal $\infty$-bundle does come from a cocycle this way.

But this list of properties is essentially that of the (∞,1)-Giraud axioms that characterize those $\left(\infty ,1\right)$-categories that are $\left(\infty ,1\right)$-toposes.

… needs to be expanded…

The relation between homology, cohomology and homotopy:

homotopycohomologyhomology
$\left[{S}^{n},-\right]$$\left[-,A\right]$$\left(-\right)\otimes A$
category theorycovariant homcontravariant homtensor product
homological algebraExtExtTor
enriched category theoryendendcoend
homotopy theoryderived hom space $ℝ\mathrm{Hom}\left({S}^{n},-\right)$cocycles $ℝ\mathrm{Hom}\left(-,A\right)$derived tensor product $\left(-\right){\otimes }^{𝕃}A$

The ingredients of homology and cohomology:

${H}_{n}={Z}_{n}/{B}_{n}$(chain-)homology(cochain-)cohomology${H}^{n}={Z}^{n}/{B}^{n}$
${C}_{n}$chaincochain${C}^{n}$
${Z}_{n}\subset {C}_{n}$cyclecocycle${Z}^{n}\subset {C}^{n}$
${B}_{n}\subset {C}_{n}$boundarycoboundary${B}^{n}\subset {C}^{n}$

## History and references

The general perspective on cohomology was essentially established in

and apparently known in one form or other before that.

are naturally special cases of one single concept: that of hom-sets

$H\left(X,A\right):={\mathrm{Ho}}_{\mathrm{SSh}}\left(X,A\right)$H(X,A) := Ho_{SSh}(X,A)

in the homotopy category of ∞-groupoid-valued sheaves.

The only fundamental new addition to this insight that is available now and was not available in 1973 is that

This is propositon 6.5.2.1 in Jacob Lurie’s Higher Topos Theory and builds on the fundamental work by K. Brown, Joyal and Jardine and others on the model structure on simplicial presheaves.

For a motivation of these definitions from the point of view of cohomology as a homotopy hom-set of $\infty$-stacks see for instance the introductory pages of

The general abstract picture of cohomology as connected components of mapping spaces in (∞,1)-toposes is the topic of section 7.2.2 of

Notice that the discussion there is, as often in the literature, given from the perspective of a petit topos, i.e. where one thinks of the (∞,1)-topos $𝒳$ as that of ∞-stacks on a given space $X$ (instead of as a gros topos of all generalized spaces, as we do in the above entry). Accordingly then from that perspective one wants to study the cohomology of $X$ itself, which corresponds to the terminal object in the $\left(\infty ,1\right)$-topos. Accordingly, the cohomology in that section 7.2.2 is defined for the terminal coefficient object and for an Eilenberg-MacLane object $K\left(A,n\right)$:

${H}^{n}\left(𝒳,A\right):={\pi }_{0}𝒳\left(*,K\left(A,n\right)\right)$H^n(\mathcal{X},A) := \pi_0\mathcal{X}({*}, K(A,n))

(definition 7.2.2.14).

A comprehensive account of the full non-abelian case and its classification of $G$-principal ∞-bundles, $G$-∞-gerbes and the corresponding twisted cohomology is in

Another reference with a discussion of cohomology in the general sense discussed above, using tools of model category theory for simplicial objects, is

• Brian Conrad, Cohomological descent (pdf)

For more on the pre-history of the notion of cohomology see

Revised on April 7, 2013 15:27:22 by Urs Schreiber (89.204.139.138)