Leray Spectral Sequence for Simplicial Maps
Amit Patel and Dustin Sauriol ∗
Department of Mathematics, Colorado State University
Abstract The Leray spectral sequence of a map f computes the homology of the domain of f from the fibers of f. In this expository paper, we relate in full detail the Leray spectral sequence associated to a simplicial map f to the Leray cosheaves of f. We then give applications to level set persistent homology and Reeb spaces.
1 Introduction
In homological algebra, a spectral sequence is a divide-and-conquer approach to computing the homology of a space. Divide the space into subspaces and calculate the homology of each subspace in parallel. Combine the subspaces in a hierarchical fashion updating the homology at each level. Assuming a finite number of subspaces, this process terminates with the homology of the original space. Spectral sequences were originally introduced by Jean Leray in conjunction with sheaves in the early 1940s as a prisoner of war in Austria [And06, Die89]. Leray was interested cohomology, but we are interested in homology so we will work with cosheaves not sheaves. The rough idea is the following. Let f : X → Y be a continuous function. For every point y ∈ Y, record the q-th homology of the fiber f−1(y). The resulting object is a cosheaf f Lq over Y. Now sweep these fiber-wise q-dimensional homology classes over p-dimensional f subspaces of Y to produce a cosheaf homology group Hp(Y; Lq). There is one such group for every pair of dimensions p and q. One may think, naively, that every element of H ( ; Lf ) arXiv:1912.08288v1 [math.AT] 17 Dec 2019 p Y q corresponds to an element of Hp+q(X). In fact, cosheaf homology appears on the second level of the Leray spectral sequence associated to f and there may be many more levels to climb before the total homology of X is reached. Because of their parallel nature, spectral sequences are of interest to computational topol- ogists. In 2010, Edelsbrunner and Harer [EH10] outlined a spectral sequence to compute the persistent homology of a filtration which was later implemented in [BKRW17]. The idea here is to divide the boundary matrix associated to the filtration into blocks which can be
∗This research was partially supported by NSF grant CCF 1717159
1 processed in parallel and then combined in a hierarchical fashion. Given a filtered space, can the filtration be divided into subfiltrations over which persistence can be computed in parallel and then combined in a hierarchical fashion to produce a persistence diagram for the total filtration? An early attempt to answer this question can be found in [LSVJ11]; see also [LM15]. Basu and Parida relate persistent homology groups to spectral sequences [BP17]. Govc and Skraba used a spectral sequence in developing a notion of an approximate Nerve theorem [GS18]. In this paper, we describe in full detail the Leray spectral sequence associated to a simplicial map f : X → Y. We then relate the Leray spectral sequence associated to f to the Leray cosheaves of f. When Y is a triangulation of the real line, the Leray cosheaves of f are well studied by computational topologists under the guise level-set persistent homology [CdSM09]. We conclude by relating the Leray spectral sequence to Reeb spaces [EHP08, Pat10]. Nothing in this paper is new. The Leray spectral sequence is now a special case of the Grothendieck spectral sequence which can be found in most textbooks on homolog- ical algebra; see for example [Wei94]. The conclusions we draw about level set persis- tent homology (Corollary 4.1) are well known although proved in a different language [BEMP13, CdSM09]. The conclusions we draw about Reeb spaces (Corollary 4.2) have also been observed [BCP18, DMW17]. The connection between level-set persistent homol- ogy and cosheaves was made explicit by Curry [Cur14] which contains a statement similar to our Corollary 4.1 but without a proof. The task of learning spectral sequences and its connection to sheaves can be daunting especially in the modern language of derived categories. Here we choose to develop the Leray spectral sequence in the combinatorial setting of a simplicial map. We require the reader has a working knowledge of basic linear algebra and simplicial homology. We hope this exposition will be useful to those interested in developing algorithms based on spectral sequences.
2 Leray Spectral Sequence
We now define the Leray spectral sequence associated to a simplicial map f : X → Y. Throughout this paper, a simplex is always open.
r r r Definition 2.1: A spectral sequence is a collection of three sequences (E , d , ξ )r>0: 1.A k-vector space Er, often called a sheet or page. 2.A k-linear endomorphism dr : Er → Er such that dr ◦ dr = 0 called a boundary map. ker dr 3. An isomorphism ξr : H(Er) := → Er+1. im dr The spectral sequence is said to converge if there is some integer k such that dr = 0 for all r r−1 r > k. The spectral sequence converges on page k if d = 0 for all r > k and d 6= 0. r r r r ∼ k Note that if (E , d , ξ )r>0 converges on page k, then, by Condition 3, E = E for all r > k.
2 We start by setting up the necessary filtrations followed by the construction of the Leray spectral. We conclude this section with a theorem on convergence and a proposition that will be useful in the next section.
2.1 Filtrations
Fix a simplicial map f : X → Y and a field k. The two complexes X and Y need not be finite nor of bounded dimensions. Consider the simplicial chain complex associated to X:
∂d+1 ∂d ··· Cd+1(X) Cd(X) Cd−1(X) ··· . (1)
For any integer d, the chain group Cd(X) is the k-vector space generated by the set of oriented d-simplices in X. Since X may be infinite, we require that every element of Cd(X) L be non-zero over finitely many d-simplices. In other words, Cd( ) := k. The X σ∈X:dim σ=d boundary homomorphism ∂ is induced by the operation that takes each oriented d-simplex [u0,..., ud] to the signed sum d i ∂[u0, ··· , ud] := (−1) [u0, ··· , uˆi, ··· , ud] i=0 X where the hat over σi indicates its deletion. The j-th-skeleton of Y, denoted Yj, is the subcomplex of Y consisting of all i-simplicies 0 1 such that i 6 j. The filtration of Y by its skeleta Y ⊆ Y ⊆ · · · lifts to a filtration j X0 ⊆ X1 ⊆ · · · of X where Xj := σ ∈ X : f(σ) ∈ Y . For any pair of integers p and q, let Xp,q be the set of (p + q)-simplices of X lying in Xp. Let Xp,q ⊆ Cp+q(X) be the subspace generated by the set Xp,q. Consider the following diagram: ∂ Xp,q Xp,q−1
∂ ∂ ∂ ··· Cp+q(X) Cp+q−1(X) ··· .
Every face of a simplex in Xp,q lies in Xp,q−1. As a consequence, the boundary map ∂ : Cp+q(X) → Cp+q−1(X) restricts to a boundary map ∂ : Xp,q → Xp,q−1. Consider the following commutative diagram where r is any integer:
∂ ∂ ··· Xp−r,q+r+1 Xp−r,q+r Xp−r,q+r−1 ···
∂ ∂ ··· Xp,q+1 Xp,q Xp,q−1 ··· (2)
∂ ∂ ··· Xp+r,q−r+1 Xp+r,q−r Xp+r,q−r−1 ···
∂ ∂ ··· Cp+q+1(X) Cp+q(X) Cp+q−1(X) ··· .
3 r r r Let Bp,q ⊆ Xp,q ⊆ Cp+q(X) be the subspace Bp,q := Xp,q ∩ ∂ (Xp+r,q−r+1) and let Zp,q ⊆ r −1 Xp,q ⊆ Cp+q(X) be the subspace Zp,q := Xp,q ∩ ∂ (Xp−r,q+r−1). We now state a series of r r elementary observations about Bp,q and Zp,q that can be easily verified by chasing elements in Diagram2: r r+1 r+1 r Bp,q ⊆ Bp,q Zp,q ⊆ Zp,q (3) r r+1 r r−1 Zp,q ⊆ Zp+1,q−1 Bp,q ⊆ Bp+1,q−1 (4) r r Bp,q ⊆ Zp,q (5)
2.2 Spectral Sequence
We start with the pages of the Leray spectral sequence associated to f : X → Y. For all r > 0, let Zr Er := p,q . p,q r−1 r−1 Zp−1,q+1 + Bp,q Here the + stands for the internal sum of the two subspaces in Cp+q(X). Define the r-th r r r r L r page of the spectral sequence (E , d , ξ )r>0 as E := ∀p,q Ep,q. We now begin the construction of the endomorphisms dr : Er → Er by constructing a r r r boundary map dp,q : Ep,q → Ep−r,q+r−1 for all p and q. r r Lemma 2.2: ∂ Zp,q) = Bp−r,q+r−1. Proof. r −1 ∂ Zp,q = ∂ Xp,q ∩ ∂ (Xp−r,q+r−1) by deifinition
= Xp−r,q+r−1 ∩ ∂ (Xp,q) distribute ∂ r = Bp−r,q+r−1 by definition.
r−1 r−1 r−1 Lemma 2.3: ∂(Zp−1,q+1 + Bp,q ) = Bp−r,q+r−1. Proof. r−1 r−1 r−1 r−1 ∂ Zp−1,q+1 + Bp,q = ∂ Zp−1,q+1 + ∂ Bp,q distribute ∂ r−1 r−1 = Bp−r,q+r−1 + ∂ Bp,q by Lemma 2.2 r−1 = Bp−r,q+r−1 by ∂ ◦ ∂ = 0.
r r By Lemmas 2.2 and 2.3 and the inclusions Bp−r,q+r−1 ⊆ Zp−r,q+r−1 (Observation5) r−1 r−1 r−1 and Bp−r,q+r−1 ⊆ Zp−r−1,q+r + Bp−r,q+r−1, the boundary map ∂ : Cp+q(X) → Cp+q−1(X) r r r r r restricts to a boundary map dp,q : Ep,q → Ep−r,q+r−1. Define the endomorphism d : E → r r L r r r r r E as d := ∀p,q dp,q. We have d ◦ d = 0 because dp−r,q+r−1 ◦ dp,q = 0. See Figures1, 2, and3 for an illustration of the first three pages. Now we begin the task of constructing the isomorphisms ξr.
4 Zr+1 Lemma 2.4: ker dr = p,q . p,q r−1 r−1 Zp−1,q+1 + Bp,q Proof. The kernel is Zr ∩ ∂−1 Zr−1 + Br−1 ker dr = p,q p−r−1,q+r p−r,q+r−1 p,q r−1 r−1 Zp−1,q+1 + Bp,q Zr ∩ ∂−1(Zr−1 ) + Zr ∩ ∂−1(Br−1 ) = p,q p−r−1,q+r p,q p−r,q+r−1 . r−1 r−1 Zp−1,q+1 + Bp,q We now work on numerator:
r −1 r−1 r −1 −1 Zp,q ∩ ∂ (Zp−r−1,q+r) = Zp,q ∩ ∂ Xp−r−1,q+r ∩ ∂ (Xp−2r,q+2r−2) by definition r −1 −1 −1 −1 = Zp,q ∩ ∂ (Xp−r−1,q+r) ∩ ∂ ∂ (Xp−2r,q+2r−2) distribute ∂ r −1 = Zp,q ∩ ∂ (Xp−r−1,q+r) ∩ Xp−2r,q+2r r −1 = Zp,q ∩ ∂ (Xp−r−1,q+r) r −1 r−1 r −1 Zp,q ∩ ∂ (Bp−r,q+r−1) = Zp,q ∩ ∂ Xp−r,q+r−1 ∩ ∂(Xp−1,q+1) by definition r −1 −1 = Zp,q ∩ ∂ (Xp−r,q+r−1) ∩ Xp−1,q+1 distribute ∂ r r−1 = Zp,q ∩ Zp−1,q+1 by definition. Furthermore
r −1 r r−1 r+1 r r−1 Zp,q ∩ ∂ Xp−r−1,q+r + Zp,q ∩ Zp−1,q+1 = Zp,q + Zp,q ∩ Zp−1,q+1 r+1 r−1 = Zp,q + Zp−1,q+1 Observation4 r+1 = Zp,q Observation4.
Zr + Br Lemma 2.5: im dr = p−1,q+1 p,q . p+r,q−r+1 r−1 r−1 Zp−1,q+1 + Bp,q Proof. We have ∂(Zr ) im dr = p+r,q−r+1 p+r,q−r+1 r−1 r−1 Zp−1,q+1 + Bp,q Br = p,q by Lemma 2.2 r−1 r−1 Zp−1,q+1 + Bp,q Br + Zr−1 + Br−1 = p,q p−1,q+1 p,q r−1 r−1 Zp−1,q+1 + Bp,q Br + Zr−1 = p,q p−1,q+1 Observation3. r−1 r−1 Zp−1,q+1 + Bp,q
5 ......
d0 d0 0 p−1,q+1 0 p−1,q 0 ··· Ep−1,q+1 Ep−1,q Ep−1,q−1 ···
d0 d0 0 p,q+1 0 p,q 0 ··· Ep,q+1 Ep,q Ep,q−1 ···
d0 d0 0 p+1,q+1 0 p+1,q 0 ··· Ep+1,q+1 Ep+1,q Ep+1,q−1 ···
......
Figure 1: A visualization of E0.
By Lemmas 2.4 and 2.5,
ker dr Zr+1 ( r ) = p,q = p,q = r+1 H Ep,q r r r Ep,q . im dp+r,q−r+1 Zp−1,q+1 + Bp,q
r r r+1 r L r Thus we have an isomorphism ξp,q : H(Ep,q) → Ep,q . Let ξ := ∀p,q ξp,q. We are r r r finished defining the Leray spectral sequence (E , d , ξ )r>0 associated to the simplicial map f : X → Y.
2.3 Convergence
If the dimension of Y is bounded, then the Leray spectral sequence of f : X → Y converges. r r r Proposition 2.6: Let f : X → Y be a simplicial map, (E , d , ξ )r>0 its Leray spectral r r r sequence, and m = dim Y. Then (E , d , ξ )r>0 converges on page r = m + 1. r Proof. For p 6 m, Ep−r,q+r−1 = 0 because Xp−r,q+r−1 = 0. This makes the codomain of r dp,q zero. For p > m, consider
r −1 Zp,q = Xp,q ∩ ∂ (Xp−r,q+r−1) −1 = Cp+q(X) ∩ ∂ (Xp−r,q+r−1) r−1 −1 Zp−1,q+1 = Xp−1,q+1 ∩ ∂ (Xp−r,q+r−1) −1 = Cp+q(X) ∩ ∂ (Xp−r,q+r+1).
r This makes the domain of dp,q zero.
6 ......
1 1 1 ··· Ep−1,q+1 Ep−1,q Ep−1,q−1 ···
1 1 1 dp,q+1 dp,q dp,q−1
1 1 1 ··· Ep,q+1 Ep,q Ep,q−1 ···
1 1 1 dp+1,q+1 dp+1,q dp+1,q−1
1 1 1 ··· Ep+1,q+1 Ep+1,q Ep+1,q−1 ···
......
Figure 2: A visualization of E1.
......
2 2 2 ··· Ep−2,q+1 Ep−2,q Ep−2,q−1
2 2 2 ··· Ep−1,q+1 Ep−1,q Ep−1,q−1 ··· d2 d2
2 2 2 ··· Ep,q+1 Ep,q Ep,q−1 ··· d2 d2
2 2 2 ··· Ep+1,q+1 Ep+1,q Ep+1,q−1 ··· d2 d2
2 2 2 ··· Ep+2,q+1 Ep+2,q Ep+2,q−1 ···
......
Figure 3: A visualization of E2 (indices on dr are dropped for spacing reasons).
7 Theorem 2.7: Let f : → be a simplicial map, (Er, dr, ξr) its Leray spectral X Y r>0 ∼ Lk m+1 sequence, and m = dim Y. Then there is a canonical isomorphism Hk (X) = p=0 Ep,k−p.
Proof. Let Zp+q := ker ∂ : Cp+q(X) → Cp+q−1(X) and let Bp+q := im ∂ : Cp+q+1(X) → Zp+q Cp+q(X). Then Hp+q(X) := . Let Zp,q := Xp,q ∩ Zp+q and let Bp,q := Xp,q ∩ Bp+q. Bp+q Diagram2 induces the following diagram of inclusions:
B0,p+q ··· Bp−1,q+1 Bp,q ··· Bp+q
Z0,p+q ··· Zp−1,q+1 Zp,q ··· Zp+q. We have Zm+1 m+1 = p,q Ep,q m m Zp−1,q+1 + Bp,q X ∩ ∂−1(X ) = p,q p−m−1,q+m −1 by definition Xp−1,q+1 ∩ ∂ (Xp−1−m,q+m) + Xp,q ∩ ∂(Xp+m,q−m+1) X ∩ Z = p,q p+q Xp−1,q+1 ∩ Zp+q + Xp,q ∩ Bp+q Z = p,q Zp−1,q+1 + Bp,q Zp,q B = p,q Zp−1,q+1
Bp−1,q+1 ∼ Lk m+1 which is a direct summand of Hp+q(X). Therefore Hk (X) = p=0 Ep,k−p.
3 Leray Cosheaves
Let f : X → Y be a simplicial map. For each point p ∈ |Y|, the pre-image |f−1|(p) is a space which we encode, algebraically, as a chain complex. The collection of such chain complexes over all points in |Y| assembles into a cosheaf of chain complexes over Y. Since the data of f is discrete, this cosheaf is discrete: one need only define it on simplices and face relations of Y. The d-th Leray cosheaf of f is the d-th homology functor applied pointwise to this cosheaf of chain complexes.
3.1 Cosheaf of Chain Complexes
Fix a simplicial map f : X → Y. For all (open) τ ∈ Y and integers q, let f −1 Xq(τ) := σ ∈ X dim σ = dim τ + q and σ ∈ f (τ) . 8 f Note that Xq(τ) may not be a simplicial complex. Let Fq(τ) ⊆ Cdim τ+q(X) be the subspace f generated by the set Xq(τ). The boundary of an oriented simplex σ = [u0,..., udim τ+q] in f Xq(τ) is dim τ+q i ∂σ := (−1) [u0, ··· , uˆi, ··· , udim τ+q] i=0 X where the hat over ui indicates its deletion. Not every simplex in the boundary of σ belongs f f to Xq−1(τ). Nonetheless, this simplex-wise boundary operation taking each σ ∈ Xq(τ) to f a signed up of simplices that are actually in Xq−1(τ) induces a boundary homomorphism ∂ : Fq(τ) → Fq−1(τ). In this way, f induces a chain complex F•(τ) of k-vector spaces over each simplex τ ∈ Y. Note that F•(τ) is simply the restriction of the simplicial chain complex f for X (see Equation1) to Xq(τ). 0 0 0 Now we define a chain map F•(τ 6 τ): F•(τ) → F•(τ ) for every face relation τ 6 τ in Y −1 0 0 0 Every simplex σ ∈ f (τ) has a maximal face σ 6 σ such that f(σ ) = τ . If dim σ−dim τ = dim σ0 − dim τ0, then we send σ to σ0 with the appropriate sign. Otherwise, we send σ to 0. We now work on the appropriate sign for the first case. Orient σ = [u0, ··· , udim τ+q] as follows. Call a vertex ui of σ alone if ui is the only vertex of σ that maps to f(ui). Choose the orientation on σ so that if ui is alone, then uj is also alone for all j > i. That is, push all the alone vertices of σ to the end of the ordering. Since we are assuming dim σ − dim τ = dim σ0 − dim τ0, there are exactly dim τ − dim τ0 vertices of σ that are 0 0 removed to get σ and furthermore all these vertices are alone. Let Fq(τ 6 τ) be the map 0 generated by sending [u0, ··· , udim τ+q] to the oriented simplex σ obtained by deleting the appropriate vertices. We now argue commutativity of the following diagram:
∂ ∂ ∂ ∂ ··· Fq+1(τ) Fq(τ) Fq−1(τ) ···
0 0 0 Fq+1(τ 6τ) Fq(τ 6τ) Fq−1(τ 6τ) ∂ 0 ∂ 0 ∂ 0 ∂ ··· Fq+1(τ ) Fq(τ ) Fq−1(τ ) ··· .
i Suppose (−1) [u0, ··· , uˆi, ··· , udim τ+q] is a term in the signed sum ∂[u0, ··· udim τ+q]. As- −1 suming this simplex belongs to f (τ), ui cannot be alone. Note that all the alone vertices 0 of [u0, ··· , uˆi, ··· , udim τ+q] are at the end of the ordering. Then Fq−1(τ 6 τ) applied to [u0, ··· , uˆi, ··· , udim τ+q] is obtained by deleting the appropriate alone vertices. Now 0 consider the other direction. The map Fq(τ 6 τ) takes [u0, ··· , udim τ+q] to the oriented simplex obtained by deleting the appropriate alone vertices. Then ∂ applied to the resulting oriented simplex is obtained by deleting the i-th vertex with a sign of (−1)i. Note that this index i is the same as the i in [u0, ··· , ui, ··· , udim τ+q]. The diagram commutes. As an 00 0 00 00 0 0 immediate consequence, for every triple τ 6 τ 6 τ, F•(τ 6 τ) = F•(τ 6 τ )◦F•(τ 6 τ). Definition 3.1: The entrance path category Ent(Y) of the simplicial complex Y is the poset with an object for each simplex τ ∈ Y and a morphism τ → τ0 for every face relation 0 τ 6 τ.
Given f : X → Y, the assignment to each τ ∈ Y the chain complex F•(τ) and to each
9 0 0 τ 6 τ the chain map F•(τ 6 τ) is a functor F• : Ent(Y) → Ch•(Vec) where Ch•(Vec) is the category of chain complexes of k-vector spaces.
Definition 3.2: A cosheaf of vector spaces over a simplicial complex Y is a functor L : Ent(Y) → Vec. The q-th Leray cosheaf of a simpicial map f : X → Y is the functor f Lq := Hq ◦ F• : Ent(Y) → Vec where Hq : Ch• → Vec is the q-th homology functor.
3.2 Cosheaf homology
Fix a cosheaf L : Ent(Y) → Vec of vector spaces over Y. In this section, we define the homology of Y with coefficients in L also known as the cosheaf homology of L. L For an integer p, let Cp ; L := p p−1 L(τ). The boundary map ∂ : Cp( ; L) → Y τ∈Y \Y Y Cp−1(Y; L) is generated by the following assignment. For an oriented p-simplex τ = [v0,..., vp] in Y and a ∈ L(τ), let
p i ∂(a) := (−1) L [v0,..., vˆi,..., vp] 6 τ (a) ∈ Ck−1 Y; L(τ) . i=0 X We have ∂ ◦ ∂(a) = 0 because ∂ ◦ ∂(τ) = 0 and L is a functor (i.e. everything commutes). Thus we have a chain complex C•(Y; L):