[Math] Possible error in Hartshorne exercise III.2.7

sheaf-cohomologysheaf-theory

Exercise III.2.7 in Hartshorne's Algebraic Geometry is the following.

Let $S^1$ be the circle (with its usual topology) and let $\mathbb Z$
be the constant sheaf $\mathbb Z$.

(a) Show that $H^1(S^1, \mathbb
Z)\cong \mathbb Z$, using our definition of cohomology [derived
functor cohomology]. (b) Now let $\mathcal R$ be the sheaf of germs of
continuous real-valued functions on $S^1$. Show that $H^1(S^1,
\mathcal R)=0$.

I have two questions. The first is just me missing something obvious, but the second seems more serious.

For part (a), it seems like the most straightforward thing to do is to build an injective resolution and take cohomology. In proposition III.2.2, Hartshorne gives us a recipe for constructing injectives: stick together a bunch of skyscraper sheaves. Let $i_p(A)$ denote the skyscraper sheaf at a point $p$ with group $A$. Then I get the resolution
$$\mathbb Z \rightarrow \prod_{p\in S^1} i_p(\mathbb Q) \rightarrow \prod_{p\in S^1} i_p(\mathbb Q/\mathbb Z) \rightarrow 0.$$
But taking global sections and then cohomology gives an answer that is clearly wrong. What am I misunderstanding here?

For (b), it seems the claim is false. For example, if we compute Cech comology using the standard two-piece cover of the circle, mimicking example 4.0.4 in the text, we get that $H^1$ is nonzero. But this seems odd, since Cech cohomology should agree with derived functor cohomology for a good cover. What's going on here?

Best Answer

For (a), your resolution is not right, because $(\prod_{p\in S^1}i_p(\mathbb{Q}))/\mathbb{Z}$ is not $\prod_{p\in S^1}i_p(\mathbb{Q}/\mathbb{Z})$. Or in other words, the kernel of $\prod_{p\in S^1}i_p(\mathbb{Q})\rightarrow \prod_{p\in S^1}i_p(\mathbb{Q}/\mathbb{Z})$ is not $\mathbb{Z}$ (this is $\prod_{p\in S^1}i_p(\mathbb{Z})$).

For (b), you cannot mimick example 4.0.4 to compute the Cech cohomology. In fact, the higher Cech cohomology of this sheaf vanishes. Let $U,V$ your cover (which is good), and consider the Cech complex $$ R(U)\times R(V)\rightarrow R(U\cap V)$$ given by $(f,g)\mapsto f_{|U\cap V}-g_{|U\cap V}$.

The kernel of this map are couple of functions $(f,g)$ that agree on the intersection, and hence patch together to form a unique function on $S^1$. So $\overset{\vee}{H^0}(\{U,V\},R)=R(S^1)$ as expected.

But I claim that the map is onto, so that $\overset{\vee}{H^1}(\{U,V\},R)=0$. Indeed, let $f\in R(U\cap V)$, also let $u,v$ be two functions on $S^1$ such that $u$ has (compact) support in $U$, $v$ has (compact) support in $V$ and $u+v=1$. In particular the function $u$ is zero in a neighborhood of $S^1\setminus V$ and $v$ is zero in a neighborhood of $S^1\setminus U$. The function $uf$ can then be extended to $U$ because it is zero in a neighborhood of $U\setminus U\cap V$. Similarily, the function $vf$ can be extended to $V$. And $(uf,-vf)\mapsto uf+vf=f$ so that the map is onto.

Here $u,v$ are called a partition of unity. A sheaf like $R$ with partitions of unity is called a fine sheaf. This argument (of a similar one with more than two open sets in the cover) shows that the higher Cech cohomology groups of a fine sheaf over a paracompact space vanish. On a paracompact space, Cech and derived functor cohomology agree so the cohomology of a fine sheaf is trivial.

The difference with the example 4.0.4 is that there is no partition of unity in a constant sheaf.

Related Question