In this post we briefly recall the construction of Čech cohomology as well as compute a few examples. Let X be a topological space with a cover U={Ui}, F a C-valued sheaf on X, and ˆF a C-valued cosheaf on X, for some category C (usually abelian groups).
Definition: The nerve N of U is the simplicial complex that has an r-simplex ρ for every non-empty intersection of r+1 opens of U. The support Uρ of ρ is this non-empty intersection. The r-skeleton Nr of N is the collection of all r-simplices.
Remark: The sheaf F and cosheaf ˆF may be viewed as being defined either on the opens of U over X, or on the nerve N of U. Indeed, the inclusion map V↪U on opens is given by the forgetful map ∂. That is, ∂i:Nr→Nr−1 forgets the ith open defining ρ∈Nr, so if Uρ=U0∩⋯∩Ur, then U∂0ρ=U1∩⋯∩Ur.
The Čech (co)homology will be defined as the (co)homology of a particular complex, whose boundary maps will be induced by, equivalently, the inclusion map on opens or ∂i on simplices.
Definition: In the context above:
Example: Let X=S1 with a cover U={U,V,W} and associated nerve NU as below.
The cover is chosen so that all intersections are contractible. Let k be a field. Let ˆF be a cosheaf over N and F a sheaf over N, with ˆF(0-cell)=F(1-cell)=(1,1)∈k2 and ˆF(1-cell)=F(0-cell)=1∈k, so that the natural extension and restriction maps work. Then all the degree 0 and 1 chain and cochain groups are k3. Giving a counter-clockwise orientation to X, we easily see that
d1σU∩V=σV−σU,δ0σU=σU∩V−σW∩U,d1σV∩W=σW−σV,δ0σV=σV∩W−σU∩V,d1σW∩U=σU−σW,δ0σW=σW∩U−σV∩W.If we give an ordered basis of (σU∩V,σV∩W,σW∩U) to ˇC1(U,ˆF) and ˇC1(U,F), and (σU,σV,σW) to ˇC0(U,ˆF) and ˇC0(U,F), we find that
d1=[−1011−1001−1]∼[10−101−1000],δ0=[−1100−1110−1]∼[10−101−1000].
The Čech chain and cochain complexes are then
0→ˇC1(U,ˆF)d1→ˇC0(U,ˆF)→0,0→ˇC0(U,F)δ0→ˇC1(U,F)→0,for which
H1(U,ˆF)=ker(d1)=k,H0(U,F)=ker(δ0)=k,H0(U,ˆF)=k3/Im(d1)=k3/k2=k,H1(U,F)=k3/Im(δ0)=k3/k2=k.By the Čech-de Rham theorem, we know that the (co)homology groups should agree with the usual groups for S1, as U was a good cover, which they do. Next we compute another example with a view towards persistent homology.
Definition: Let X be a topological space and f:X→Y a map with U covering f(X). The Leray sheaf Li of degree i over NU is defined by Li(σ)=Hi(f−1(Uσ)) and Li(σ↪τ)=Hi(f−1(Uτ)↪f−1(Uσ)), whenever σ is a face of τ.
Theorem (Curry, Theorem 8.2.21): In the context above, if NU is at most 1-dimensional, then for any t∈R,
Hi(f−1(−∞,t])≅H0((−∞,t],Li)⊕H1((−∞,t],Li−1).
The idea is to apply this theorem in a filtration, for different values of t, but in the example below we will have t large enough so that X⊂f−1(−∞,t].
Example: Let f:S1→R be a projection map, and let X=f(S1) with a cover U={U,V} as below.
Note that although f−1(U)∩f−1(V) is not contractible, U∩V is, and the Čech cohomology will be over U⊂R, so we are fine in applying the Čech-de Rham theorem. It is immediate that the only non-zero Leray sheaves are L0, for which
L0(σU)=k,L0(σV)=k,L0(σU∩V)=k2,hence ˇC0(U,L0)=ˇC1(U,L0)=k2. Giving ˇC0(U,L0) the ordered basis (σU,σV) and noting the homology maps H0(f−1(U)↪f−1(U∩V)) and H0(f−1(V)↪f−1(U∩V)) are simply 1↦(1,1), the \v Cech complex is
0→ˇC0(U,L0)[−1−111]→ˇC1(U,L0)→0.
Hence H0(U,L0)=ker(δ0)=k and H1(U,L0)=k2/Im(δ0)=k2/k=k, allowing us to conclude, using Curry's and the Čech--de Rham theorems, that
H0(S1)≅H0(U,L0)⊕H1(U,L−1)=k⊕0=k,H1(S1)≅H0(U,L1)⊕H1(U,L0)=0⊕k=k,H2(S1)≅H0(U,L2)⊕H1(U,L1)=0⊕0=0,as expected.
References: Bott and Tu (Differential forms in algebraic topology, Section 10), Bredon (Sheaf theory, Section VI.4), Curry (Sheaves, cosheaves, and applications, Section 8)
Definition: The nerve N of U is the simplicial complex that has an r-simplex ρ for every non-empty intersection of r+1 opens of U. The support Uρ of ρ is this non-empty intersection. The r-skeleton Nr of N is the collection of all r-simplices.
Remark: The sheaf F and cosheaf ˆF may be viewed as being defined either on the opens of U over X, or on the nerve N of U. Indeed, the inclusion map V↪U on opens is given by the forgetful map ∂. That is, ∂i:Nr→Nr−1 forgets the ith open defining ρ∈Nr, so if Uρ=U0∩⋯∩Ur, then U∂0ρ=U1∩⋯∩Ur.
The Čech (co)homology will be defined as the (co)homology of a particular complex, whose boundary maps will be induced by, equivalently, the inclusion map on opens or ∂i on simplices.
Definition: In the context above:
- a p-chain is a finite formal sum of elements aσi∈ˆF(Uσi), for every σi a p-simplex,
- a q-cochain is a finite formal sum of elements bτj∈F(Uτj), for every τj a q-simplex,
- the p-differential is the map dp:ˇCp(U,F)→ˇCp−1(U,F) given by
- the q-codifferential is the map δq:ˇCq(U,F)→ˇCq+1(U,F) given by
Example: Let X=S1 with a cover U={U,V,W} and associated nerve NU as below.
The cover is chosen so that all intersections are contractible. Let k be a field. Let ˆF be a cosheaf over N and F a sheaf over N, with ˆF(0-cell)=F(1-cell)=(1,1)∈k2 and ˆF(1-cell)=F(0-cell)=1∈k, so that the natural extension and restriction maps work. Then all the degree 0 and 1 chain and cochain groups are k3. Giving a counter-clockwise orientation to X, we easily see that
d1σU∩V=σV−σU,δ0σU=σU∩V−σW∩U,d1σV∩W=σW−σV,δ0σV=σV∩W−σU∩V,d1σW∩U=σU−σW,δ0σW=σW∩U−σV∩W.If we give an ordered basis of (σU∩V,σV∩W,σW∩U) to ˇC1(U,ˆF) and ˇC1(U,F), and (σU,σV,σW) to ˇC0(U,ˆF) and ˇC0(U,F), we find that
d1=[−1011−1001−1]∼[10−101−1000],δ0=[−1100−1110−1]∼[10−101−1000].
The Čech chain and cochain complexes are then
0→ˇC1(U,ˆF)d1→ˇC0(U,ˆF)→0,0→ˇC0(U,F)δ0→ˇC1(U,F)→0,for which
H1(U,ˆF)=ker(d1)=k,H0(U,F)=ker(δ0)=k,H0(U,ˆF)=k3/Im(d1)=k3/k2=k,H1(U,F)=k3/Im(δ0)=k3/k2=k.By the Čech-de Rham theorem, we know that the (co)homology groups should agree with the usual groups for S1, as U was a good cover, which they do. Next we compute another example with a view towards persistent homology.
Definition: Let X be a topological space and f:X→Y a map with U covering f(X). The Leray sheaf Li of degree i over NU is defined by Li(σ)=Hi(f−1(Uσ)) and Li(σ↪τ)=Hi(f−1(Uτ)↪f−1(Uσ)), whenever σ is a face of τ.
Theorem (Curry, Theorem 8.2.21): In the context above, if NU is at most 1-dimensional, then for any t∈R,
Hi(f−1(−∞,t])≅H0((−∞,t],Li)⊕H1((−∞,t],Li−1).
The idea is to apply this theorem in a filtration, for different values of t, but in the example below we will have t large enough so that X⊂f−1(−∞,t].
Example: Let f:S1→R be a projection map, and let X=f(S1) with a cover U={U,V} as below.
Note that although f−1(U)∩f−1(V) is not contractible, U∩V is, and the Čech cohomology will be over U⊂R, so we are fine in applying the Čech-de Rham theorem. It is immediate that the only non-zero Leray sheaves are L0, for which
L0(σU)=k,L0(σV)=k,L0(σU∩V)=k2,hence ˇC0(U,L0)=ˇC1(U,L0)=k2. Giving ˇC0(U,L0) the ordered basis (σU,σV) and noting the homology maps H0(f−1(U)↪f−1(U∩V)) and H0(f−1(V)↪f−1(U∩V)) are simply 1↦(1,1), the \v Cech complex is
0→ˇC0(U,L0)[−1−111]→ˇC1(U,L0)→0.
Hence H0(U,L0)=ker(δ0)=k and H1(U,L0)=k2/Im(δ0)=k2/k=k, allowing us to conclude, using Curry's and the Čech--de Rham theorems, that
H0(S1)≅H0(U,L0)⊕H1(U,L−1)=k⊕0=k,H1(S1)≅H0(U,L1)⊕H1(U,L0)=0⊕k=k,H2(S1)≅H0(U,L2)⊕H1(U,L1)=0⊕0=0,as expected.
References: Bott and Tu (Differential forms in algebraic topology, Section 10), Bredon (Sheaf theory, Section VI.4), Curry (Sheaves, cosheaves, and applications, Section 8)