Skip to main content
Top

Open Access 04-09-2024

Signed Barcodes for Multi-parameter Persistence via Rank Decompositions and Rank-Exact Resolutions

Authors: Magnus Bakke Botnan, Steffen Oppermann, Steve Oudot

Published in: Foundations of Computational Mathematics

Activate our intelligent search to find suitable subject content or patents.

search-config
download
DOWNLOAD
print
PRINT
insite
SEARCH
loading …

Abstract

In this paper, we introduce the signed barcode, a new visual representation of the global structure of the rank invariant of a multi-parameter persistence module or, more generally, of a poset representation. Like its unsigned counterpart in one-parameter persistence, the signed barcode decomposes the rank invariant as a \({\mathbb {Z}}\)-linear combination of rank invariants of indicator modules supported on segments in the poset. We develop the theory behind these decompositions, both for the usual rank invariant and for its generalizations, showing under what conditions they exist and are unique. We also show that, like its unsigned counterpart, the signed barcode reflects in part the algebraic structure of the module: specifically, it derives from the terms in the minimal rank-exact resolution of the module, i.e., its minimal projective resolution relative to the class of short exact sequences on which the rank invariant is additive. To complete the picture, we show some experimental results that illustrate the contribution of the signed barcode in the exploration of multi-parameter persistence modules.
Notes
Communicated by Konstantin Mischaikow.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

1 Introduction

1.1 Context

Given a persistence module \(M\), i.e., a representation of a poset \(P\) in the category of vector spaces, the rank invariant \({{\,\textrm{Rk}\,}}M\) [16] encodes the (possibly infinite) ranks of all the internal morphisms of \(M\):
$$\begin{aligned} {{\,\textrm{Rk}\,}}M(s,t)\ :=\ {{\,\textrm{rank}\,}}\left[ M(s)\rightarrow M(t) \right] \quad \text{ for } \text{ every } \ (s,t)\in \{ {\le }_{P} \}. \end{aligned}$$
(1.1)
Here, the poset \(P\) is fixed and viewed as a category with a single object per element \(s\in P\) and a single morphism per couple of comparable elements \(s\le t\in P\) (we write \(\{ {\le }_{P} \}\) for the set of all these couples), and \(M\) is a functor from \(P\) to the category \(\textrm{Vec}_{\textbf{k}}\) of vector spaces over an arbitrary but fixed field \(\textbf{k}\). We write \({{\,\textrm{Rep}\,}}P\) for the category of such functors, and \({{\,\textrm{rep}\,}}P\) for the full subcategory spanned by the objects \(M\) that are pointwise finite dimensional (pfd), i.e., that satisfy \(\dim M(s) <\infty \) for all \(s\in P\). For \({I}\) an interval (i.e., convex1 and connected2) in P, we let \(\textbf{k}_{I}\in {{\,\textrm{rep}\,}}P\) denote the interval persistence module given by
$$\begin{aligned} (\textbf{k}_{I})(s) = {\left\{ \begin{array}{ll} \textbf{k}& \text {if }s\in {I}, \\ 0 & \text {if }s\not \in {I},\end{array}\right. } \end{aligned}$$
where \((\textbf{k}_{I})(s)\rightarrow (\textbf{k}_{I})(t)\) is the identity map for any \(s\le t\in I\).
In practical applications of TDA, the poset \(P\) is usually taken to be \({\mathbb {R}}^d\), viewed as a product of d copies of the totally ordered real line, or any subposet thereof (notable cases include the integer grid \({\mathbb {Z}}^d\) and its finite subgrids). Importantly, for totally ordered sets and pfd representations, the rank invariant describes any module up to isomorphism and is therefore a complete invariant. This is a direct consequence of the following fundamental result (Fig. 1).
Theorem 1.1
[10, 22] Let \(P\) be a totally ordered set. Then, any \(M\in {{\,\textrm{rep}\,}}P\) decomposes as
$$\begin{aligned} M\simeq \bigoplus _{{I}\in \text {Bar}\,M} \textbf{k}_{I}, \end{aligned}$$
(1.2)
for a unique multiset of intervals \(\text {Bar}\,M\) called the persistence barcode of \(M\).
Remarkably, what at first glance appears to be a complicated collection of vector spaces and linear maps admits a compact description by simple subsets of \({\mathbb {R}}\). This result has played a pivotal role in TDA and nearly all of the theory for persistent homology in a single-parameter (\(d=1\)) has been developed from the barcode. It is also worth observing that it is easy to compute the barcode from the rank invariant when \(P\) is locally finite via the following inclusion-exclusion formula (which assumes for simplicity that \(P={\mathbb {Z}}\), and where \({\text {mult}}_{I}\text {Bar}\,M\) denotes the multiplicity of \({I}\) in the multiset \(\text {Bar}\,M\)):
$$\begin{aligned} \begin{gathered} \begin{array}{rcl} {\text {mult}}_{\llbracket s,t\rrbracket }\text {Bar}\,M& =& {{\,\textrm{Rk}\,}}M(s,t) - {{\,\textrm{Rk}\,}}M(s-1, t) \\ & & - {{\,\textrm{Rk}\,}}M(s, t+1) + {{\,\textrm{Rk}\,}}M(s-1, t+1). \end{array} \end{gathered} \end{aligned}$$
(1.3)
The picture in the multi-parameter setting (\(d>1\)) is much less bright. First and foremost, the representation theory of such posets is of “wild type”. This essentially means that classifying the space of indecomposable representations is a hopeless task. This poses a serious challenge for the development of an efficient theory of multi-parameter persistence, and for that reason most of the descriptors that have proven useful in applications have been defined using (a part of) the rank invariant; see [12] for a recent treatment on multi-parameter persistence.
Since the rank invariant is equivalent to a set of intervals for \(d=1\) (the barcode), a natural step forward is to develop a theory for \(d>1\) based on (possibly unique) geometric decompositions of the rank invariant. If successful, then much of the theory developed for \(d=1\) could potentially generalize in a natural way. However, the rank invariant can no longer be decomposed as a sum of rank invariants of interval modules, as the following example shows.
Example 1.2
Consider the module \(M\) on the left-hand side of Fig. 2, which is a representation of the grid poset \(\llbracket 1,3\rrbracket \times \llbracket 1,3\rrbracket \subset {\mathbb {R}}^2\), and assume there is a decomposition \({{\,\textrm{Rk}\,}}M= \sum _{{I}\in \mathcal {I}} {{\,\textrm{Rk}\,}}\textbf{k}_{I}\). Since \(M((1,2)\rightarrow (1,3)) = \textrm{id}= M((1,3)\rightarrow (2,3))\), the square \(\llbracket 1,2\rrbracket \times \llbracket 2,3\rrbracket \) must be contained in one of the intervals, say \({I}\). Similarly, the square \(\llbracket 2,3\rrbracket \times \llbracket 1,2\rrbracket \) must be contained in some interval \({I}'\) involved in the decomposition. If \({I}\) and \({I}'\) are the same interval, then the morphism \((2,1)\rightarrow (2,3)\) has non-zero rank in the decomposition, whereas it has zero rank in \(M\), a contradiction. But if \({I}\) and \({I}'\) are not the same interval, then no other interval may appear in the decomposition because the dimension vector of \(M\) is then saturated by \({I}\) and \({I}'\), so the morphism \((1,2)\rightarrow (3,2)\) has zero rank in the decomposition, whereas it has non-zero rank in \(M\), again a contradiction.
Even in cases where \({{\,\textrm{Rk}\,}}M\) does decompose as a sum of rank invariants of interval modules, this decomposition may tell little to nothing about the direct-sum decomposition of \(M\). That is, the rank invariant is not even complete on the subcategory of interval-decomposable modules, which by definition only have interval modules as indecomposable direct summands. The following example illustrates this well-known fact.
Example 1.3
Consider again the module \(M\) on the left-hand side of Fig. 2, and take its direct sum with the module \(N\) highlighted in red on the right-hand side. Then, as shown in the figure, \({{\,\textrm{Rk}\,}}(M\oplus N)\) does admit a decomposition as a sum of rank invariants of interval modules, however these intervals differ significantly from the indecomposable direct summands \(M\) and \(N\): in particular, the first interval in the decomposition creates the illusion that it should be spanned by some feature in \(M\oplus N\), whereas in fact no feature does so, as explained in Example 1.2.
To overcome the issues raised in Examples 1.2 and 1.3, we turn to signed decompositions of the generalized rank invariant.

1.2 Signed Rank Decompositions

The generalized rank invariant is a construction introduced by Kim and Mémoli [26] which probes the existence of ‘features’ in the module across arbitrary intervals \({I}\subseteq P\):
Definition 1.4
Let \(M\in {{\,\textrm{Rep}\,}}P\).
Given an interval \({I}\subseteq P\), the generalized rank of \(M\) over \({I}\), denoted by \({{\,\textrm{Rk}\,}}_{I}M\), is defined by:
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{I}M= {{\,\textrm{rank}\,}}\left[ \varprojlim M|_{I}\rightarrow \varinjlim M|_{I}\right] , \end{aligned}$$
where \(\varprojlim M|_{I}\rightarrow \varinjlim M|_{I}\) is the natural morphism from the limit to the co-limit of the diagram \(M|_{I}\) and is well-defined because \({I}\) is both convex and connected. Given a collection \(\mathcal {I} \) of intervals, the generalized rank invariant of \(M\) over \(\mathcal {I} \) is the map \({{\,\textrm{Rk}\,}}_\mathcal {I} M:\mathcal {I} \rightarrow {\mathbb {N}}\cup \{ \infty \}\) defined by \({{\,\textrm{Rk}\,}}_\mathcal {I} M({I}) = {{\,\textrm{Rk}\,}}_{I}M\).
In the following, we write \( {{\,\textrm{rep}\,}}_{\mathcal {I}} P\) for the full subcategory of \({{\,\textrm{Rep}\,}}P\) spanned by those objects M such that \({{\,\textrm{Rk}\,}}_\mathcal {I} M\) only takes finite values. Note that \({{\,\textrm{rep}\,}}_{\mathcal {I}}P\) contains \({{\,\textrm{rep}\,}}P\) since the map \(\varprojlim M|_{I}\rightarrow \varinjlim M|_{I}\) factors through the internal spaces of \(M|_\mathcal {I} \).
To see that Definition 1.4 generalizes the usual rank invariant, take \({I}\) to be a (closed) segment \(\langle s,t\rangle = \{u\in P\mid s\le u\le t\}\); in this case one has \({{\,\textrm{Rk}\,}}_{I}M= {{\,\textrm{rank}\,}}\left[ M(s)\rightarrow M(t) \right] \). This generalization was proven by Kim and Mémoli [26] to be stronger than the usual rank invariant, and in fact complete on interval-decomposable modules, under some finiteness conditions on the poset \(P\)—implying in particular that \({{\,\textrm{Rk}\,}}_\mathcal {I} M\) takes only finite values for any pfd module \(M\). The way they arrive at their conclusions is by viewing \({{\,\textrm{Rk}\,}}_\mathcal {I} M\) as a map \(\mathcal {I} \rightarrow {\mathbb {Z}}\), and by taking its Möbius inverse in the incidence algebra of \(\mathcal {I} \)—itself viewed as a poset equipped with the inclusion order. This inverse, which they call generalized persistence diagram of \(M\) after Patel [36] because its expression generalizes the inclusion-exclusion formula (1.3), actually encodes the multiplicities of the intervals in the direct-sum decomposition of \(M\) when \(M\) is interval-decomposable. When \(M\) is not interval-decomposable, Möbius inversion can still be applied to \({{\,\textrm{Rk}\,}}_\mathcal {I} M\). The resulting multiplicities of intervals can be negative, but the output still encodes the generalized rank invariant of \(M\).
We now put the generalized persistence diagrams in the larger context of signed rank decompositions.
Definition 1.5
Given a collection \(\mathcal {I} \) of intervals in \(P\), and a function \(r:\mathcal {I} \rightarrow \mathbb {Z}\), a (signed) rank decomposition of r over \(\mathcal {I} \) is given by the following identity:
$$\begin{aligned} r= {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {R}- {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {S}, \end{aligned}$$
where \(\mathcal {R} \) and \(\mathcal {S} \) are multi-sets of elements taken from \(\mathcal {I} \) such that \( \textbf{k}_{\mathcal {R}} \) and \( \textbf{k}_{\mathcal {S}} \) lie in \( {{\,\textrm{rep}\,}}_{\mathcal {I}} P\), and where by definition \( \textbf{k}_\mathcal {R} = \bigoplus _{{R}\in \mathcal {R}} \textbf{k}_{R}\) and \( \textbf{k}_\mathcal {S} = \bigoplus _{{S}\in \mathcal {S}} \textbf{k}_{S}\) (note that elements \({R}\in \mathcal {R} \) and \({S}\in \mathcal {S} \) are considered with multiplicity in the direct sums). By extension, we call the pair \((\mathcal {R}, \mathcal {S})\) itself a rank decomposition of r over \(\mathcal {I} \). It is a minimal rank decomposition if \(\mathcal {R} \) and \(\mathcal {S} \) are disjoint as multi-sets.
Note that rank decompositions in general are not unique, since extra elements can be added to both \(\mathcal {R} \) and \(\mathcal {S} \) with no effect on \({{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {R}- {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {S} \).
Result A
(Corollary 2.7) The minimal rank decomposition \((\mathcal {R} ^*, \mathcal {S} ^*)\) of any map \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) is unique if it exists. Furthermore, if a rank decomposition \((\mathcal {R}, \mathcal {S})\) of r exists, then a minimal one exists and is obtained from it by removing common intervals, that is:
$$\begin{aligned} (\mathcal {R} ^*, \mathcal {S} ^*) = (\mathcal {R} \setminus \mathcal {R} \cap \mathcal {S}, \mathcal {S} \setminus \mathcal {R} \cap \mathcal {S}). \end{aligned}$$
This result is a consequence of the more fundamental fact that the minimal rank decomposition is universal among all the rank decompositions of r (Theorem 2.6), which itself follows from the fact that the generalized rank invariant, as long as it is finite (i.e., it only takes finite values), is complete on interval-decomposable modules (Proposition 2.4). For this to hold, Definition 1.5 requires that the intervals involved in the rank decompositions of \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) be taken from the collection \(\mathcal {I} \) itself, not from outside: otherwise, as Figs. 2 and 3 together illustrate, the minimal rank decomposition may not be unique.
We also show that, under some finiteness conditions on \(P\) and r that are similar to the ones in [26], rank decompositions of r exist. While this second result can be obtained via an adaptation of the approach from previous work using Möbius inversion (see Appendix A), we give an alternative, more direct proof that is much shorter given our previous results.
Result B
(Theorem 2.12) Let \( \mathcal {I} \) be a locally finite collection of intervals in \( P\). Then any function \( r :\mathcal {I} \rightarrow {\mathbb {Z}}\) with upward finite support can uniquely be written as a (possibly infinite, but pointwise finite) \({\mathbb {Z}}\)-linear combination of the functions \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}} \) with \( {I}\in \mathcal {I} \).
These results, detailed in Sect. 2, significantly extend previous work on generalized persistence diagrams, providing general conditions under which rank decompositions of \({\mathbb {Z}}\)-valued functions can be considered, with guarantees of existence and uniqueness.
Decompositions of generalized rank invariants of persistence modules in \({{\,\textrm{rep}\,}}_{\mathcal {I}} P\) is a special case of this general theory. In particular, when \(\mathcal {I} \) is the collection of (closed) segments in \(P\), \({{\,\textrm{Rk}\,}}_\mathcal {I} \) is just the usual rank invariant \({{\,\textrm{Rk}\,}}\) and our results tell under which conditions it can be decomposed uniquely over the family of rank invariants of segment modules—i.e., interval modules supported on segments.
We complete our study of rank decompositions of persistence modules with an analysis of their behavior under poset maps, showing that, in essence, rank decompositions commute with restrictions along morphisms of posets (Corollary 3.15). This result is important as it allows us to bring our theory to multi-parameter persistence; note that \({\mathbb {R}}^d\) does not meet the conditions of Result B. Observing that a left Kan extension of a finite grid in \({\mathbb {R}}^d\) is a particular type of restriction, we obtain the following result.
Result C
(Corollary 3.18) Let \( M \in {{\,\textrm{rep}\,}}\mathbb {R}^d \) be finitely presented. Let \( \mathcal {I} \) either be the collection of half-open rectangles or the collection of all half-open intervals. Then there are unique disjoint multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of elements of \( \mathcal {I} \), such that
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\mathcal {I}} M = {{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{\mathcal {S}}. \end{aligned}$$
Furthermore, Corollary 3.15 allows us to prove a form of interleaving stability of the rank decompositions under perturbations.
Result D
(Corollary 5.12) Let \(M, M'\) be pfd persistence modules indexed over \({\mathbb {R}}^d\). Then, for any rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of \({{\,\textrm{Rk}\,}}M\) and \({{\,\textrm{Rk}\,}}M'\) respectively over all rectangles in \({\mathbb {R}}^d\), we have:
$$\begin{aligned} \textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '}, \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}}) \le \textrm{d}_{\textrm{i}}(M, M'). \end{aligned}$$

1.3 Signed Barcodes and Prominence Diagrams

Our second contribution, detailed in Sect. 6, is to introduce an effective graphical representation of minimal rank decompositions as signed barcodes. For this we focus on the usual rank invariant and we consider persistence modules that are indexed over \({\mathbb {R}}^d\) or some subposet thereof as in the standard multi-parameter persistence setting. Given the minimal decomposition \((\mathcal {R}, \mathcal {S})\) of \({{\,\textrm{Rk}\,}}M\), each segment \(\langle s,t\rangle \in \mathcal {R} \) is turned into the bar (line segment) \([s,t]\subset {\mathbb {R}}^d\) with sign \(\text {+}1\), while each segment \(\langle s',t'\rangle \in \mathcal {S} \) is turned into the bar \([s',t']\subset {\mathbb {R}}^d\) with sign \(\text {-}1\). See Fig. 4 (left) for an example, and Fig. 4 (right) for an illustration of how the rank invariant can be read off from the signed barcode similarly to what is done in the 1-parameter case.
In order to ease the task of discriminating between the signal and the noise in a signed barcode, we also propose a lighter representation as a signed prominence diagram, in which each signed bar [st] is replaced by the signed vector \(t-s\in {\mathbb {R}}^d\). Guided by our stability results for rank decompositions, we explain how to navigate within this diagram, and in particular, where to expect the signal and the noise to appear (Lemma 6.4).
In Sect. 7 we illustrate the practical usage of these concepts on simulated data.

1.4 Rank-Exact Resolutions

While rank decompositions tell us everything about the (generalized) rank invariant \({{\,\textrm{Rk}\,}}_\mathcal {I} M\) as a function \(\mathcal {I} \rightarrow {\mathbb {Z}}\), it is unclear what they tell us about the module \(M\) itself. A notable exception is when \(M\) is interval-decomposable, since in that case, the terms in the decomposition coincide with the indecomposable direct summands of \(M\) as first shown by Kim and Memoli [26]. A natural question, therefore, is whether the rank decomposition reflects a deeper algebraic fact. In Sect. 4, we answer this question in the affirmative for the usual rank invariant by equipping \({{\,\textrm{rep}\,}}P\) with an exact structure and studying the associated projective resolutions and Grothendieck group, both of which are classical constructions in homological algebra.
To see the need for such a generalized framework, recall that if M is finitely presented, then a decomposition of its dimension vector (a.k.a. Hilbert function) \({{\,\mathrm{\underline{dim}}\,}}M\) arises as the terms in a finite projective resolution of M. Indeed, any such resolution \(M_\bullet \twoheadrightarrow M\) would yield a decomposition \({{\,\mathrm{\underline{dim}}\,}}M = \sum _{i\in {\mathbb {N}}} (-1)^i\, {{\,\mathrm{\underline{dim}}\,}}M_i\) because it is known that the dimension vector \({{\,\mathrm{\underline{dim}}\,}}\) is additive on all short exact sequences (by the rank-nullity theorem). The same would hold for any invariant that is additive on all short exact sequences. Unfortunately, the rank invariant \({{\,\textrm{Rk}\,}}M\) is not of this kind, as illustrated in the following example (where the representations are indexed over the poset \(\{1,2\}\subset {\mathbb {R}}\) and where the morphisms between them are the obvious ones):
https://static-content.springer.com/image/art%3A10.1007%2Fs10208-024-09672-9/MediaObjects/10208_2024_9672_Equ103_HTML.png
Thus, it is in general not the case that \({{\,\textrm{Rk}\,}}M = \sum _{i\in {\mathbb {N}}} (-1)^i\, {{\,\textrm{Rk}\,}}M_i\) given a finite projective resolution \( M_{\bullet } \twoheadrightarrow M \) of M. In order to decompose the rank invariant using projective resolutions, we are thus forced to only consider short exact sequences on which the rank invariant is additive—we call them short rank-exact sequences. By doing so, we rely on a smaller class of short exact sequences, hence on a larger corresponding class of projectives3, and the following facts turn out to be true:
  • (Thm. 4.6) The category \({{\,\textrm{rep}\,}}P\), equipped only with the short rank-exact sequences, admits the structure of an exact category—called the rank-exact category—in which we can apply standard tools of homological algebra.
  • (Thm. 4.11) When \(P\) is finite, the corresponding indecomposable projectives (resp. injectives) are the interval representations supported on lower (resp. upper) hooks, and they include the usual indecomposable projectives:
    $$\begin{aligned} \langle s, t\langle&= \{ u \in P\mid s \le u \not \ge t \} & \text {for } s< t \in P\cup \{ \infty \}&{({lower\, hook})},\\ \rangle s, t\rangle&= \{ \ell \in P\mid s \not \ge u \le t \} & \text {for } s < t \in P\cup \{ - \infty \}&{({upper\, hook})}. \end{aligned}$$
    Moreover, every object in the category admits finite projective and injective resolutions—called rank-exact resolutions.
  • (Prop. 4.17) When \( P\) is an upper semi-lattice, then finitely presented representations, together with rank-exact sequences, form an exact category with enough projectives and injectives. The projectives and injectives in this exact category are precisely upper and lower hooks, respectively. Moreover, any object has a finite projective and a finite injective resolution.
For a finitely presented \(M\in {{\,\textrm{rep}\,}}P\), where P is finite or an upper semi-lattice, we can therefore consider a finite rank-exact resolution \( M_{\bullet } \twoheadrightarrow M \). As the rank invariant is additive on all rank short exact sequences, \({{\,\textrm{Rk}\,}}M = \sum _{i\in {\mathbb {N}}} (-1)^i\, {{\,\textrm{Rk}\,}}M_i\) as desired. This proves that the interval representations supported on lower hooks—called lower hook modules for simplicity—generate all the rank invariants of finitely presented representations. So do the upper hook modules, i.e., the interval representations supported on upper hooks, via injective resolutions. See Fig. 5 for an example. This new type of rank decomposition defined by the terms in some rank-exact resolution is called a rank-exact decomposition.
Note that since the rank invariant of each hook is a linear combination of rank invariants of segments, the minimal rank decompositions obtained in Sect. 2 do, in a certain sense, come from projective resolutions. This is formalized in the following important theorem, where \({\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}})\) denotes the Grothendieck group of the exact structure.
Result E
(Theorem 4.13) Let \( P\) be a finite poset. Then
$$\begin{aligned} {{\,\textrm{Rk}\,}}:{\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}} \end{aligned}$$
is an isomorphism. Moreover, the following three sets are bases for \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \):
$$\begin{aligned}&\{ [\textbf{k}_{\langle i,j\rangle }] \mid i \le j \in P \},\\&\{ [\textbf{k}_{\langle i,j\langle } ] \mid i< j \in P \cup \{ \infty \} \}, \ \text {and} \\&\{ [\textbf{k}_{\rangle i,j\rangle } \mid i < j \in P \cup \{ - \infty \} \}. \end{aligned}$$

1.4.1 A Remark on the Two Types of Minimal Decompositions

By universality of minimal projective/injective resolutions, the rank-exact decomposition given by the terms in the minimal rank-exact resolution satisfies a universality property among all rank-exact decompositions, akin to the universality property of the minimal decomposition as per Definition 1.5. The two notions of minimal decomposition are different, though, because some terms in even degrees may coincide with terms in odd degrees in the minimal rank-exact resolution and therefore the intersection of the positive and negative parts may be non-empty.
The question arises whether one decomposition is better or more canonical than the other. One immediate observation is that information is lost when common entries are removed from the positive and negative parts of a rank-exact decomposition. Consequently, while it is straightforward to derive a minimal rank decomposition (using hooks or segments) from a rank-exact decomposition, going in the opposite direction is not possible. Furthermore, in work subsequent to this paper, it has been shown that minimal rank-exact decompositions in \({\mathbb {R}}^d\) enjoy a bottleneck stability theorem [13, Theorem 6.1], and that no analogous result can exist for minimal rank decompositions [13, Proposition 3.1]. On the other hand, minimal rank decompositions can be effectively computed from the rank invariant using an inclusion-exclusion formula (Eq. 5.1), while the computational complexity of obtaining a minimal rank-exact decomposition is unknown. Furthermore, rank-exact decompositions are limited to the standard rank invariant; see Sect. 8.1.
Our contributions relate to and extend the line of work on generalized persistence diagrams based on Möbius inversion [5, 8, 26, 33, 36]. Möbius inversion is but one of many possible invertible operators (including the identity operator) that can be applied to the rank invariant or its generalized version, viewed as functions \(\mathcal {I} \rightarrow {\mathbb {Z}}\), to decompose them over some basis. Prior to this work, choosing Möbius inversion over any other invertible operator was mainly motivated by an analogy with the 1-parameter setting, without further mathematical justification akin to the decomposition theorem for 1-parameter persistence modules. Here we provide such a justification, by connecting usual rank decompositions to projective resolutions in the rank-exact structure, the latter being induced precisely by those exact sequences that preserve the rank invariant.
Since its first appearance as a preprint, our work has sparked a novel line of research on rank decompositions, signed barcodes, and their connection to relative homological algebra. A new class of invariants for multiparameter persistence modules has appeared, called the homological invariants, which include our rank-exact decompositions as a special case. These invariants are derived from resolutions of the modules relative to some fixed classes of modules. Several such classes of relative projectives have been studied, notably the interval-decomposable modules and some of their subclasses (including the hook-decomposable modules). Upper bounds on the corresponding relative global dimensions have been obtained [24, 9, 13, 19]. Such bounds play a key part in the stability theory for homological invariants that has started being developed [13, 35]. Lately, computational aspects have also started being investigated [19]. We are only at the beginning of these developments, which we expect to expand in the future due to their potential impact on multi-parameter persistence theory.

1.6 Outline of the Paper

In Sect. 2, we focus on the existence and uniqueness of minimal rank decompositions in varying levels of generality. In Appendix A, we explain how Möbius inversions can be used to compute minimal rank decompositions, which is then used in Sect. 2 to derive a formula for computing the multiplicity of an interval in the minimal rank decomposition. Additionally, in Sect. 3, we explore the behavior of rank decompositions under poset homomorphisms, with a particular focus on maps between lattices.
In Sect. 4, we give a brief introduction to exact categories and study rank decompositions from the point of view of homological algebra. Here we work exclusively with the usual rank invariant. Importantly, minimal projective and injective resolutions in this category define a new type of rank decompositions called rank-exact decompositions.
In Sect. 5, we reformulate and expand upon our earlier results in the specific context of multi-parameter persistence. We thus obtain unique minimal rank decompositions and rank-exact decompositions for finitely presented persistence modules over \({\mathbb {R}}^d\), and of pfd persistence modules over finite grids. In the latter case, we also derive an explicit inclusion-exclusion formula to compute the coefficients in the minimal rank decompositions. The section concludes with a short discussion of stability.
In Sect. 6, we introduce the signed barcode as a visual representation of the minimal rank decomposition of the usual rank invariant. We explain how the signed barcode reflects the global structure of the usual rank invariant and how its role in multi-parameter persistence is similar to the one played by the unsigned barcode in one-parameter persistence.
In Sect. 7, we carry out a round of experiments whose outcomes illustrate some of the key properties of the minimal rank decompositions and of their associated signed barcodes.
Finally, in Sect. 8, we conclude the paper with a detailed discussion of some aspects of our work.

2 Rank Decompositions: Existence and Uniqueness

This section discusses the existence and uniqueness of minimal rank decompositions. First, we show in Sect. 2.1 that a minimal rank decomposition is unique, provided it exists. Then, in Sect. 2.2 we show, using a short and elementary argument, that every map \(r :\mathcal {I} \rightarrow {\mathbb {Z}}\) with upward finite support admits a unique minimal rank decomposition, provided the underlying collection of intervals \(\mathcal {I} \) itself is locally finite (Definition 2.9). At the end of Sect. 2.2 we use Möbius inversions to construct an explicit formula for the multiplicity of an interval in the decompositions under mild constraints. This formula ultimately allows us to derive an algorithm for computing minimal rank decompositions in multiparameter persistence; see (5.1). For completeness, we include the full details of Möbius inversions in Appendix A. We remark that while our key result in Sect. 2.2 is a consequence of our work in Sect. 2.1 and the theory of Möbius inversions, the presented proof is both self-contained and simpler than those two results combined. We therefore think our novel approach is of independent interest.
The following proposition, which generalizes [26, Proposition 3.17] by dropping the assumption of local finiteness of the poset \(P\) and allowing for generalized ranks, and which is given a more direct proof, will be instrumental throughout our analysis.
Proposition 2.1
Let \( \mathcal {R} \) be a multi-set of intervals of \(P\). Then, for any interval \({I}\subseteq P\), we have:
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{I}( \textbf{k}_{\mathcal {R}} ) = \#\{ {R}\in \mathcal {R} \mid {I}\subseteq {R}\}. \end{aligned}$$
Proof
Note that
$$\begin{aligned} \textbf{k}_{\mathcal {R}} |_{{I}} = \bigoplus _{{R}\in \mathcal {R}} \textbf{k}_{{R}\cap {I}} = \bigoplus _{\begin{array}{c} {R}\in \mathcal {R} \\ {I}\subseteq {R} \end{array}} \textbf{k}_{{I}} \oplus \bigoplus _{{R}\in \widetilde{\mathcal {R}}} \textbf{k}_{{R}}, \end{aligned}$$
where \( \widetilde{\mathcal {R}} \) is a collection of proper subintervals of \( {I}\). (Note that while the \( {R}\cap {I}\) are not necessarily connected themselves, they are disjoint unions of intervals.)
Since the rank commutes with finite sums, and clearly \( {{\,\textrm{Rk}\,}}_{{I}} (\bigoplus _{\begin{array}{c} {R}\in \mathcal {R} {I}\subseteq {R} \end{array}} \textbf{k}_{{I}}) = \#\{ {R}\in \mathcal {R} \mid {I}\subseteq {R}\} \), it suffices to show that \( {{\,\textrm{Rk}\,}}_{{I}}(\bigoplus _{{R}\in \widetilde{\mathcal {R}}} \textbf{k}_{{R}}) = 0 \) for any multi-set \( \widetilde{\mathcal {R}} \) of proper subintervals of \( {I}\).
Our next step is to note that for any such proper subinterval \( {R}\) of \( {I}\) at least one of \( \varprojlim \textbf{k}_{{R}}|_{{I}} \) or \( \varinjlim \textbf{k}_{{R}}|_{{I}} \) is zero: indeed, we may observe that \( \varprojlim \textbf{k}_{{R}}|_{{I}} \) is non-zero precisely if \( {R}\) is closed under predecessors in \( {I}\). Dually, \( \varinjlim \textbf{k}_{{R}}|_{{I}} \ne 0 \) precisely if \( {R}\) is closed under successors in \( {I}\). Since a proper subinterval cannot be closed both under predecessors and successors, it follows that at least one of limit or colimit is zero.
Going back to our multi-set \( \widetilde{\mathcal {R}} \) of proper subintervals of \( {I}\), we can now decompose it as \( \widetilde{\mathcal {R}} = \mathcal {R} ' \cup \mathcal {R} '' \) where \( \mathcal {R} ' \) only contains subintervals \( {R}\subsetneq {I}\) with \( \varprojlim _{I}\textbf{k}_{{R}} = 0 \), and \( \mathcal {R} '' \) only contains subintervals \( {R}\subsetneq {I}\) with \( \varinjlim _{{I}} \textbf{k}_{{R}} = 0 \). (This decomposition will typically not be unique, as there may be subintervals for which both limit and colimit vanish.) Again invoking the fact that rank commutes with finite sums, it suffices to show that \( {{\,\textrm{Rk}\,}}_{{I}}(\textbf{k}_{\mathcal {R} '}) = 0 \) and \( {{\,\textrm{Rk}\,}}_{{I}}(\textbf{k}_{\mathcal {R} ''}) = 0 \).
The latter is immediate, since direct sums commute with colimits, and hence \( \varinjlim _{{I}} \textbf{k}_{\mathcal {R} ''} = 0 \). For the former, we additionally use that the direct sum is naturally a subrepresentation of the direct product, and moreover that limits are left exact. This gives us
$$\begin{aligned} \varprojlim _{{I}} \textbf{k}_{\mathcal {R} '} \subseteq \varprojlim _{{I}} \prod _{{R}\in \mathcal {R} '} \textbf{k}_{{R}} = \prod _{{R}\in \mathcal {R} '} \varprojlim _{{I}} \textbf{k}_{{R}} = 0. \end{aligned}$$
\(\square \)
Remark 2.2
One might hope that an analogous result holds if one replaced the sum in the definition of \( \textbf{k}_{\mathcal {R}} \) by a product. However, the following example shows this to not be the case:
Let \( {I}= \{ (x, y) \in \mathbb R^2 \mid x \ge 0, y \ge 0, x+y \le 1 \} \), and pick an infinite set \( \{ p_s \mid s \in S \} \) of pairwise different maximal points in \( {I}\). Let \( {R}_s = {I}\setminus \{ p_s \} \). Then
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{{I}} \left( \prod _{s \in S} \textbf{k}_{{R}_s}\right) = \infty . \end{aligned}$$
(The key point here is that \( \varinjlim _{{I}} \prod _{s \in S} \textbf{k}_{{R}_s} = \prod _{s \in S} \textbf{k}_{{R}_s} / \bigoplus _{s \in S} \textbf{k}_{{R}_s}\ne 0 \).)
Corollary 2.3
Let \( \mathcal {I} \) be a collection of intervals in \( P\). For a multi-set \( \mathcal {R} \) of intervals, we have that \( \textbf{k}_{\mathcal {R}} \in {{\,\textrm{rep}\,}}_{\mathcal {I}} P\) if and only if
$$\begin{aligned} \forall {I}\in \mathcal {I}, \quad \# \{ {R}\in \mathcal {R} \mid {I}\subseteq {R}\} < \infty . \end{aligned}$$

2.1 Uniqueness

Let \(\mathcal {I} \) be a collection of intervals in a poset \(P\). While a minimal rank decomposition need not exist in this case, we show that it is unique, provided it exists.
Our first result shows that \({{\,\textrm{Rk}\,}}_\mathcal {I} \) is a complete invariant when restricted to interval-decomposable representations supported on intervals in \(\mathcal {I} \). In fact, we show that the rank invariant is complete on a slightly larger collection of interval-decomposable modules: let \(\widehat{\mathcal {I}}\supseteq \mathcal {I} \) be the collection of intervals (which by construction are also intervals, i.e., non-empty connected convex subsets of \(P\)) given by
$$\begin{aligned} \widehat{\mathcal {I}} = \left\{ \bigcup X \mid X \subseteq \mathcal {I} \text { directed}\right\} , \end{aligned}$$
(2.1)
where directed means that there for all \({I}_1, {I}_2 \in X\) exists an \({I}_3 \in X\) such that \({I}_1 \cup {I}_2 \subseteq {I}_3\).
The following proposition generalizes [26, Theorem 3.14].
Proposition 2.4
Let \(\mathcal {I} \) denote a collection of intervals in \(P\). If \( \mathcal {R} \) and \( \mathcal {R} ' \) are two multi-sets of elements in \( \widehat{\mathcal {I}} \), such that \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R}} = {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R} '} \) and this common rank invariant is finite for all intervals of \(\mathcal {I} \), then \( \mathcal {R} = \mathcal {R} ' \).
Proof
Since the rank of a direct sum is the sum of the ranks we may remove the common elements from \( \mathcal {R} \) and \( \mathcal {R} ' \), and thus assume that the two multi-sets are disjoint. If \(\mathcal {R} \cup \mathcal {R} '\) is empty, then we are done. Otherwise, by Proposition 2.1 and the definition of \( \widehat{\mathcal {I}} \), there is \( {I}\in \mathcal {I} \) such that \( {{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{\mathcal {R}}={{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{\mathcal {R} '}>0 \). Since this rank is finite, it follows, again using Proposition 2.1, that there is a non-zero finite number of intervals containing \( {I}\) in \( \mathcal {R} \cup \mathcal {R} ' \). In particular there is a (not necessarily unique) maximal one, which we will call \( {J}\). Without loss of generality we assume \( {J}\in \mathcal {R} \). By definition of \( \widehat{\mathcal {I}} \) we have \( {J}= \bigcup X\) for some directed \( X \subseteq \mathcal {I} \). Now, by assumption, for every \({I}\in X\) we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{\mathcal {R} '} = {{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{\mathcal {R}} \ge {{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{{J}}, \end{aligned}$$
which equals 1 by Proposition 2.1. It also follows from Proposition 2.1 that, for each \({I}\in X\), there is some interval \( {I}' \in \mathcal {R} ' \) such that \( {I}\subseteq {I}' \). Fix some \( {I}_0 \in X \) and for each \(I\in X\) choose an \( {I}' \) containing \( {I}_0 \cup {I}\) – employing the directness condition.
Since \( {{\,\textrm{Rk}\,}}_{{I}_0} \textbf{k}_{\mathcal {R} '} \) is finite, Corollary 2.3 says that there are actually only finitely many choices for \( {I}' \). It follows, using the fact that \( X \) is directed, that there is an \( {I}' \in \mathcal {R} ' \) containing all \( {I}\in X \). Thus \( {J}\subseteq {I}' \). If this is a proper inclusion then it contradicts the maximality of \( {J}\), otherwise it contradicts the disjointness of \( \mathcal {R} \) and \( \mathcal {R} ' \). \(\square \)
Example 2.5
Let \( P\) be any poset, and denote by \( \mathcal {I} \) the intervals that arise as convex hulls of finitely many elements of \( P\). Then, \( \widehat{\mathcal {I}} \) is the collection of all intervals. Thus, by Proposition 2.4, the ranks of finitely spanned intervals are a complete invariant on pfd interval-decomposable modules (supported on arbitrary intervals).
We can now show that minimal rank decompositions, whenever they exist, satisfy a universality property.
Theorem 2.6
Let \(\mathcal {R}, \mathcal {S}, \mathcal {R} ^*, \mathcal {S} ^*\) be multi-sets of elements of \(\widehat{\mathcal {I}}\), whose corresponding representations lie in \( {{\,\textrm{rep}\,}}_{\mathcal {I}} P\), and such that \(\mathcal {R} ^*\cap \mathcal {S} ^* = \emptyset \). If
$$\begin{aligned} {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {R}- {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {S} = {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R} ^*} - {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {S} ^*} \end{aligned}$$
then \(\mathcal {R} \supseteq \mathcal {R} ^*\), \(\mathcal {S} \supseteq \mathcal {S} ^*\), and \(\mathcal {R} \setminus \mathcal {R} ^* = \mathcal {S} \setminus \mathcal {S} ^*\).
Proof
Rewriting the equation yields
$$\begin{aligned} {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_\mathcal {R} + {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {S} ^*} = {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R} ^*}+ {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {S}}, \end{aligned}$$
and by additivity of the rank invariant
$$\begin{aligned} {{\,\textrm{Rk}\,}}_\mathcal {I} (\textbf{k}_\mathcal {R} \oplus \textbf{k}_{\mathcal {S} ^*}) = {{\,\textrm{Rk}\,}}_\mathcal {I} (\textbf{k}_{\mathcal {R} ^*} \oplus \textbf{k}_{\mathcal {S}}). \end{aligned}$$
By Proposition 2.4 it follows that \(\mathcal {R} \cup \mathcal {S} ^* = \mathcal {R} ^*\cup \mathcal {S} \). As \(\mathcal {R} ^*\cap \mathcal {S} ^* = \emptyset \), we conclude that \(\mathcal {R} \supseteq \mathcal {R} ^*\), \(\mathcal {S} \supseteq \mathcal {S} ^*\), and \(\mathcal {R} \setminus \mathcal {R} ^* = \mathcal {S} \setminus \mathcal {S} ^*\). \(\square \)
As an immediate consequence of Theorem 2.6, we obtain uniqueness and conditional existence of minimal rank decompositions:
Corollary 2.7
The minimal rank decomposition \((\mathcal {R} ^*, \mathcal {S} ^*)\) of any map \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) is unique if it exists. Furthermore, if a rank decomposition \((\mathcal {R}, \mathcal {S})\) of r exists, then a minimal one exists and is obtained from it by removing common intervals, that is:
$$\begin{aligned} (\mathcal {R} ^*, \mathcal {S} ^*) = (\mathcal {R} \setminus \mathcal {R} \cap \mathcal {S}, \mathcal {S} \setminus \mathcal {R} \cap \mathcal {S}). \end{aligned}$$
As another consequence of Theorem 2.6, we get a connection between the various rank decompositions of a map \(\mathcal {I} \rightarrow {\mathbb {Z}}\):
Corollary 2.8
Any two rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) satisfy \(\mathcal {R} \cup \mathcal {S} ' = \mathcal {R} ' \cup \mathcal {S} \).
Proof
Let \((\mathcal {R} ^*, \mathcal {S} ^*)\) be the minimal rank decomposition of r. From Theorem 2.6, we have \(\mathcal {R} = \mathcal {R} ^* \cup \mathcal {T} \) and \(\mathcal {S} = \mathcal {S} ^* \cup \mathcal {T} \) for some finite multi-set \(\mathcal {T} \) of elements of \(\mathcal {I} \), and similarly, we have \(\mathcal {R} ' = \mathcal {R} ^* \cup \mathcal {T} '\) and \(\mathcal {S} ' = \mathcal {S} ^* \cup \mathcal {T} '\) for some multi-set \(\mathcal {T} '\). Then,
$$\begin{aligned} \mathcal {R} \cup \mathcal {S} ' = \mathcal {R} ^* \cup \mathcal {S} ^* \cup \mathcal {T} \cup \mathcal {T} ' = \mathcal {R} ' \cup \mathcal {S}. \end{aligned}$$
\(\square \)

2.2 The Locally Finite Case

In this section we equip the collection \( \mathcal {I} \) of intervals with the inclusion order \(\subseteq \), and we assume that it is locally finite as a poset, according to the following definition.
Definition 2.9
A poset \((P, \le )\) is locally finite if for all \(p,q\in P\), the segment \(\langle p,q\rangle = \{r\in P \mid p\le r\le q\}\) is a finite set.
We say a map \( \mathcal {I} \rightarrow {\mathbb {Z}}\) has upward finite support if its restriction to the upset of any element of \( \mathcal {I} \) has finite support. As an example, for any fixed \( {I}\in \mathcal {I} \), the map \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{I}:{J}\mapsto {{\,\textrm{Rk}\,}}_{{J}} \textbf{k}_{{I}} \) has upward finite support by the description in Proposition 2.1 and the fact that \(\langle J,I\rangle \) is a finite set (\(\mathcal {I} \) is locally finite). More generally, we have the following result.
Proposition 2.10
Let \(\mathcal {R} \) be a multi-set of elements in \( \mathcal {I} \). If \( \textbf{k}_{\mathcal {R}} \in {{\,\textrm{rep}\,}}_{\mathcal {I}} P\), then the map \( {{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{\mathcal {R}} \) has upward finite support.
Proof
For any fixed \( {I}\in \mathcal {I} \), we know from Corollary 2.3 that \({{\,\textrm{Rk}\,}}_{I} \textbf{k}_{R} \ne 0\) for a finite number intervals \(R\in \mathcal {R} \). Let us denote this collection of intervals by \(\mathcal {R} '\). Furthermore, if \(I\subset I'\), then \({{\,\textrm{Rk}\,}}_{I'} \textbf{k}_{R} \ne 0\) implies that \(R\in \mathcal {R} '\) by Proposition 2.1. In particular,
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{I'} \textbf{k}_{\mathcal {R}} = \sum _{R\in \mathcal {R} '} {{\,\textrm{Rk}\,}}_{I'} \textbf{k}_{R}, \end{aligned}$$
and this sum is non-zero for a finite number of \(I'\subseteq I\) since each \({{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{R}\) has upward finite support. \(\square \)
Example 2.11
The poset \(\mathbb {Z}\) is locally finite but \(\mathbb {R}\) is not. Moreover, let \(R=\langle 0,1\rangle \) and let \(\mathcal {I} \) be the collection of intervals in \(\mathbb {R}\). Then, \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_R\) does not have upward finite support: there is an infinite number of intervals I satisfying \(\langle 0.5, 0.5\rangle \subseteq I\subseteq \langle 0,1\rangle \).
In the setting of upward finite supports, the existence of minimal rank decompositions can also be shown using Möbius inversions; we have included the full details in the appendix for completeness. Here we present a self-contained and simpler proof.
Theorem 2.12
Let \( \mathcal {I} \) be a locally finite collection of intervals in \( P\). Then any function \( r :\mathcal {I} \rightarrow {\mathbb {Z}}\) with upward finite support can uniquely be written as a (possibly infinite, but pointwise finite) \({\mathbb {Z}}\)-linear combination of the functions \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}} \) with \( {I}\in \mathcal {I} \).
Proof
Existence: For any \( {I}\in \mathcal {I} \) we set \( S_{{I}} = \{ {J}\supseteq {I}\mid \exists {K}\supseteq {J}\text { with } r({K}) \ne 0 \} \).
Since \( r \) has upward finite support, its support restricted to the upset of \( {I}\) is finite, and so is \(S_{{I}}\) since \( \mathcal {I} \) is locally finite.
Now we define a collection of scalars \( \alpha _{{I}} \in {\mathbb {Z}}\) for \( {I}\in \mathcal {I} \), inductively on the size of \( S_{{I}} \): If \( S_{{I}} = \varnothing \) we set \( \alpha _{{I}} = 0 \). Otherwise we set
$$\begin{aligned} \alpha _{{I}} = r({I}) - \sum _{{J}\in S_{{I}} \setminus \{ {I}\}} \alpha _{{J}}. \end{aligned}$$
Note that for \( {J}\in S_{{I}} \setminus \{ {I}\} \) we have \( S_{{J}} \subsetneq S_{{I}} \), so the terms on the right hand side are already defined.
Now, using the description of the map \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}} \) in Proposition 2.1, one immediately verifies that \( r = \sum _{{I}\in \mathcal {I}} \alpha _{{I}} {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}} \). (Note in particular that this infinite sum is pointwise finite — on a given interval \( {J}\) the only possibly non-zero terms are the ones in \( S_{{J}} \) —hence well-defined.)
Uniqueness: subtracting two different \({\mathbb {Z}}\)-linear combinations realizing \( r \) from each other, we get a single linear combination \( \sum _{{I}\in \mathcal {I}} \alpha _{{I}} {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}} \) with non-zero coefficients which sums up to zero. Note that there is at least one maximal \( {I}\in \mathcal {I} \) such that \( \alpha _{{I}} \ne 0 \), for otherwise the sum would not be defined. It follows, again using Proposition 2.1, that \( (\sum _{{J}\in \mathcal {I}} \alpha _{{J}} {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{J}})({I}) = \alpha _{{I}} \ne 0 \), contradicting our assumption. \(\square \)
Corollary 2.13
Let \(\mathcal {I} \) be a locally finite collection of intervals in \(P\). Then, for any map \(r :\mathcal {I} \rightarrow {\mathbb {Z}}\) with upward finite support, there is a unique pair \(\mathcal {R}, \mathcal {S} \) of disjoint multi-sets of elements of \(\mathcal {I} \) such that \( \textbf{k}_{\mathcal {R}} \) and \( \textbf{k}_{\mathcal {S}} \) lie in \({{\,\textrm{rep}\,}}_\mathcal {I} P\) and satisfy the following identity:
$$\begin{aligned} r = {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {S}}. \end{aligned}$$
Proof
By Theorem 2.12, there is a unique (possibly infinite, but pointwise finite) \({\mathbb {Z}}\)-linear combination of functions \(r=\sum _{{I}\in \mathcal {I}} \alpha _{{I}}\, {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{{I}}\). Let then \(\mathcal {R} = \{ {I}\in \mathcal {I} \mid \alpha _{{I}}>0\}\) with multiplicities \({I}\mapsto \alpha _{{I}}\), and \(\mathcal {S} = \{ {I}\in \mathcal {I} \mid \alpha _{{I}}<0\}\) with multiplicities \({I}\mapsto |\alpha _{{I}}|\). It follows from the pointwise-finiteness of the linear combination that \( \mathcal {R} \) and \( \mathcal {S} \) satisfy the condition in Corollary 2.3, so in particular \( \textbf{k}_{\mathcal {R}} \) and \( \textbf{k}_{\mathcal {S}} \) lie in \( {{\,\textrm{rep}\,}}_{\mathcal {I}} P\). \(\square \)
Specializing Theorem 2.12 and Corollary 2.13 to the case where \(P\) is finite and \(\mathcal {I} = \{\langle i,j\rangle \mid i\le j\in P\}\simeq \{ {\le }_{P} \}\) yields the following results—where \({{\,\textrm{Rk}\,}}_\mathcal {I} \) becomes the usual rank invariant \({{\,\textrm{Rk}\,}}\):
Corollary 2.14
Let \( P\) be a finite poset. Then the collection of maps \( {{\,\textrm{Rk}\,}}\textbf{k}_{\langle a, b\rangle } \) with \( a \le b \) is a basis for the free abelian group \( {\mathbb {Z}}^{\{ {\le }_{P} \}} \).
Corollary 2.15
Given a finite poset \(P\), for any map \(r: \{ {\le }_{P} \} \rightarrow {\mathbb {Z}}\) there is a unique pair \(\mathcal {R}, \mathcal {S} \) of disjoint finite multi-sets of closed segments such that
$$\begin{aligned} r = {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {S}}. \end{aligned}$$

2.2.1 Möbius Inversions and an Explicit Formula

In Appendix A we recall how Möbius inversions can be used to construct minimal rank decompositions. Importantly, the Möbius inversion approach gives a way of computing the multiplicity of each interval in the decomposition from a simple inclusion-exclusion formula. The following is a direct consequence of Proposition A.1 and Proposition A.3.
Corollary 2.16
Let \( \mathcal {I} \) be a locally finite collection of intervals in a poset \( P\), and suppose that, for any \( {I}\in \mathcal {I} \), there is a finite set \( {I}^+ \subseteq \mathcal {I} \) with the property that
$$\begin{aligned} \{ {J}\in \mathcal {I} \mid {J}\supsetneq {I}\} = \{ {J}\in \mathcal {I} \mid \exists {K}\in {I}^+ :{J}\supseteq {K}\}, \end{aligned}$$
and that any subset of \( {I}^+ \) has a join in \( \mathcal {I} \). Let \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) have upward finite support. A pair \((\mathcal {R}, \mathcal {S})\) of locally finite multisets of elements of \( \mathcal {I} \) is a rank decomposition of \( r \) if and only if
$$\begin{aligned} {\text {mult}}_{{I}} \mathcal {R}- {\text {mult}}_{{I}} \mathcal {S} = r({I}) + \sum _{\varnothing \ne x \subseteq {I}^+} (-1)^{\#x}\, r( \vee x ) \qquad \forall {I}\in \mathcal {I}. \end{aligned}$$
Remark 2.17
Dropping the assumption that \( \mathcal {I} \) is locally finite as a poset, we still get that if \( (\mathcal {R}, \mathcal {S}) \) is a rank decomposition then the equation of the corollary is satisfied—this follows from Remark A.2.
The formula of Corollary 2.16 is most interesting in certain scenarios, e.g. when \(P\) is a finite grid as in multi-parameter persistence—details and examples are given in Sect. 5.

3 Rank Invariants and Poset Homomorphisms

Let \( f :P \rightarrow Q \) be a poset homomorphism and let \( {\text {res}}_f :{{\,\textrm{Rep}\,}}Q \rightarrow {{\,\textrm{Rep}\,}}P \) denote the restriction functor obtained by pre-composing with f, i.e., the functor given on objects by \( ({\text {res}}_f M)(p) = M(f(p)) \) and on morphisms in the obvious way. A typical example to keep in mind is \( P \) being a subposet of \( Q \), \( f \) being the inclusion of this subposet, and \( {\text {res}}_f \) the usual restriction. Another example is when \(Q\subset P={\mathbb {R}}^d\) for Q a finite grid, and f is the lattice homomorphism given by “rounding down” to the nearest grid point. Importantly, any finitely presented \({\mathbb {R}}^d\)-module is of the form \( {\text {res}}_f M\) for some \(M\in {{\,\textrm{rep}\,}}Q\).
In this section we focus on the following problem: does a rank decomposition of \(M\in {{\,\textrm{rep}\,}}Q\) pull back to a rank decomposition of \({\text {res}}_f M\)? In Sect. 3.1, we answer this in the affirmative for the standard rank invariant. In Sect. 3.2, we show that the case of the generalized rank invariant is more subtle and that one in general cannot obtain a rank decomposition of \({\text {res}}_f M\) from M. However, we show that one does obtain such a rank decomposition if f is assumed to be a homomorphism of lattices. This allows us to study (generalized) rank decompositions of finitely presented \({\mathbb {R}}^d\)-modules. Such modules are integral to multiparameter persistence and are not covered by our work in Sect. 2.2 as \({\mathbb {R}}^d\) is not locally finite.

3.1 The Usual Rank Invariant and Poset Homomorphisms

First we show that the usual rank invariant behaves well under restrictions along poset maps. Then, we specialize to the setting of grids in \({\mathbb {R}}^d\) in order to obtain minimal rank decompositions of finitely presented \({\mathbb {R}}^d\)-modules.
Lemma 3.1
Let \( M \in {{\,\textrm{rep}\,}}Q \). Then for any \( a \le b \in P \) we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\langle a,b\rangle } {\text {res}}_f M = {{\,\textrm{Rk}\,}}_{\langle f(a), f(b)\rangle } M. \end{aligned}$$
Proof
This follows directly from the construction of \( {\text {res}}_f \): \( ({\text {res}}_f M)(a) = M(f(a)) \), \( ({\text {res}}_f M)(b) = M(f(b)) \), and the structure map \( ({\text {res}}_f M)(a) \rightarrow ({\text {res}}_f M)(b) \) is the structure map \( M(f(a)) \rightarrow M(f(b)) \). \(\square \)
Proposition 3.2
Let \( f :P \rightarrow Q \) be a poset homomorphism. Let \( M \in {{\,\textrm{rep}\,}}Q \), and assume that there are multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of intervals in \( P \) such that \( {{\,\textrm{Rk}\,}}M = {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {S}} \).
Then
$$\begin{aligned} {{\,\textrm{Rk}\,}}{\text {res}}_f M = {{\,\textrm{Rk}\,}}\textbf{k}_{f^{-1}(\mathcal {R})} - {{\,\textrm{Rk}\,}}\textbf{k}_{f^{-1}(\mathcal {S})}, \end{aligned}$$
where \( f^{-1}(\mathcal {R}) = \{ f^{-1}(R) \mid R \in \mathcal {R} \} \) and similar for \( \mathcal {S} \).
Remark 3.3
Note that even if \( R \) is an interval, \( f^{-1} \) might not be: It is convex, but might be disconnected or empty.
Proof
For \( a \le b \in P \) we have \( {{\,\textrm{Rk}\,}}_{\langle a,b\rangle } {\text {res}}_f M = {{\,\textrm{Rk}\,}}_{\langle f(a), f(b)\rangle } M \) by Lemma 3.1. On the other hand
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\langle a,b\rangle } f^{-1}(\mathcal {R})&= \#\{ f^{-1}(R) \in f^{-1}(\mathcal {R}) \mid \langle a,b\rangle \subseteq f^{-1}(R) \} \\&= \#\{ R \in \mathcal {R} \mid \underbrace{f(\langle a,b\rangle )}_{=\langle f(a),f(b)\rangle } \subseteq R \} \\&= {{\,\textrm{Rk}\,}}_{\langle f(a), f(b)\rangle } \mathcal {R} \end{aligned}$$
where the first and last equalities hold by Proposition 2.1. It follows that the given equality of ranks implies the desired one. \(\square \)
In \( \mathbb {R}^d \) we often consider “half open rectangles”, that is, intervals of the form \( \prod _{i=1}^d [a_i, b_i) \). Unlike segments, these have fiitely presented indicator modules, which will be useful for extending our theory to finitely presented multiparameter persistence modules. Note that it follows from Example 2.5 and Theorem 2.6 that a decomposition of the usual rank invariant into half open rectangles is still unique if it exists.
Example 3.4
Let \( P = \mathbb {R} \), \( Q = \mathbb {R}^d \), and \( s \) and \( t \) points in \( \mathbb {R}^d \) such that \( s_i < t_i \text { for all } i \). Consider the map
$$\begin{aligned} f :P \rightarrow Q :\lambda \mapsto (1-\lambda )s + \lambda t. \end{aligned}$$
This is a poset homomorphism, whose image in Q is an upward sloping line. Let \( M \in {{\,\textrm{rep}\,}}Q \), and assume there is a decomposition of the usual rank as
$$\begin{aligned} {{\,\textrm{Rk}\,}}M = {{\,\textrm{Rk}\,}}\textbf{k}_\mathcal {R}- {{\,\textrm{Rk}\,}}\textbf{k}_\mathcal {S} \end{aligned}$$
for multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of half open (resp. open, closed, arbitrary) rectangles. Then we also have a decomposition of the usual rank invariant of the restriction as
$$\begin{aligned} {{\,\textrm{Rk}\,}}{\text {res}}_f M = {{\,\textrm{Rk}\,}}\textbf{k}_{f^{-1}(\mathcal {R})} - {{\,\textrm{Rk}\,}}\textbf{k}_{f^{-1}(\mathcal {S})} \end{aligned}$$
where the preimage of each half-open (resp. open, closed, arbitrary) rectangle is just the intersection of this rectangle with the upward sloping line, therefore it is either empty or a half-open (resp. open, closed, arbitrary) interval.
For the remainder of this section we assume that \(P = \prod _{i=1}^d F_i \subset \mathbb {R}^d\) where each \(F_i\) is a finite subset of \(\mathbb {R}\). We shall refer to P as a finite grid.
Example 3.5
Let \( M \in {{\,\textrm{rep}\,}}\mathbb {R}^d \), and assume there is a decomposition of the usual rank as
$$\begin{aligned} {{\,\textrm{Rk}\,}}M = {{\,\textrm{Rk}\,}}\textbf{k}_\mathcal {R}- {{\,\textrm{Rk}\,}}\textbf{k}_\mathcal {S} \end{aligned}$$
for multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of half open rectangles. Then \( (\mathcal {R} \cap P, \mathcal {S} \cap P) \) is a usual rank decomposition of the restriction of \( M \) to \( P \). Here \( \mathcal {R} \cap P = \{ R \cap P \mid R \in \mathcal {R} \} \) and similar for \( \mathcal {S} \). Note that the intersection of any half-open rectangle with the finite grid \( P \) is either a segment or empty, whence we get the honest rank decomposition.
Our final aim of this subsection is to do the opposite of the above example, and go from a finite grid to \( \mathbb {R}^d \). We can extend modules and intervals as follows:
The restriction functor \( {\text {res}} :{{\,\textrm{rep}\,}}\mathbb {R}^d \rightarrow {{\,\textrm{rep}\,}}P \) has a left adjoint, called “left Kan extension” and denoted by \( \textrm{Lan}\,\) (see Sect. 4.3 for an explicit definition). In the next proposition the left Kan extension will take a particularly simple form.
For segments \( R \) in \( P \) we define the extension to \( \mathbb {R}^d \) as
$$\begin{aligned} \widehat{R} = \{ p \in {\mathbb {R}}^d \mid \exists r \in R :r \le p \text { and } \not \exists r \in R,s\in P\setminus R :r \le s \le p \}, \end{aligned}$$
that is, we extend \( R \) upward while we forbid passing grid-points that are not in \( R \).
With these two concepts, we get the following result.
Proposition 3.6
With \( P \) a finite grid in \( \mathbb {R}^d \) as above, let \( M \in {{\,\textrm{rep}\,}}P \). Let \( ( \mathcal {R}, \mathcal {S}) \) be a rank decomposition of \( M \). Then the left Kan extension of \( M \) to \( \mathbb {R}^d \) has a decomposition of the usual rank invariant as
$$\begin{aligned} {{\,\textrm{Rk}\,}}\textrm{Lan}\,M = {{\,\textrm{Rk}\,}}\textbf{k}_{\widehat{\mathcal {R}}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\widehat{\mathcal {S}}} \end{aligned}$$
where \( \widehat{\mathcal {R}} = \{ \widehat{R} \mid R \in \mathcal {R} \} \), and similar for \( \widehat{\mathcal {S}} \) are multi-sets of half-open rectangles.
Proof
We consider the extended
$$\begin{aligned} \prod _{i=1}^d \{ - \infty \} \cup F_i \subseteq ( \{ - \infty \} \cup \mathbb {R})^d \end{aligned}$$
for the following reason: This inclusion has a right adjoint, which we will call \( \lfloor \cdot \rfloor \), given by “rounding down to the nearest grid-point”. We will apply Proposition 3.2 to this right adjoint. Clearly we can consider \( M \) a representation of this extended grid (by putting \( 0 \) in the new points). Likewise we can consider the segments in \( \mathcal {R} \) and \( \mathcal {S} \) as segments in the extended grid, and they still define a rank decomposition of \( M \).
Note that the adjoint pair of poset homomorphisms induces an adjoint pair of restriction functors (in the opposite order). In particular restriction along \( \lfloor \cdot \rfloor \) gives left Kan extensions along the inclusion of posets. Thus \( \textrm{Lan}\,M = {\text {res}}_{\lfloor \cdot \rfloor } M \).
Now by Proposition 3.2 we have the rank decomposition
$$\begin{aligned} {{\,\textrm{Rk}\,}}\textrm{Lan}\,M = {{\,\textrm{Rk}\,}}\textbf{k}_{\lfloor \cdot \rfloor ^{-1}(\mathcal {R})} - {{\,\textrm{Rk}\,}}\textbf{k}_{\lfloor \cdot \rfloor ^{-1}(\mathcal {S})}. \end{aligned}$$
We note that \( \widehat{R} \) is constructed to match \( \lfloor \cdot \rfloor ^{-1}(R) \), so the right hand side coincides with \( {{\,\textrm{Rk}\,}}\textbf{k}_{\widehat{\mathcal {R}}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\widehat{\mathcal {S}}} \).
At first this equality holds in \( (\{ - \infty \} \cup \mathbb {R})^d \), but we may restrict to \( \mathbb {R}^d \) (and in fact all terms vanish on all points involving “\(- \infty \)”).
Finally, it follows from the grid structure of \( P \) that the intervals of the form \( \widehat{R} \) are half-open rectangles. \(\square \)
Corollary 3.7
Let \( M \in {{\,\textrm{rep}\,}}\mathbb {R}^d \) be finitely presented. Then there are unique disjoint multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of half-open rectangles, such that we have a decomposition of the usual rank invariant as
$$\begin{aligned} {{\,\textrm{Rk}\,}}M = {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {S}}. \end{aligned}$$
Proof
Since \( M \) is finitely presented it is the left Kan extension of a representation of a finite grid. (Consider the positions of all generators and relations of \( M \), and then form the smallest grid containing all these points.) For this finite grid, we have rank decompositions by Corollary 2.13. Now apply Proposition 3.6. \(\square \)

3.2 The Generalized Rank Invariant and Poset Homomorphisms

As in the previous subsection, we consider a poset homomorphism \( f :P \rightarrow Q \). While there we asked for the preservation of decompositions of the usual rank, here we will consider more general rank recompositions. While the strategy is quite parallel, note that the starting point of the previous section—Lemma 3.1—was quite a simple observation, while the corresponding statement here—Corollary 3.13 – is somewhat deeper. As in the previous section, we ultimately turn to finitely presented \({\mathbb {R}}^d\)-modules and their generalized rank decompositions.
As the generalized rank invariant is defined via limits and colimits, the first step is to understand how these are affected by the restriction functor. To this end, let \( {I}\) be an interval in \( P \). We denote by \( f({I}) \) its image in \( Q \), and by \( \overline{f({I})} \) the convex hull of this image, which is an interval in \( Q \).
Lemma 3.8
In the situation above, for any \( M \in {{\,\textrm{Rep}\,}}Q \) we have a natural morphism
$$\begin{aligned} \varprojlim M|_{\overline{f({I})}} \rightarrow \varprojlim ({\text {res}}_f M)|_{I}, \end{aligned}$$
such that for any \( i \in {I}\) the triangle formed by the above morphism and the maps \( \varprojlim M|_{\overline{f({I})}} \rightarrow M(f(i)) \) and \( \varprojlim ({\text {res}}_f M)|_{I}\rightarrow ({\text {res}}_f M)(i) = M(f(i)) \) commutes.
If moreover for any \( j \in \overline{f({I})} \) the subposet
$$\begin{aligned} \{ i \in {I}\mid f(i) \le j \} \end{aligned}$$
is connected, then the natural morphism above is an isomorphism. \(\square \)
Proof
Note that \( \varprojlim M|_{\overline{f({I})}} \) comes with a cone of maps to all \( M(j) \) for \( j \in \overline{f({I})} \). Considering only the \( j \) of the form \( f(i) \) for some \( i \in {I}\), we obtain a cone of maps to all \( M(f(i)) = ({\text {res}}_f M)(i) \). This cone induces the desired map \(\varprojlim M|_{\overline{f({I})}} \rightarrow \varprojlim ({\text {res}}_f M)|_{I}\). The claimed commutativities hold by construction.
For the “moreover” point we construct a map in the opposite direction. Again we start with the cone of maps from \( \varprojlim ({\text {res}}_f M)|_{I}\) to the various \( ({\text {res}}_f M)(i) = M(f(i)) \). We obtain maps to \( M(j) \) for \( j \in \overline{f({I})} \) by choosing \( i \in {I}\) such that \( f(i) \le j \), and composing with the structure map \( M(f(i)) \rightarrow M(j) \). The potential issue with this construction is well-definedness, i.e., independence of the choice of \( i \). Note that for a given \( j \) our choice for possible \( i \)’s is precisely the collection described in the extra assumption. Therefore, it suffices to check that two compatible choices for \( i' \le i'' \) lead to the same map to \( M(j) \). This is immediate from the commutativity of both triangles in the following diagram. With well-definedness established, we also have a cone: for \( j' \le j'' \) choose \( i \) such that \( f(i) \le j' \) for both of them. From the universality of limits, we get a map \(\varprojlim ({\text {res}}_f M)|_{I}\rightarrow \varprojlim M|_{\overline{f({I})}} \).
As above, it follows from the construction that the triangles formed by this morphism and the respective maps to the \( M(f(i)) \) commute, and, in particular, that the composition of the two maps between the limits behaves like identity after composition with a map to \( M(f(i)) \). We conclude that the composition \( \varprojlim ({\text {res}}_f M)|_{I}\rightarrow \varprojlim M|_{\overline{f({I})}} \rightarrow \varprojlim ({\text {res}}_f M)|_{I}\) is the identity. For the other composition the same claim follows when observing that for all \( j \in \overline{f({I})} \) there is an \( i \) with \( f(i) \le j \). \(\square \)
Proposition 3.9
Let \( f :P \rightarrow Q \) be a poset homomorphism. Then for any interval \( {I}\) in \( P \) and \( M \in {{\,\textrm{Rep}\,}}Q \) we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\overline{f({I})}} M \le {{\,\textrm{Rk}\,}}_{{I}} {\text {res}}_f M. \end{aligned}$$
If moreover for any \( j \in \overline{f({I})} \) the posets \( \{ i \in {I}\mid f(i) \le j \} \) and \( \{ i \in {I}\mid f(i) \ge j \} \) are connected then we have equality.
Proof
Pick any \( i \in {I}\). In the diagram the left vertical map is an isomorphism, such that the left triangle commutes, by Lemma 3.8. By the dual of that lemma the right vertical map is an isomorphism and the right triangle commutes. Thus the natural maps \( \varprojlim M|_{\overline{f({I})}} \rightarrow \varinjlim M|_{\overline{f({I})}} \) and \( \varprojlim ({\text {res}}_f M)|_{I}\rightarrow \varinjlim ({\text {res}}_f M)|_{I}\) are connected by isomorphisms, and in particular have the same rank. \(\square \)
Example 3.10
One might ask if an invariant as natural as rank should always commute with restrictions, without the technical extra assumptions above. However, consider the subposets of \( \mathbb {R}^2 \) given as \( P = \{ (1,0), (0,1), (2,2) \} \) and \( Q = P \cup \{ (1,1) \} \). Consider the (indecomposable) representation of \( Q \) depicted as Let \( f :P \rightarrow Q \) be the natural inclusion, \( {I}= P \), and then \( \overline{f({I})} = Q \). In this situation we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\overline{f({I})}} M = 0 \lneq {{\,\textrm{Rk}\,}}_{{I}} {\text {res}}_f M = 1. \end{aligned}$$
As one should expect from the strict inequality, the assumption in the last sentence of Proposition 3.9 are not met. Indeed \( \{ i \in {I}\mid f(i) \le (1,1) \} = \{(1,0), (0,1) \} \) is not connected.
Example 3.11
Let \(f:P\rightarrow Q\) be a poset homomorphism. If \( {I}= \langle a,b\rangle \) is a segment, then \( \{ i \in {I}\mid f(i) \le j \} \) is connected, since it contains \( a \) and any other element is compatible with \( a \). Similarly \( \{ i \in {I}\mid f(i) \ge j \} \) is connected. In particular, Proposition 3.9 generalizes Lemma 3.1.
The conditions for equality in Proposition 3.9 hold for general intervals provided one restricts to maps between lattices.
Lemma 3.12
Let \( f :P \rightarrow Q \) be a morphism of lattices. Then for any interval \( {I}\) in \( P \), and \( j \in \overline{f({I})} \), the posets \( \{ i \in {I}\mid f(i) \le j \} \) and \( \{ i \in {I}\mid f(i) \ge j \} \) are connected.
Proof
For \( i_1, i_2 \in \{ i \in {I}\mid f(i) \le j \} \) also their join lies in this set. The proof for the other poset is dual. \(\square \)
Corollary 3.13
Let \( f :P \rightarrow Q \) be a morphism of lattices. Then for any interval \( {I}\) in \( P \) we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{{I}} \circ {\text {res}}_f = {{\,\textrm{Rk}\,}}_{\overline{f({I})}}. \end{aligned}$$
Definition 3.14
Let \( f :P \rightarrow Q \) be a poset homomorphism.
We call two collections of intervals \( \mathcal {I} _P \) and \( \mathcal {I} _Q \) in \( P \) and \( Q \) compatible, if
  • for any \( {I}_P \in \mathcal {I} _P \) the convex hull of the image \( \overline{f({I})_P} \) lies in \( \mathcal {I} _Q \), and
  • for any \( {I}_Q \in \mathcal {I} _Q \) the preimage \( f^{-1}({I}_Q) \) lies in \( \mathcal {I} _P \), or is empty.
Corollary 3.15
Let \( f :P \rightarrow Q \) be a lattice homomorphism, and let \( \mathcal {I} _P \) and \( \mathcal {I} _Q \) be compatible collections of intervals in \( P \) and \( Q \). Let M be a representation of \( Q \) admitting a rank decomposition \((\mathcal {R}, \mathcal {S})\) over \( \mathcal {I} _Q \),
Then \((f^{-1}(\mathcal {R}), f^{-1}(\mathcal {S}))\) is a rank decomposition of \( {\text {res}}_f M \) over \( \mathcal {I} _P \), where by definition \(f^{-1}(\mathcal {R}) = \{ f^{-1}(R) \mid R\in \mathcal {R}, R \cap f(P) \ne \emptyset \}\) and similarly for \( \mathcal {S} \).
In the following examples we will consider intervals in \( \mathbb {R}^d \) and their interactions with related posets. We will call an interval \( {I}\) in \( \mathbb {R}^d \) half open if
  • \( \forall x \in {I}\ \exists \varepsilon > 0 :\langle x, x+ (\varepsilon , \cdots , \varepsilon )\rangle \subseteq {I}\), and
  • \( \forall x \not \in {I}\ \exists \varepsilon > 0 :\langle x, x+ (\varepsilon , \cdots , \varepsilon )\rangle \cap {I}= \emptyset \).
This is equivalent to requiring that its intersection with any upward sloping line is a half-open interval on that line.
Example 3.16
Consider again the poset homomorphism \(P\rightarrow Q\) with \(P={\mathbb {R}}\) and \(Q={\mathbb {R}}^d\) from Example 3.4. Note that this is a lattice homomorphism. Let \( \mathcal {I} _P = \{ [a, b) \} \) be the collection of half-open intervals in \( \mathbb {R} \), and \( \mathcal {I} _Q \) be the collection of half-open intervals in the sense above. These are compatible collections of intervals. Therefore, for any \( M \in {{\,\textrm{Rep}\,}}Q \) admitting a rank decompositions \((\mathcal {R}, \mathcal {S})\) with elements in \(\mathcal {I} _Q\), its restriction to the line parametrized by \( f \) has an induced rank decomposition with elements in \(\mathcal {I} _P\).
The statement remains true if we restrict \( \mathcal {I} _Q \) to being any smaller collection of half-open intervals which includes all “half-open rectangles” \( \{ [a_1, b_1) \times \cdots \times [a_d, b_d) \} \).
We also get analogous results when considering \( \mathcal {I} _P \) to be the closed (resp. open, all) intervals in \( \mathbb {R} \), and \( \mathcal {I} _Q \) to be a collection of closed (resp. open, all) intervals containing the closed (resp. open, all) rectangles in \( \mathbb {R}^d \).
Example 3.17
For a collection of finite subsets \( F_i \subset \mathbb {R} \), consider the finite grid \( \prod _{i=1}^d F_i \subset \mathbb {R}^d \). As in Proposition 3.6, we want to consider left Kan extensions from the grid to \( \mathbb {R}^d \). As in that proof, we add formal \(-\infty \) coordinates, and we notice that left Kan extensions are realized as restrictions along \( \lfloor \cdot \rfloor \).
We now observe that \( \lfloor \cdot \rfloor \) is a lattice homomorphism: right adjoints automatically commute with meets, but for joins we use the fact that we are specifically considering grids.
Consider either of the following situations:
  • \( \mathcal {I} _{\mathbb {R}^d} \) consists of all half-open rectangles, and \( \mathcal {I} _{\prod _{i=1}^d F_i } \) of all segments, or
  • \( \mathcal {I} _{\mathbb {R}^d} \) consists of all half-open intervals, and \( \mathcal {I} _{\prod _{i=1}^d F_i } \) of all intervals.
All of these have corresponding versions in the respective posets including “\( - \infty \)”-s. Then they form compatible collections of intervals, along the map \( \lfloor \cdot \rfloor \).
It then follows that any rank decomposition of \( M \in {{\,\textrm{rep}\,}}\prod _{i=1}^d F_i \subset \mathbb {R}^d \) induces a rank decomposition of its left Kan extension.
Corollary 3.18
Let \( M \in {{\,\textrm{rep}\,}}\mathbb {R}^d \) be finitely presented. Let \( \mathcal {I} \) either be the collection of half-open rectangles or the collection of all half-open intervals. Then there are unique disjoint multi-sets \( \mathcal {R} \) and \( \mathcal {S} \) of elements of \( \mathcal {I} \), such that
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\mathcal {I}} M = {{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}_{\mathcal {I}} \textbf{k}_{\mathcal {S}}. \end{aligned}$$
Proof
Since \( M \) is finitely presented it is the left Kan extension of a representation of a finite grid. (Consider the positions of all generators and relations of \( M \), and then form the smallest grid containing all these points.) For this finite grid, the statement holds by Corollary 2.13. As a final step, by the above example we know that rank decompositions are preserved by left Kan extensions. \(\square \)
The following fact is an interesting additional consequence of the results of this section. It follows by comparing the proofs of Corollaries 3.7 and 3.18.
Corollary 3.19
Let \( M \in {{\,\textrm{rep}\,}}\mathbb {R}^d \) be finitely presented. Let \( \mathcal {R} \) and \( \mathcal {S} \) be multi-sets of half-open rectangles. Then the following are equivalent:
1.
\( ( \mathcal {R}, \mathcal {S}) \) is a rank decomposition of \( {{\,\textrm{Rk}\,}}_\mathcal {I} M \) over the collection \(\mathcal {I} \) of half-open rectangles;
 
2.
the usual rank invariant of \( M \) is decomposed as \( {{\,\textrm{Rk}\,}}M = {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}\textbf{k}_{\mathcal {S}} \).
 
That is, we obtain the same decomposition over the half-open rectangles, independent of whether we consider the usual rank invariant or the generalized rank invariant.
Remark 3.20
This corollary shows that considering decompositions of the usual rank into half-open rectangles, while a priori outside the formal framework of Definition 1.5, may be considered a rank decomposition as in Definition 1.5 with respect to the class of half-open rectangles.

4 Rank-Exact Sequences and Resolutions

In this section we focus on the usual rank invariant and prove that the families of lower hooks and of upper hooks each yield a basis for its decomposition, both in the finite poset case (Theorem 4.13) and in the infinite upper semi-lattice case (Theorem 4.19). The reason for considering these particular families of intervals is that,
as explained in the introduction, these are the intervals that come up naturally when one tries to factor the rank invariant through projective resolutions. Our proof highlights this connection at the homological algebra level.
Our exposition is organized as follows. In Sect. 4.1 we introduce the class of short rank-exact sequences, show that it defines the structure of an exact category on \({{\,\textrm{rep}\,}}P\), characterize its indecomposable projectives and injectives as being respectivel the lower hook modules and the upper hook modules, and introduce its associated Grothendieck group. Then, in Sects. 4.2 and 4.3 we prove that finitely presented modules admit finite projective resolutions in the rank-exact category, both in the finite poset case and in the infinite upper semi-lattice case. From there we conclude on the existence and uniqueness of rank decompositions by interval modules supported on lower or upper hooks.

4.1 The Rank-Exact Category

Exact categories were introduced by Quillen [37] (a similar definition was given by Heller [25]), with the aim of having a minimal categorical setup in which the standard methods of homological algebra of abelian categories can be applied. See Bühler’s survey [15] for a good introduction to the subject.
More precisely, an exact category is an additive category together with a class of kernel-cokernel pairs, i.e., pairs of morphisms https://static-content.springer.com/image/art%3A10.1007%2Fs10208-024-09672-9/MediaObjects/10208_2024_9672_IEq719_HTML.gif such that i is a kernel of p and p is a cokernel of i.
We call the first morphism of such a pair
an admissible monic, and the second morphism
an admissible epic. With this notation, we require that:
E0
all identity morphisms are both admissible monics and admissible epics;
 
E1
compositions of admissible monics (epics) are admissible monics (epics) again;
 
E2
push-outs of admissible monics along arbitrary maps exist and are admissible monics again; pull-backs of admissible epics along arbitrary maps exist and are admissible epics again.
 
Such a class of kernel-cokernel pairs is called an exact structure.
Abelian categories, such as for instance the category of persistence modules over a fixed poset, have a canonical exact structure given by all the pairs of morphisms appearing in their short exact sequences. However, other (weaker) exact structures may be considered as well, by restricting the focus to certain classes of short exact sequences—those are then called distinguished short exact sequences. This is what we do in this section.
For the first part of this section, \(P\) is an arbitrary poset. We
consider the following class of short exact sequences.
Definition 4.1
A short exact sequence \( 0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0 \) in \( {{\,\textrm{rep}\,}}P\) will be called rank-exact if \( {{\,\textrm{Rk}\,}}B = {{\,\textrm{Rk}\,}}A + {{\,\textrm{Rk}\,}}C \). We denote the collection of rank-exact sequences by \( \mathcal {E}_{\textrm{Rk}}\).
It is not a priori clear that the rank-exact sequences form an exact structure. We will show this using the following construction.
Proposition 4.2
[24, Propositions 1.4 and 1.7] Let \( \mathcal {X} \) be a class of objects in an abelian category. Consider the class of exact sequences
$$\begin{aligned} \mathcal {E}_{\mathcal {X}} = \{ 0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0 \mid \forall X \in \mathcal {X} :{{\,\textrm{Hom}\,}}(X, B) \rightarrow {{\,\textrm{Hom}\,}}(X, C) \text { epic} \}. \end{aligned}$$
Then \( \mathcal {E}_{\mathcal {X}} \) defines an exact structure.
Conversely to this construction, for a given exact structure \( \mathcal {E} \) on an abelian category, one may consider all objects \( X \) such that \( {{\,\textrm{Hom}\,}}(X, -) \) takes distinguished short exact sequences to short exact sequences of abelian groups. These objects are called \( \mathcal {E} \)-projective; \( \mathcal {E} \)-injective objects are defined dually, i.e., by replacing \( {{\,\textrm{Hom}\,}}(X, -) \) with \( {{\,\textrm{Hom}\,}}(-, X) \).
Remark 4.3
It follows immediately from the construction that all objects in \( \mathcal {X} \) are \( \mathcal {E}_{\mathcal {X}} \)-projective, and therefore that finite direct sums of objects in \( \mathcal {X} \) are also \( \mathcal {E}_{\mathcal {X}} \)-projective.
For our instance of rank-exact sequences the indicator representations supported on intervals of the following forms will turn out to be the relevant representations. Here we use the convention that \( - \infty< i < \infty \) for any \( i \in P\).
$$\begin{aligned} \langle i, j\langle&= \{ \ell \in P\mid i \le \ell \not \ge j \} & \text {for } i< j \in P\cup \{ \infty \}&{lower\, hook}\\ \rangle i, j\rangle&= \{ \ell \in P\mid i \not \ge \ell \le j \} & \text {for } i < j \in P\cup \{ - \infty \}&{upper\, hook} \end{aligned}$$
The following lemma connects these indicator modules to ranks.
Lemma 4.4
Let \( \langle i,j\rangle \) be a segment in \( P\).
1.
There is a short exact sequence of functors
$$\begin{aligned} 0 \rightarrow {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, -) \rightarrow (-)_i \rightarrow (-)_j, \end{aligned}$$
from \({{\,\textrm{rep}\,}}P\) to \(\textrm{vec}_\textbf{k}\), where \(M_i\) stands for M(i).
 
2.
As functions on poset representations, we have
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{\langle i,j\rangle } = \dim (-)_i - \dim {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, -). \end{aligned}$$
 
Proof
For \(i\in P\), let \(P_i = \textbf{k}_{\langle i, \infty \langle }\). Note that \( (-)_i \cong {{\,\textrm{Hom}\,}}( P_i, - ) \) and similarly for \( j \). Now the first claim follows from the exact sequence
$$\begin{aligned} P_j \rightarrow P_i \rightarrow \textbf{k}_{\langle i,j\langle } \rightarrow 0 \end{aligned}$$
and the left exactness of the \( {{\,\textrm{Hom}\,}}\)-functor.
For the second claim, observe that \( {{\,\textrm{Rk}\,}}_{\langle i,j\rangle } \) is the dimension of the image of the map \( (-)_i \rightarrow (-)_j \). In particular the formula for the rank is obtained by taking dimensions of the terms in the short exact sequence
$$\begin{aligned} 0 \rightarrow {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, -) \rightarrow (-)_i \rightarrow \text {image} \rightarrow 0. \end{aligned}$$
\(\square \)
This result allows us to connect rank-exactness to \( {{\,\textrm{Hom}\,}}\)s from hook modules.
Proposition 4.5
For \( i < j \) in \( P\), and a short exact sequence
$$\begin{aligned} \mathbb E :0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0 \end{aligned}$$
in \( {{\,\textrm{rep}\,}}P\), the following are equivalent.
1.
\( {{\,\textrm{Rk}\,}}_{\langle i,j\rangle } B = {{\,\textrm{Rk}\,}}_{\langle i,j\rangle } A + {{\,\textrm{Rk}\,}}_{\langle i,j\rangle } C \);
 
2.
\( {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i, j\langle }, \mathbb E ) \) is exact;
 
3.
\( {{\,\textrm{Hom}\,}}( \mathbb E, \textbf{k}_{\rangle i,j\rangle } ) \) is exact.
 
Proof
By Lemma 4.4(2), we see that (1) is equivalent to
$$\begin{aligned} \dim {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, B) = \dim {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, A) + \dim {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, C). \end{aligned}$$
By left-exactness of \({{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i,j\langle }, -)\), this equation holds if and only if \( {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i, j\langle }, \mathbb E ) \) is exact. This shows that (1) is equivalent to (2).
The equivalence of (1) and (3) is dual. \(\square \)
We are now ready to show that \( \mathcal {E}_{\textrm{Rk}}\) indeed defines an exact structure.
Theorem 4.6
The collection \(\mathcal {E}_{\textrm{Rk}}\) of rank-exact sequences defines the structure of an exact category on \( {{\,\textrm{rep}\,}}P\). Moreover, finite direct sums of objects of the form \( \textbf{k}_{\langle i, j\langle } \), where \( i < j \in P \cup \{ \infty \} \), are projective with respect to this exact structure. Dually, finite direct sums of objects \( \textbf{k}_{\rangle i, j\rangle } \), with \( i < j \in P \cup \{ - \infty \} \), are \( \mathcal {E}_{\textrm{Rk}}\)-injective.
Proof
In view of Proposition 4.5, we have \( \mathcal {E}_{\textrm{Rk}}= \mathcal {E}_{\{ \textbf{k}_{\langle i, j\langle } \mid i < j \}} \) in the notation of Proposition 4.2. It now follows from that proposition that \( \mathcal {E}_{\textrm{Rk}}\) is an exact structure. The claim on \( \mathcal {E}_{\textrm{Rk}}\)-projectives follows by Remark 4.3,
and the corresponding statement for injectives is dual. \(\square \)
Definition 4.7
Let \( \mathcal {E} \) be an exact category. The Grothendieck group \( {\textrm{K}_{0}}(\mathcal {E}) \) is the free abelian group on the objects of \( \mathcal {E} \), subject to the relation that \( [B] = [A] + [C] \) whenever \( 0 \rightarrow A \rightarrow B \rightarrow C \rightarrow 0 \) is a distinguished short exact sequence in \( \mathcal {E}. \)
Remark 4.8
Alternatively, the Grothendieck group may be characterized as a universal map from objects of \( \mathcal {E} \) to an abelian group which is additive on distinguished short exact sequences.
Remark 4.9
Grothendieck groups are central to homological algebra, and so it is unsurprising that they have already appeared in TDA in various forms. E.g., Patel [36] uses the standard Grothendieck group (i.e., the one associated with all the short exact sequences in the category) to define generalized persistence diagrams for one-parameter persistence modules valued in abelian categories, and Asashiba et al. [5] use the split Grothendieck group (i.e., the one associated the split exact sequences) to obtain interval approximations of persistence modules indexed by a two-parameter grid. As a result, they present the generalized persistence diagram of a module \(M\) given in [26] as a rank-preserving ‘projection’ of \(M\) onto the split Grothendieck group. The resulting approximation is thus essentially a minimal rank decomposition of \(M\) with respect to the generalized rank invariant over all intervals. The split Grothendieck group is natural in this context as it allows for the formal addition of (equivalence classes of) modules. This paper is the first in TDA to consider Grothendieck groups for exact categories.
Lemma 4.10
Let \( P\) be a poset. Then \( {{\,\textrm{Rk}\,}}\) defines a homomorphism of abelian groups \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}} \).
Proof
By construction, \( {{\,\textrm{Rk}\,}}\) is additive on rank-exact sequences, therefore it factors through the Grothendieck group. \(\square \)

4.2 Finite Posets

As remarked above, standard constructions from homological algebra can be applied in an exact category. We now recall the definition of the constructions we need in this section; it is therefore assumed that the underlying category is \({{\,\textrm{rep}\,}}P\), where \(P\) is a finite poset. An exact category \( \mathcal {E} \) has enough projectives if, for every object A in \(\mathcal {E}\), there exists an \( \mathcal {E} \)-projective object P and an admissible epic \(P\rightarrow A\). The notion of enough injectives is defined dually. A sequence of morphisms
$$\begin{aligned} \cdots \rightarrow A_1\xrightarrow {f_1} A_2 \xrightarrow {f_2} A_3 \rightarrow \cdots \end{aligned}$$
is \( \mathcal {E}\)-exact if, for all i, \({\textrm{im}}(f_{i-1}) \rightarrow A_i \rightarrow {\textrm{im}}(f_i)\) is a distinguished short exact sequence (here we have used that \({{\,\textrm{rep}\,}}P\) has kernels and cokernels; see [15, Lemma 8.4]). An \(\mathcal {E}\)-projective resolution of A is an \(\mathcal {E}\)-exact sequence
$$\begin{aligned} \cdots P_2 \rightarrow P_1 \rightarrow P_0 \rightarrow M \end{aligned}$$
where each \(P_i\) is \(\mathcal {E}\)-projective. \(\mathcal {E}\)-Injective resolutions are defined dually.
Since the objects we consider in this section are finite dimensional representations of finite posets, it follows from [6, Section 2.1] that if the exact structure has enough projectives, then it also has \(\mathcal {E}\)-projective covers (i.e., left minimal morphisms in [6, Section 2.1]). From this, one constructs a minimal \(\mathcal {E}\)-projective resolution by inductively computing \(\mathcal {E}\)-projective covers for kernels, precisely as in the classical setting. Since \(\mathcal {E}\)-projective covers are unique up to isomorphism [6, Proposition 2.1], so are minimal \(\mathcal {E}\)-projective resolutions. Furthermore, it follows from [6, Theorem 2.2] that if \(P_\bullet \rightarrow A\) is an \(\mathcal {E}\)-projective resolution of A, then \(P_\bullet \cong P_\bullet ' \oplus P_\bullet ''\) where \(P_\bullet '\) is a minimal \(\mathcal {E}\)-projective resolution of A. The case of minimal \(\mathcal {E}\)-injective resolutions is dual.
Theorem 4.11
Let \( P\) be a finite poset. Then \( \mathcal {E}_{\textrm{Rk}}\) has enough projectives, which are finite direct sums of lower hook modules, and enough injectives, which are finite direct sums of upper hook modules. Moreover, every object has a finite \( \mathcal {E}_{\textrm{Rk}}\)-projective and a finite \( \mathcal {E}_{\textrm{Rk}}\)-injective resolution.
Proof
Since \( P\) is finite, the category \( {{\,\textrm{rep}\,}}P\) is equivalent to the module category of a finite dimensional algebra. In particular we can apply the results of [7]. Proposition 1.10 of that paper gives the desired description of \( \mathcal {E}_{\textrm{Rk}}\)-projectives, and Theorem 1.12 shows that there are enough projectives.
To see that any object has a finite \( \mathcal {E}_{\textrm{Rk}}\)-projective resolution, note that
$$\begin{aligned} {{\,\textrm{Hom}\,}}( \textbf{k}_{\langle i, j\langle }, \textbf{k}_{\langle m, n\langle }) \ne 0 \quad \Longrightarrow \quad i \ge m \text { and } j \ge n \end{aligned}$$
and \( {{\,\textrm{End}\,}}( \textbf{k}_{\langle i, j\langle }) = \textbf{k}\). It follows that the indices appearing in a minimal \( \mathcal {E}_{\textrm{Rk}}\)-projective resolution increase from term to term, and thus we have a finite resolution since \(P\) is finite.
The claims for \( \mathcal {E}_{\textrm{Rk}}\)-injectives and \( \mathcal {E}_{\textrm{Rk}}\)-injective resolutions are dual. \(\square \)
Corollary 4.12
The elements \( [ \textbf{k}_{\langle i, j\langle } ] \) generate \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \).
Proof
For any \( M\in {{\,\textrm{rep}\,}}P \), consider the finite \( \mathcal {E}_{\textrm{Rk}}\)-projective resolution
$$\begin{aligned} P_k\xrightarrow {p_k}\cdots P_2 \xrightarrow {p_2} P_1 \xrightarrow {p_1} P_0 \xrightarrow {p_0} M. \end{aligned}$$
By definition,
$$\begin{aligned} {{\,\textrm{Rk}\,}}M&= {{\,\textrm{Rk}\,}}P_0 - {{\,\textrm{Rk}\,}}{\textrm{im}}(p_1) = {{\,\textrm{Rk}\,}}P_0 - ({{\,\textrm{Rk}\,}}P_1 - {{\,\textrm{Rk}\,}}{\textrm{im}}(p_2))\\&= {{\,\textrm{Rk}\,}}P_0 - {{\,\textrm{Rk}\,}}P_1 + ({{\,\textrm{Rk}\,}}P_2 - {{\,\textrm{Rk}\,}}{\textrm{im}}(p_3)) = \cdots = \sum _{n=0}^k (-1)^n {{\,\textrm{Rk}\,}}P_n. \end{aligned}$$
In \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \) this gives
$$\begin{aligned} {[}M] = \sum _{n=0}^{k} (-1)^n [P_n]. \end{aligned}$$
\(\square \)
Theorem 4.13
Let \( P\) be a finite poset. Then
$$\begin{aligned} {{\,\textrm{Rk}\,}}:{\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}} \end{aligned}$$
is an isomorphism. Moreover, the following three sets are bases for \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \):
$$\begin{aligned}&\{ [\textbf{k}_{\langle i,j\rangle }] \mid i \le j \in P \},\\&\{ [\textbf{k}_{\langle i,j\langle } ] \mid i< j \in P \cup \{ \infty \} \}, \ \text {and} \\&\{ [\textbf{k}_{\rangle i,j\rangle } \mid i < j \in P \cup \{ - \infty \} \}. \end{aligned}$$
Proof
By Theorem 2.12, the map \( {{\,\textrm{Rk}\,}}:{\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}} \) is surjective. By Corollary 4.12, \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \) is generated by \( | \{ {\le }_{P} \} | \) elements. For the map to be surjective, the image of a choice of \( | \{ {\le }_{P} \} | \) generators must be linearly independent. It follows that \( {{\,\textrm{Rk}\,}}\) is an isomorphism, and moreover that these generators are linearly independent. In particular we have established the second basis for \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \). The final one is dual. The first one follows from Theorem 2.12, together with the fact that \( {{\,\textrm{Rk}\,}}\) is an isomorphism.
Let us illustrate Theorem 4.13 with a concrete example.
Example 4.14
We revisit the example from Fig. 3. Note that we have the following rank-exact sequences, where each representation is indecomposable:
and In the Grothendieck group \({\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp})\), these rank-exact sequences yield the following equations: and Hence: which, via the group homomorphism \({{\,\textrm{Rk}\,}}:{\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}}\), recovers the minimal rank decomposition of Fig. 3.

4.3 Finitely Presented Representations of Upper Semi-lattices

Let \( P\) be an upper semi-lattice—meaning that any finite set of elements of \( P \) has a join, i.e., a least upper bound. For any finite subposet \( Q\) that is closed under taking joins, we define the operator \(\lfloor \cdot \rfloor _Q\) taking any element \( p \in P\) for which the set \( \{ s \in Q\mid s \le p \} \) is non-empty to the (unique) maximum element \(\lfloor p \rfloor _Q= \max \{ s \in Q\mid s \le p\}\).
The left Kan extension of a persistence module along a poset homomorphism is given by a colimit computation [39, Theorem 6.2.1]. In our situation, this reduces to
$$\begin{aligned} \textrm{Lan}\,M(p) = {\left\{ \begin{array}{ll} M(\lfloor p \rfloor _{Q}) & \text {if } \lfloor p \rfloor _{Q} \text { exists}\\ 0 & \text {otherwise} \end{array}\right. } \end{aligned}$$
and for \(p\le p'\), the map \(\textrm{Lan}\,M(p) \rightarrow \textrm{Lan}\,M(p')\) is either trivial or equal to \(M(\lfloor p \rfloor _{Q}) \rightarrow M(\lfloor p' \rfloor _{Q})\) if both \(\lfloor p \rfloor _{Q}\) and \(\lfloor p' \rfloor _{Q}\) exist.
This description of left Kan extensions has the following immediate consequence.
Lemma 4.15
In the situation described above, left Kan extensions preserve rank-exact sequences.
Proof
This follows immediately from the description of the left Kan extensions. \(\square \)
Lemma 4.16
Let \( f:S \rightarrow P\) be any morphism of posets. Then
$$\begin{aligned} \textrm{Lan}\,\textbf{k}_{\langle s,t\langle } = \textbf{k}_{\langle f(s), f(t)\langle } \end{aligned}$$
for any \( s < t \in S \cup \{ \infty \} \).
Proof
First, we recall the following general fact: let F and G be functors between abelian categories and assume that F is left adjoint to G. If G is exact, then F(M) is projective (with respect to the standard exact structure) if M is projective. To see this, observe that \({{\,\textrm{Hom}\,}}(F(M),-) \cong {{\,\textrm{Hom}\,}}(M,G(-))\) from the adjoint property, and that the right hand side is a composition of two exact functors. We conclude that \({{\,\textrm{Hom}\,}}(F(M),-) \) is exact, too.
The left Kan extension is right exact since it is left adjoint to the restriction functor (precomposition by f) . Furthermore, the restriction functor is exact, and therefore the left Kan extension sends projectives to the corresponding projectives. Now the claim follows from the fact that we have a projective presentation
$$\begin{aligned} \textbf{k}_{\langle t, \infty \langle } \rightarrow \textbf{k}_{\langle s, \infty \langle } \rightarrow \textbf{k}_{\langle s, t\langle } \rightarrow 0. \end{aligned}$$
\(\square \)
Proposition 4.17
Let \( P\) be an upper semi-lattice. Then finitely presented representations, together with rank-exact sequences, form an exact category with enough projectives and injectives. The projectives and injectives in this exact category are precisely upper and lower hooks, respectively. Moreover, any object has a finite projective and a finite injective resolution. \(\square \)
Proof
Let \( M\) be a finitely presented with respect to the standard exact structure. Let \( Q\) be the join-closure of all the indices appearing in a projective presentation of \( M\). Then it follows from the formula given for left Kan extensions above that \( M= \textrm{Lan}\,M_0 \), for some representation \( M_0\) of \( Q\).
By Theorem 4.11, \( M_0 \) has a finite rank-projective resolution. By Lemmas 4.15 and 4.16, the left Kan extension of this rank-projective resolution will be a new rank-projective resolution. In particular all terms appearing in this projective resolution are sums of upper hook representations. It follows that any projective is a summand of a sum of upper hook representations, thus itself a sum of upper hook representations. \(\square \)
Let \( \mathcal {E}_{\textrm{Rk}}^\textrm{fp} \) denote the exact structure induced by rank-exact sequences on finitely presented representations. The exact same argument as for Corollary 4.12 gives the following.
Corollary 4.18
The elements \( [ \textbf{k}_{\langle i, j\langle } ] \) generate \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \).
Theorem 4.19
Let \( P\) be an upper semi-lattice. Then, \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \) is free, and the set \( \{ [\textbf{k}_{\langle i, j\langle }] \mid i < j \in P \cup \{ \infty \} \} \) is a basis of \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \), and furthermore, the map
$$\begin{aligned} {{\,\textrm{Rk}\,}}:{\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \rightarrow \mathbb {Z}^{\{ {\le }_{P} \}} \end{aligned}$$
is injective.
Proof
We already know that the family \( \{ [\textbf{k}_{\langle i, j\langle }] \mid i < j \in P \cup \{ \infty \} \} \) generates \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \). Assume that these elements are not linearly independent. That means that there is a finite subset which is not linearly independent. However, by Theorem 4.13, for any finite set the ranks will be linearly independent. It follows that the generating family is in fact a basis, and that \( {{\,\textrm{Rk}\,}}\) is injective. \(\square \)

5 Application to Multi-parameter Persistence

In multi-parameter persistence, the poset \(P\) under consideration is either \({\mathbb {R}}^d\), viewed as a product of d copies of the totally ordered real line, or a subposet of \({\mathbb {R}}^d\)—usually \({\mathbb {Z}}^d\) or some finite grid \(\prod _{i=1}^d {\llbracket 1,n_i\rrbracket }\). In this setting the segments are rectangles, i.e., products of 1-d intervals.

5.1 The Finite Grid Case

In this case, Corollary 2.13 reformulates as follows:
Corollary 5.1
Given an arbitrary collection \(\mathcal {I} \) of intervals in a finite grid \(G= \prod _{i=1}^d \llbracket 1, n_i\rrbracket \subset {\mathbb {R}}^d\), the generalized rank invariant \({{\,\textrm{Rk}\,}}_\mathcal {I} M\) of any pfd persistence module \(M\) indexed over \(G\) admits a unique minimal rank decomposition \((\mathcal {R}, \mathcal {S})\) over \(\mathcal {I} \).
Taking \(\mathcal {I} \) to be the collection of all closed rectangles in the grid \(G\) yields the following reformulation of Corollary 2.15:
Corollary 5.2
The usual rank invariant of any pfd persistence module \(M\) indexed over a finite grid \(G= \prod _{i=1}^d \llbracket 1, n_i\rrbracket \subset {\mathbb {R}}^d\) admits a unique minimal rank decomposition \((\mathcal {R}, \mathcal {S})\), where \(\mathcal {R} \) and \(\mathcal {S} \) are finite multi-sets of (closed) rectangles in \(G\).
Figures 6 and 7 illustrate Corollary 5.1, while Figs. 3 and 8 illustrate Corollary 5.2.
To compute the minimal rank decompositions, we can apply the formula of Corollary 2.16, which reformulates as follows in the case of the usual rank invariant of a pfd persistence module \(M\) indexed over a finite grid \(G= \prod _{i=1}^d \llbracket 1, n_i\rrbracket \subset {\mathbb {R}}^d\): \(\forall s\le t\in G\),
$$\begin{aligned} \alpha _{\langle s,t\rangle } = \sum _{{\begin{matrix}s'\le s\\ \Vert s'-s\Vert _\infty \le 1\end{matrix}}} \sum _{{\begin{matrix}t'\ge t\\ \Vert t'-t\Vert _\infty \le 1\end{matrix}}} (-1)^{\Vert s'-s\Vert _1 + \Vert t'-t\Vert _1}\,{{\,\textrm{Rk}\,}}M(s',t'). \end{aligned}$$
(5.1)
The case \(d=1\) gives the well-known inclusion-exclusion formula relating the persistence diagram of a one-parameter persistence module to its rank invariant [20]. The case \(d=2\) gives the inclusion-exclusion formula for computing the multiplicities of summands in rectangle-decomposable 2-parameter persistence modules [11].
Figure 8 illustrates (5.1) on an interval module \(\textbf{k}_{I}\) in a finite 2-d grid. Indeed, on such modules, (5.1) yields the following expression for the minimal rank decomposition of \({{\,\textrm{Rk}\,}}\textbf{k}_{I}\):
$$\begin{aligned} \mathcal {R}&:= \left\{ \langle g_u, c_v\rangle \mid g_u\le c_v\ \text{ and }\ 2u \equiv 2v\!\!\!\! \mod 2\right\} ,\\ \mathcal {S}&:= \left\{ \langle g_u, c_v\rangle \mid g_u\le c_v\ \text{ and }\ 2u \not \equiv 2v\!\!\!\! \mod 2\right\} , \end{aligned}$$
where \(g_1, \cdots , g_k\) are the minimal elements in \({I}\) (sorted by increasing abscissae), \(c_1, \cdots , c_l\) are its maximal elements (sorted likewise), \(g_{i+\frac{1}{2}} := g_i \vee g_{i+1}\) (join) for each \(i\in {\llbracket 1,k-1\rrbracket }\), and \(c_{j+\frac{1}{2}} := c_j \wedge c_{j+1}\) (meet) for each \(j\in {\llbracket 1,l-1\rrbracket }\). Here, u (resp. v) ranges over all integers and half-integers in the interval [1, k] (resp. [1, l]).
Remark 5.3
In the general case where \(G= \prod _{i=1}^d \llbracket 1, n_i\rrbracket \subset {\mathbb {R}}^d\), by applying (5.1) to every pair of comparable indices \(s\le t\in G\) in sequence, one computes the minimal rank decomposition of the usual rank invariant in time \(O\left( 2^{2d}\, \# \{ {\le }_{G} \}\right) \), assuming constant-time access to the ranks \({{\,\textrm{Rk}\,}}M(s', t')\) and constant-time arithmetic operations4. This bound is in \(O\left( 2^{2d}\, \prod _{i=1}^d n_i^2\right) \), and when d is fixed, it is linear in the size of the domain of the usual rank invariant viewed as a map \(\{ {\le }_{G} \}\rightarrow {\mathbb {Z}}\). When the module \(M\) comes from a simplicial filtration over the grid \(G\) with \(n = \max _{i} n_i\) simplices in total, the usual rank invariant itself can be pre-computed and stored, e.g. by naively computing the ranks \({{\,\textrm{Rk}\,}}M(s,t)\) for each pair \(s\le t\in G\) independently, which takes \(O(n^{2d+\omega })\) time in total, where \(2\le \omega <2.373\) is the exponent for matrix multiplication [34]. Adding in the computation time for the minimal rank decomposition yields a bound in \(O(n^{2d+\omega } + (2n)^{2d})\). While naive, this approach already compares favorably, in terms of running time, to the computation of other (stronger) invariants such as for instance the direct-sum decomposition of \(M\)—for which the best known algorithm runs in \(O(n^{d(2\omega +1)})\) time [23]. Moreover, the running time of computing the minimal rank decomposition is dominated by the running time of pre-computing the usual rank invariant, for which there is room for improvement. In the special case where \(d=2\) for instance, assuming the filtration is 1-critical (i.e., each simplex has a unique minimal time of appearance in the filtration), there is an \(O(n^4)\)-time algorithm to compute the usual rank invariant [11], and computing its minimal rank decomposition also takes \(O(n^4)\) time. By comparison, the best known algorithm to compute the direct-sum decomposition of \(M\) in this setting takes \(O(n^{2\omega +1})\) time [23].

5.2 The \(\mathbb {R}^d\) Case

Since \({\mathbb {R}}^d\) is a lattice and we are interested in finitely presented modules, the rectangles used for the decomposition of the usual rank invariant are half-open as in Sect. 3.1, even though the usual rank invariant itself is evaluated on closed rectangles5. Corollary 3.7 reformulates as follows:
Corollary 5.4
The usual rank invariant of every finitely presented persistence module \(M\) over \({\mathbb {R}}^d\) admits a unique minimal rank decomposition over the half-open rectangles in \({\mathbb {R}}^d\).
Meanwhile, Theorem 4.19 implies the following:
Corollary 5.5
The usual rank invariant of every finitely presented persistence module \(M\) over \({\mathbb {R}}^d\) admits a unique minimal rank decomposition over the lower hooks in \({\mathbb {R}}^d\).
These two results are illustrated in Fig. 9. The first one can also be derived from the second one, by further decomposing the rank invariants of hook modules over the half-open rectangles. The decomposition can in fact be done in the Grothendieck group \({\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp})\) directly, via rank-exact resolutions of hook modules by half-open rectangle modules, as described next.
Lemma 5.6
Assume \( {I}= \bigcup _{i=1}^n {I}_i \), with each \({I}_i\) being a down-set in the poset \( {I}\). Then, the sequence
$$\begin{aligned} 0 \rightarrow \textbf{k}_{{I}} \rightarrow \bigoplus _{i=1}^n \textbf{k}_{{I}_i} \rightarrow \bigoplus _{i< j} \textbf{k}_{{I}_i \cap {I}_j} \rightarrow \bigoplus _{i< j < \ell } \textbf{k}_{{I}_i \cap {I}_j \cap {I}_\ell } \rightarrow \cdots \rightarrow \textbf{k}_{\bigcap _i I_i} \rightarrow 0 \end{aligned}$$
with component maps
$$\begin{aligned} \textbf{k}_{\cap _{i \in X} {I}_i} \rightarrow \textbf{k}_{\cap _{i \in Y} {I}_i} :{\left\{ \begin{array}{ll} (-1)^{\#\{x \in X \mid x < y\}}\, \text {projection} & \text {if } Y = X \cup \{y\} \\ 0 & \text {otherwise} \end{array}\right. } \end{aligned}$$
is rank exact. Note that the assumption that each \({I}_i\) is a down-set in \({I}\) guarantees the projections in the component maps to be well-defined.
Proof
We employ induction on \( n \). Let \( {I}' = \bigcup _{i=2}^n {I}_i \). The short exact sequence
$$\begin{aligned} 0 \rightarrow \textbf{k}_{{I}} \rightarrow \textbf{k}_{{I}_1} \oplus \textbf{k}_{{I}'} \rightarrow \textbf{k}_{{I}_1 \cap {I}'} \rightarrow 0 \end{aligned}$$
is rank exact. Inductively, we have rank exact sequences for \( {I}' \) and for \( {I}_1 \cap {I}' = \bigcup _{i=2}^n {I}_1 \cap {I}_i \) as in the two rows of the following diagram. We can add the vertical arrows and check that the entire diagram commutes (for appropriate sign conventions). In particular its total complex is rank exact again. Putting this total complex in the upper row, we obtain the following commutative diagram.
Choosing the vertical arrows to be inclusion of and projection to the corresponding summand we obtain a new commutative diagram. Again we form the total complex, and observe that up to homotopy the two copies of \( \textbf{k}_{{I}'} \) and the two copies of \( \textbf{k}_{{I}_1 \cap {I}'} \) cancel. Thus we get the rank exact sequence in the statement of the lemma. \(\square \)
From Lemma 5.6 and Theorem 4.19 we derive the following categorical enhancement of Corollary 5.4:
Theorem 5.7
For the poset \( \mathbb {R}^d \), the set
$$\begin{aligned} \{ \textbf{k}_{[a_1, b_1) \times \cdots \times [a_d, b_d)}] \mid a_i < b_i \in \mathbb {R} \cup \{ \infty \} \} \end{aligned}$$
is a basis of \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \).
Proof
Note that
$$\begin{aligned} \langle \textbf{a}, \textbf{b} \langle = \bigcup _{i = 1}^d [a_1, \infty ) \times \cdots \times [a_{i-1}, \infty ) \times [a_i, b_i) \times [a_{i+1}, \infty ) \times \cdots \times [a_d, \infty ), \end{aligned}$$
and all the sets on the right-hand side are down-sets in \( \langle \textbf{a}, \textbf{b} \langle \). Thus, Lemma 5.6 applies. In particular, any \( [ \textbf{k}_{\langle \textbf{a}, \textbf{b} \langle } ] \) is a linear combination of vectors in our candidate basis, which therefore generates \( {\textrm{K}_{0}}(\mathcal {E}_{\textrm{Rk}}^\textrm{fp}) \) by Theorem 4.19.
The linear independence follows from Proposition 2.4—alternatively, linear independence can also be verified by carefully analyzing the base change from the basis of Theorem 4.19 to the candidate basis here. \(\square \)

5.3 Restrictions to Lines

From Example 3.4 we get the following:
Corollary 5.8
Let \(M\) be a pfd persistence module over \({\mathbb {R}}^d\) such that the usual rank invariant \({{\,\textrm{Rk}\,}}M\) admits a rank decomposition \((\mathcal {R}, \mathcal {S})\) over half-open (resp. open, closed, all) rectangles. Then, for any upward sloping line \(\ell \) in \({\mathbb {R}}^d\), \((\mathcal {R}, \mathcal {S})\) restricts to a rank decomposition \(({\mathcal {R}}_{|\ell }, {\mathcal {S}}_{|\ell })\) of \({{\,\textrm{Rk}\,}}{M}_{|\ell }\) over half-open (resp. open, closed, all) intervals.
Note that the restriction of a minimal decomposition may not be minimal, as different rectangles in \(\mathcal {R} \) and \(\mathcal {S} \) may restrict to the same 1-d interval—see Fig. 10 for an illustration. However, by Corollary 2.7, the minimal rank decomposition \((\mathcal {R} ^*, \mathcal {S} ^*)\) of \({{\,\textrm{Rk}\,}}M_{|\ell }\) is easily obtained by removing all the common elements in \({\mathcal {R}}_{|\ell }\) and \({\mathcal {S}}_{|\ell }\). Furthermore, as illustrated in Fig. 10 and formalized in the following result, \((\mathcal {R} ^*, \mathcal {S} ^*)\) actually coincides with the persistence barcode of the one-parameter module \(M|_\ell \).
Corollary 5.9
For every pfd persistence module \(M\) indexed over the real line, the usual rank invariant \({{\,\textrm{Rk}\,}}M\) admits a unique minimal rank decomposition \((\mathcal {R}, \mathcal {S})\) over all intervals of \({\mathbb {R}}\), given by \(\mathcal {R} =\text {Bar}\,M\), the persistence barcode of \(M\), and \(\mathcal {S} =\emptyset \).
Proof
Call \(\mathcal {I} \) the collection of all closed intervals of \({\mathbb {R}}\), and note that \(\widehat{\mathcal {I}}\) as defined in (2.1) is then the collection of all intervals of \({\mathbb {R}}\). The structure theorem for pfd one-parameter persistence modules [22], combined with the fact that the usual rank invariant is additive on finite direct sums, implies that \((\text {Bar}\,M, \emptyset )\) is a rank decomposition of \({{\,\textrm{Rk}\,}}M={{\,\textrm{Rk}\,}}_\mathcal {I} M\) over \(\widehat{\mathcal {I}}\). This decomposition is minimal and Theorem 2.6 implies its uniqueness. \(\square \)

5.4 Stability

We conclude this section by saying a few words about the stability of our rank decompositions. Recall from Corollary 2.8 that we have \(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '} \simeq \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}}\) for any two rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of the same persistence module \(M\), or of two persistence modules \(M, M'\) sharing the same (usual) rank invariant. In effect, this is telling us that two rank decompositions are equivalent whenever their ground modules have the same rank invariant. Using the matching (pseudo-)distance \(\textrm{d}_{\textrm{match}}\) from [28], we can derive a metric version of this statement (Theorem 5.10), which bounds the defect of equivalence between two rank decompositions in terms of the fibered distance between the rank invariants of their ground modules. Recall that the matching distance between two pfd persistence modules \(M, N\) in \({\mathbb {R}}^d\) is defined as follows:
$$\begin{aligned} \textrm{d}_{\textrm{match}}(M, N) = \sup _{\ell \ \text {upward sloping}}\ \omega (\ell )\ \textrm{d}_{\textrm{b}}(M|_\ell , N|_\ell ), \end{aligned}$$
(5.2)
where \(\textrm{d}_{\textrm{b}}\) denotes the usual bottleneck distance between one-parameter persistence modules, and where the weight \(\omega (\ell )\) assigned to any upward sloping line \(\ell \) parametrized by \(\lambda \mapsto (1-\lambda )s +\lambda t\) with \(\lambda \) ranging over \({\mathbb {R}}\) while st are fixed in \({\mathbb {R}}^d\) and satisfy \(s_i<t_i\) for each \(i=1, \cdots , d\), is
$$\begin{aligned} \omega (\ell ) = \frac{\min _i t_i-s_i}{\max _i t_i-s_i}>0. \end{aligned}$$
Theorem 5.10
Let \(M, M'\) be pfd persistence modules indexed over \({\mathbb {R}}^d\). Then, for any rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of \({{\,\textrm{Rk}\,}}M\) and \({{\,\textrm{Rk}\,}}M'\) respectively over all rectangles in \({\mathbb {R}}^d\), we have:
$$\begin{aligned} \textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '}, \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}}) \le \textrm{d}_{\textrm{match}}(M, M'). \end{aligned}$$
Proof
Take any upward sloping line \(\ell \) in \({\mathbb {R}}^d\).
By (5.2), we have:
$$\begin{aligned} \textrm{d}_{\textrm{b}}(M_{|\ell }, M'_{|\ell }) \le \omega (\ell )^{-1}\, \textrm{d}_{\textrm{match}}(M, M'). \end{aligned}$$
Meanwhile, by Corollary 5.8, \((\mathcal {R} _{|\ell }, \mathcal {S} _{|\ell })\) is a rank decomposition of \({{\,\textrm{Rk}\,}}M_{|\ell }\), and \((\mathcal {R} '_{|\ell }, \mathcal {S} '_{|\ell })\) is a rank decomposition of \({{\,\textrm{Rk}\,}}M'_{|\ell }\) over all intervals of \({\mathbb {R}}\). By Proposition 2.4 and the structure theorem for pfd one-parameter persistence modules [22], we then have \(M_{|\ell } \oplus \textbf{k}_{\mathcal {S} _{|\ell }} \simeq \textbf{k}_{\mathcal {R} _{|\ell }}\) and \(M'_{|\ell } \oplus \textbf{k}_{\mathcal {S} '_{|\ell }} \simeq \textbf{k}_{\mathcal {R} '_{|\ell }}\), from which we deduce:
$$\begin{aligned} \text {d}_{\text {b}}(M_{|\ell }, M'_{|\ell })&\ge \text {d}_{\text {b}}(M_{|\ell } \oplus {\textbf {k}}_{\mathcal {S}_{|\ell }} \oplus {\textbf {k}}_{\mathcal {S} '_{|\ell }}, M'_{|\ell } \oplus {\textbf {k}}_{\mathcal {S}_{|\ell }} \oplus {\textbf {k}}_{\mathcal {S} '_{|\ell }})\\ &= \text {d}_{\text {b}}({\textbf {k}}_{\mathcal {R}_{|\ell }} \oplus {\textbf {k}}_{\mathcal {S} '_{|\ell }}, {\textbf {k}}_{\mathcal {R} '_{|\ell }} \oplus {\textbf {k}}_{\mathcal {S}_{|\ell }}). \end{aligned}$$
Combined with the previous equation, this gives:
$$\begin{aligned} \textrm{d}_{\textrm{b}}(\textbf{k}_{\mathcal {R} _{|\ell }} \oplus \textbf{k}_{\mathcal {S} '_{|\ell }}, \textbf{k}_{\mathcal {R} '_{|\ell }} \oplus \textbf{k}_{\mathcal {S} _{|\ell }}) \le \omega (\ell )^{-1}\, \textrm{d}_{\textrm{match}}(M, M'). \end{aligned}$$
The result follows then by taking the supremum on the left-hand side over all possible choices of upward sloping lines \(\ell \). \(\square \)
It is worth pointing out that different choices of rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) for \(M\) and \(M'\) may yield different values for the matching distance \(\textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '}, \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}})\). It turns out that the rank decompositions that maximize this distance are precisely the minimal rank decompositions, which therefore satisfy a universal property also in terms of the metric between decompositions:
Proposition 5.11
Let \(M, M'\) be pfd persistence modules indexed over \({\mathbb {R}}^d\). Then, for any rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of \({{\,\textrm{Rk}\,}}M\) and \({{\,\textrm{Rk}\,}}M'\) respectively over all rectangles in \({\mathbb {R}}^d\), we have:
$$\begin{aligned} \textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '}, \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}}) \le \textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R} ^*} \oplus \textbf{k}_{\mathcal {S} '^*}, \textbf{k}_{\mathcal {R} '^*} \oplus \textbf{k}_{\mathcal {S} ^*}), \end{aligned}$$
where \((\mathcal {R} ^*, \mathcal {S} ^*)\) and \((\mathcal {R} '^*, \mathcal {S} '^*)\) are the minimal rank decompositions of \({{\,\textrm{Rk}\,}}M\) and \({{\,\textrm{Rk}\,}}M'\) respectively over all rectangles in \({\mathbb {R}}^d\)—which exist as soon as \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) do, by Theorem 2.6.
Proof
Let \(\mathcal {T}:= \mathcal {R} \setminus \mathcal {R} ^* = \mathcal {S} \setminus \mathcal {S} ^*\), and \(\mathcal {T} ' := \mathcal {R} ' \setminus \mathcal {R} '^* = \mathcal {S} ' \setminus \mathcal {S} '^*\). Note that \(\mathcal {T}, \mathcal {T} '\) are well-defined by Theorem 2.6. Then, for any upward sloping line \(\ell \), we have:
$$\begin{aligned} \textrm{d}_{\textrm{b}}(\textbf{k}_{\mathcal {R} _{|\ell }} \oplus \textbf{k}_{\mathcal {S} '_{|\ell }},\ \textbf{k}_{\mathcal {R} '_{|\ell }} \oplus \textbf{k}_{\mathcal {S} _{|\ell }})\\&\hspace{-2.5cm}=\ \textrm{d}_{\textrm{b}}(\textbf{k}_{{\mathcal {R} ^*}_{|\ell }} \oplus \textbf{k}_{{\mathcal {S} '^*}_{|\ell }} \oplus \textbf{k}_{\mathcal {T} _{|\ell }} \oplus \textbf{k}_{\mathcal {T} '_{|\ell }},\ \textbf{k}_{{\mathcal {R} '^*}_{|\ell }} \oplus \textbf{k}_{{\mathcal {S} ^*}_{|\ell }} \oplus \textbf{k}_{\mathcal {T} _{|\ell }} \oplus \textbf{k}_{\mathcal {T} '_{|\ell }})\\&\hspace{-2.5cm}\le \ \textrm{d}_{\textrm{b}}(\textbf{k}_{{\mathcal {R} ^*}_{|\ell }} \oplus \textbf{k}_{{\mathcal {S} '^*}_{|\ell }},\ \textbf{k}_{{\mathcal {R} '^*}_{|\ell }} \oplus \textbf{k}_{{\mathcal {S} ^*}_{|\ell }}). \end{aligned}$$
The result follows then after multiplying by \(\omega (\ell )\) and taking the supremum on both sides over all possible choices of upward sloping lines \(\ell \). \(\square \)
Finally, we can also bound the defect of equivalence between two rank decompositions in terms of the defect of isomorphism between their ground modules—measured by the interleaving distance \(\textrm{d}_{\textrm{i}}\). This is a straight consequence of our Theorem 5.10 and of Theorem 1 from [28]:
Corollary 5.12
Let \(M, M'\) be pfd persistence modules indexed over \({\mathbb {R}}^d\). Then, for any rank decompositions \((\mathcal {R}, \mathcal {S})\) and \((\mathcal {R} ', \mathcal {S} ')\) of \({{\,\textrm{Rk}\,}}M\) and \({{\,\textrm{Rk}\,}}M'\) respectively over all rectangles in \({\mathbb {R}}^d\), we have:
$$\begin{aligned} \textrm{d}_{\textrm{match}}(\textbf{k}_{\mathcal {R}} \oplus \textbf{k}_{\mathcal {S} '}, \textbf{k}_{\mathcal {R} '} \oplus \textbf{k}_{\mathcal {S}}) \le \textrm{d}_{\textrm{i}}(M, M'). \end{aligned}$$

6 Signed Barcodes and Prominence Diagrams for Multi-Parameter Persistence Modules

In the context of topological data analysis, the minimal rank decomposition \((\mathcal {R}, \mathcal {S})\) of the (usual or generalized) rank invariant of a persistence module \(M:{\mathbb {R}}^d \rightarrow \textrm{Vec}_{\textbf{k}}\) encodes its structure visually. In the particular case of the usual rank invariant, we saw in the examples of Sect. 5 that we get direct access to the following pieces of information:
  • the rank \({{\,\textrm{Rk}\,}}M(s,t)\) between any pair of indices \(s\le t\in {\mathbb {R}}^d\), obtained as the number of rectangles in \(\mathcal {R} \) that contain both s and t minus the number of rectangles in \(\mathcal {S} \) that contain both s and t;
  • the barcode of the restriction of \(M\) to any upward sloping line \(\ell \), obtained by simplifying the restriction of \((\mathcal {R}, \mathcal {S})\) to \(\ell \), each bar of which comes from the intersection of a rectangle in \(\mathcal {R} \) or \(\mathcal {S} \) with \(\ell \).
The main drawback of representing rectangles as rectangles is that their overlaid arrangement quickly becomes hard to read—see e.g. Fig. 10.

6.1 Signed Barcodes

An alternate representation of the rectangles is by their diagonal with positive slope in \({\mathbb {R}}^d\). We call this representation the signed barcode of \({{\,\textrm{Rk}\,}}M\), where each bar is the diagonal (with positive slope) of a particular rectangle in \(\mathcal {R} \) or \(\mathcal {S} \), and where the sign is positive for bars coming from \(\mathcal {R} \) and negative for bars coming from \(\mathcal {S} \)—see Fig. 11 for an illustration. Like the rectangles, the bars are considered with multiplicity.
The signed barcode of \({{\,\textrm{Rk}\,}}M\) gives direct access to the same pieces of information as the rectangular representation—see Fig. 12:
  • the rank \({{\,\textrm{Rk}\,}}M(s, t)\) between any pair of indices \(s\le t\in {\mathbb {R}}^d\) is obtained as the number of positive bars that connect the down-set \(s^-=\{u\in {\mathbb {R}}^d \mid u\le s\}\) to the up-set \(t^+=\{u\in {\mathbb {R}}^d \mid u\ge t\}\), minus the number of negative bars that connect \(s^-\) to \(t^+\)—exactly as with persistence barcodes in the one-parameter case (see Fig. 1), except bars are now signed;
  • the barcode of the restriction of \(M\) to any upward sloping line \(\ell \) is obtained by simplifying the restriction of \((\mathcal {R}, \mathcal {S})\) to \(\ell \), each bar of which comes from the projection of a bar (st) in the signed barcode onto \(\ell \) according to the following rule—coming from the intersection of \(\ell \) with the rectangle \(\langle s, t\rangle \): project s onto the point \(s'=\ell \cap \partial s^+\), and t onto \(t'=\ell \cap \partial t^-\), if these two points exist and satisfy \(s'\le t'\) (otherwise the projection is empty).
Beyond these features, the signed barcode makes it possible to visually grasp the global structure of the usual rank invariant \({{\,\textrm{Rk}\,}}M\), and in particular, to infer the directions along which topological features have the best chances to persist.

6.2 Signed Prominence Diagrams

To each bar with endpoints \(s\le t\) in the usual signed barcode of a module \(M: {\mathbb {R}}^d\rightarrow \textrm{Vec}_{\textbf{k}}\), we can associate its signed prominence, which is the d-dimensional vector \(t-s\) if the bar corresponds to a rectangle in \(\mathcal {R} \), or \(s-t\) if the bar corresponds to a rectangle in \(\mathcal {S} \). We call signed prominence diagram of \(M\) the resulting collection of vectors in \({\mathbb {R}}^d\)—see Fig. 13 for an illustration.
Example 6.1
In the one-parameter setting, the signed prominence diagram encodes the lengths of the bars in the unsigned barcode, i.e., the vertical distances of the points to the diagonal in the persistence diagram. It is a discrete measure on the real line.
In a signed prominence diagram, the union \(\varDelta \) of the hyperplanes perpendicular to the coordinate axes and passing through the origin plays the role of the diagonal: a bar whose signed prominence lies close to \(\varDelta \) can be viewed as noise, whereas a bar whose signed prominence lies far away from \(\varDelta \) can be considered significant for the structure of the module \(M\). The right way to formalize this intuition is via smoothings, as in the one-parameter case.
Definition 6.2
Given a persistence module \(M\) indexed over \({\mathbb {R}}^d\), and a vector \(\varepsilon \in {\mathbb {R}}_{\ge 0}^d\), the \(\varepsilon \)-shift \(M[\varepsilon ]\) is the module defined pointwise by \(M[\varepsilon ](t) = M(t+\varepsilon )\) and \(M[\varepsilon ](s\le t) = M(s+\varepsilon \le t+\varepsilon )\). There is a canonical morphism of persistence modules \(M\rightarrow M[\varepsilon ]\), whose image is called the \(\varepsilon \)-smoothing of \(M\), denoted by \(M^\varepsilon \).
Example 6.3
The \(\varepsilon \)-shift of an arbitrary rectangle module \(\textbf{k}_{{R}}\) is the rectangle module \(\textbf{k}_{{R}-\varepsilon }\), where by definition \({R}-\varepsilon = \{t-\varepsilon \mid t\in {R}\}\). The \(\varepsilon \)-smoothing of \(\textbf{k}_{{R}}\) is the rectangle module \(\textbf{k}_{{R}^\varepsilon }\), where by definition \({R}^\varepsilon \) is the rectangle \({R}\cap ({R}-\varepsilon )\), obtained from \({R}\) by shifting the upper-right corner of \({R}\) by -\(\varepsilon \). Note that \(\textbf{k}_{{R}^\varepsilon }\) is the trivial module whenever \({R}\cap ({R}-\varepsilon )= \emptyset \).
As it turns out, usual rank decompositions commute with smoothings, more precisely:
Lemma 6.4
Suppose the usual rank invariant of \(M: {\mathbb {R}}^d\rightarrow \textrm{Vec}_{\textbf{k}}\) admits a rank decomposition \((\mathcal {R}, \mathcal {S})\) over arbitrary rectangles in \({\mathbb {R}}^d\). Then, for any \(\varepsilon \in {\mathbb {R}}_{\ge 0}^d\), the pair \((\mathcal {R} ^\varepsilon , \mathcal {S} ^\varepsilon )\) where \(\mathcal {R} ^\varepsilon = \{{R}^\varepsilon \mid {R}\in \mathcal {R} \}\) and \(\mathcal {S} ^\varepsilon = \{{S}^\varepsilon \mid {S}\in \mathcal {S} \}\) decomposes the usual rank invariant of \(M^\varepsilon \). When \((\mathcal {R}, \mathcal {S})\) is minimal, so is \((\mathcal {R} ^\varepsilon , \mathcal {S} ^\varepsilon )\) after removing the empty rectangles from \(\mathcal {R} ^\varepsilon \) and \(\mathcal {S} ^\varepsilon \).
Proof
For any indices \(s\le t\in {\mathbb {R}}^d\), the commutativity of the square
https://static-content.springer.com/image/art%3A10.1007%2Fs10208-024-09672-9/MediaObjects/10208_2024_9672_Equ104_HTML.png
implies that \({{\,\textrm{Rk}\,}}M^\varepsilon (s, t) = {{\,\textrm{Rk}\,}}M(s, t+\varepsilon )\). Then, the usual rank decomposition of \(M\) at indices \((s, t+\varepsilon )\) gives:
$$\begin{aligned} {{\,\textrm{Rk}\,}}M^\varepsilon (s, t) = {{\,\textrm{Rk}\,}}M(s, t+\varepsilon )&= \sum _{{R}\in \mathcal {R}} {{\,\textrm{Rk}\,}}\textbf{k}_{R}(s, t+\varepsilon ) - \sum _{{S}\in \mathcal {S}} {{\,\textrm{Rk}\,}}\textbf{k}_{S}(s, t+\varepsilon )\\&= \sum _{{R}\in \mathcal {R}} {{\,\textrm{Rk}\,}}\textbf{k}_{R}^\varepsilon (s, t) - \sum _{{S}\in \mathcal {S}} {{\,\textrm{Rk}\,}}\textbf{k}_{S}^\varepsilon (s, t)\\ \text{(Example } 6.3\hbox {)}~&= \sum _{{R}\in \mathcal {R}} {{\,\textrm{Rk}\,}}\textbf{k}_{{R}^\varepsilon }(s, t) - \sum _{{S}\in \mathcal {S}} {{\,\textrm{Rk}\,}}\textbf{k}_{{S}^\varepsilon }(s, t). \end{aligned}$$
When \((\mathcal {R}, \mathcal {S})\) is minimal, the minimality of \((\mathcal {R} ^\varepsilon , \mathcal {S} ^\varepsilon )\) after removing the empty rectangles comes from the fact that each \({R}^\varepsilon \) is obtained from \({R}\) by shifting its upper-right corner by -\(\varepsilon \), so \({R}^\varepsilon = {S}^\varepsilon \ne \emptyset \) implies \({R}= {S}\). \(\square \)
Thus, the effect of \(\varepsilon \)-smoothing \(M\) on its signed barcode is to shift the right endpoints of the bars by -\(\varepsilon \), removing those bars for which the shifted right endpoint is no longer greater than or equal to the left endpoint. The effect on its signed prominence diagram is to shift the positive vectors by -\(\varepsilon \) and the negative vectors by \(\varepsilon \), removing those vectors that cross \(\varDelta \). Alternatively, one can inflate \(\varDelta \) by \(\varepsilon \), and remove the vectors that lie in the inflated \(\varDelta \), as illustrated in Fig. 14.
So, the remoteness of the signed prominence of a bar from \(\varDelta \), or equivalently, the width of the rectangle corresponding to this bar in the usual rank decomposition of \(M\), measures how resilient that bar or rectangle is under smoothings of \(M\), and thus how important it is for the structure of the usual rank invariant.

7 Experiments

In this section we consider the signed barcodes in three different two-parameter settings. In the first experiment (Sect. 7.2), our point set has three distinct holes, and we will see how these holes can be inferred from the signed barcode. In the second experiment (Sect. 7.3), we explore the stability properties of the signed barcodes by considering a family of point sets sampled from the unit circle with an increasing amount of noise. In the final experiment (Sect. 7.4), we apply our methods in the context of two-parameter clustering. Before getting to the details of the experiments, we recall some helpful basic concepts from topological data analysis in Sect. 7.1.
Remark 7.1
Since we are working with two-parameter persistence modules, we have chosen to rely entirely on RIVET [30] to compute the usual rank invariant, mainly for the sake of simplicity and speed of implementation. As pointed out in Remark 5.3 and further discussed in Sect. 8, the use of RIVET—or part thereof—is not mandatory but can be considered as an option.

7.1 General Constructions

Let (Pd) denote a finite metric space. The neighborhood graph at scale r is the graph \(N(P)_r\) with vertex set P, and with an edge connecting p and q if \(d(p,q) \le r\). The Vietoris–Rips complex at scale r, \(\textrm{VR}(P)_r\), is defined as the clique complex on \(N(P)_r\), i.e., the largest simplicial complex having \(N(P)_r\) as its 1-skeleton. The Vietoris–Rips complex is an important tool in single-parameter persistent homology and it can be further refined in the presence of a real valued function \(f:P\rightarrow {\mathbb {R}}\): the Vietoris–Rips bifiltration of \(\textrm{VR}(P)_\infty \) (with respect to f) is given by
$$\begin{aligned} {\textrm{VR}}(P,f)_{r,s} := {\textrm{VR}}(f^{-1}(-\infty , s])_r. \end{aligned}$$
Applying simplicial homology with coefficients in a field \(\textbf{k}\) yields a persistence module M over \({\mathbb {R}}^2\),
$$\begin{aligned} M(r,s) = H_p({\textrm{VR}}(P,f)_{r,s} ). \end{aligned}$$
When considering points in the plane it is convenient to visualize the Vietoris–Rips bifiltration by the bifiltration of the plane given by f and the distance function, i.e.,
$$\begin{aligned} U^f_{r,s} = \left\{ z\in {\mathbb {R}}^2: \min _{p\in P, f(p) \le s} ||p-z|| \le r/2.\right\} \end{aligned}$$
As is well-known, \(H_p(U^f)\) offers only an approximation of \(H_p({\textrm{VR}}(P,f))\), and thus there might be slight homological discrepancies between the planar subsets as visualized, and the Vietoris–Rips bifiltration.
In practice we will consider a discretization of M. This is done by first selecting a finite number of thresholds \(X=\{r_0, \ldots , r_{g_1-1}\}\) and \(Y=\{s_0 \ldots , s_{g_2-1}\}\) for r and s, respectively, and then restricting M to the grid \(X\times Y\). In all the plots we will identify \(X\times Y\) with the grid \(\{0,1, \ldots , g_1 - 1\}\times \{0, 1, \ldots , g_2-1\}\). From Example 3.5 we know that, if \((\mathcal {R},\mathcal {S})\) is a rank decomposition of M, then \((\mathcal {R} |_{X\times Y}, \mathcal {S} |_{X\times Y})\) is a rank decomposition of \(M|_{X\times Y}\).

7.2 Experiment 1: Planar Points and the Height Function

  • The point set P consists of 150 planar points as shown in Fig. 15 (left).
  • The function f is the height function, i.e., \(f(p_x, p_y) = p_y\).
  • The homology degree is 1 and \(\textbf{k}={\mathbb {Z}}_2\).
  • The discretizations are given by restriction to the grids \(G_1=\{r_0, \ldots , r_{49}\}\times \{s_0, \ldots , s_{49}\}\) and \(G_2 = \{r_4, r_9, \ldots , r_{49}\}\times \{s_4, s_9, \ldots , s_{49}\}\). The values \(r_i\) are chosen such that the difference \(r_{i+1}-r_i\) is constant, while the values \(s_i\) are selected such that each interval \([s_i, s_{i+1})\) contains the same number of function values.
The point set exhibits three significant holes of varying sizes appearing at different heights. Moving from bottom and up we denote these holes by A, B and C, respectively. The evolution of these holes in the bifiltration is shown in Fig. 15 (right), and the associated signed barcodes of \(M|_{G_1}\) and \(M|_{G_2}\) are shown in Fig. 16.
Let us first consider the coarser grid, whose signed barcode is shown in Fig. 16b. To the left in the figure there are a several features (indicated by a line of increased thickness) persisting only in the vertical direction. These features correspond to tiny loops formed by “noise” in the sampling, as can be seen in the first column of Fig. 15 (right). The holes A and C are generated at a unique index and therefore each of them gives rise to a single bar in the signed barcode. On the other hand, hole B appears at two incomparable indices and therefore gives rise to two rectangles in \(\mathcal {R} |_{G_2}\) born at incomparable grades, and a rectangle in \(\mathcal {S} |_{G_2}\) accounting for double counting. The pattern of the bars suggests a generalized rank decomposition as shown in Fig. 17b. We see that these intervals correspond precisely to the supports shown in Fig. 15. The existence of a “single” feature could be confirmed by computing generalized rank invariants.
Shifting our focus to the finer grid, the first thing we observe is that the choice of a finer discretization increases the number of bars in the signed barcode. This is not surprising as the same feature will now appear at an additional number of incomparable points. Again, the collection of bars strongly suggests the features persisting over certain intervals as seen in Fig. 17a.

7.3 Experiment 2: Noisy Circles and Stability

  • Six point sets \(P_0, \ldots , P_5\), where \(P_0\) consists of 80 points that are evenly placed along the unit circle, and \(P_i = \{ p + i\,\varepsilon _p : p\in P\}\) where \(\varepsilon _p\) is a fixed random vector with coordinates sampled independently and uniformly from \((-0.1, 0.1)\). See Fig. 18.
  • The function f is the height function, i.e., \(f(p_x, p_y) = p_y\).
  • The homology degree is 1 and \(\textbf{k}={\mathbb {Z}}_2\).
  • The discretization is obtained by restricting to
    $$\begin{aligned} G_1 = \{r_0, \ldots , r_{39}\}\times \{s_0, \ldots , s_{39}\}, \end{aligned}$$
    where the values are chosen such that the differences \(r_{i+1}-r_i\) and \(s_{j+1}-s_j\) are constant. For the purpose of visualization we shall use the coarser grid \(G_2 = \{r_3, r_7, \ldots , r_{39}\}\times \{s_3, s_7, \ldots , s_{39}\}\)—see Fig. 19.
The purpose of this experiment is evidently to observe the evolution of the signed barcodes as the points are moving linearly from \(\{p\}\) to \(\{p+5\,\varepsilon _p\}\). The signed barcodes are shown in (A) through (F) of Fig. 20. We observe the following:
  • (\(P_0\)) As expected: at lower heights, the feature appears at larger distance thresholds than at higher heights.
  • (\(P_1\)) With the introduction of noise in the data, the feature persists longer at lower heights, and this causes the addition of two near-horizontal generators around height index 30, as well as a vertical generator around scale index 33. To account for double-counting of the rank, two near-horizontal co-generators and one vertical co-generator appear as well. Note that while the second to last column of Fig. 19 suggests the presence of a non-trivial \(H_1\), that is not the case when working with the Vietoris–Rips complex.
  • (\(P_2-P_5\)) As the perturbation increases the support of the signed barcode corresponding to the circular signal in the data gradually shrinks: it appears at a later scale and persists for a shorter amount of time. Furthermore, the noise has introduced several short-lived cycles in the data, giving rise to an increasing amount of near-vertical lines to the left in the plot.

7.4 Experiment 3: Two-Parameter Clustering

  • The point set P consists of the \(N=90\) planar points sampled from three Gaussian distributions as shown in Fig. 21.
  • The function f is a local co-density estimate, i.e.,
    $$\begin{aligned} f(p) = \#\{q \in P : d(p,q) > \epsilon \},\qquad \qquad \text {for a fixed }\epsilon \ge 0. \end{aligned}$$
  • The homology degree is 0 and \(\textbf{k}={\mathbb {Z}}_2\).
  • The discretization is obtained by restriction to \(G = \{r_0, \ldots , r_{9}\}\times \{s_0, \ldots , s_{9}\}\)—see Fig. 21.
The resulting persistence module is not interval-decomposable. Geometrically, this is due to the fact that the three clusters A, B, C merge in three different ways at incomparable grades, as shown in the highlighted squares of Fig. 21. Hence, one obtains the following diagram of vector spaces and linear maps:
https://static-content.springer.com/image/art%3A10.1007%2Fs10208-024-09672-9/MediaObjects/10208_2024_9672_Equ105_HTML.png
The obtained signed barcode and prominence diagram are shown in Fig. 22. As expected, the lifespans of the three clusters A, B, C appear as three separate subsets of the bars, as shown in Fig. 23. Moreover, these three subsets of bars can be discriminated from the rest of the barcode by their prominence, as seen from the prominence diagram. Checking whether any one of these three subsets of bars does correspond to the lifespan of some feature can then be done by computing the coefficient assigned to the corresponding interval in the minimal generalized rank decomposition of \(M\).

8 Discussion

We conclude the paper by further discussing some aspects of our work and the prospects they raise.

8.1 Generalized Rank-Exact Resolutions

Considering short exact sequences on which rank is additive is more subtle when we consider generalized ranks. The following example shows that in general we cannot expect to obtain an exact structure (Sect. 4.1) in this way.
Example 8.1
Consider the \( 2 \times 2 \)-grid, and the interval \( {I}\) indicated below. For this grid all indecomposables are thin, and we will denote them by their dimension vectors. Consider the following commutative diagram with exact rows. Here the middle vertical arrow is the projection to the first summand. Note that \( {{\,\textrm{Rk}\,}}_{{I}} \) is zero on all objects in this diagram, except the right upper corner, where it is one. In particular \( {{\,\textrm{Rk}\,}}_{I}\) is additive on the lower sequence, but not on the upper one. But the upper sequence is a pull-back of the lower one. This shows that the collection of short exact sequences such that \( {{\,\textrm{Rk}\,}}_{{I}} \) is additive does not constitute an exact structure.

8.2 About the Collection \(\mathcal {I} \) of Intervals Involved in the Rank Decompositions

Definition 1.5 forces the collection \(\mathcal {I} \) of intervals used for the decomposition of the generalized rank invariant to be the same as the collection over which it is evaluated. Thus, \(\mathcal {I} \) plays a double role:
  • that of a dictionary of shapes (formally, a basis of rank functions) over which the rank decompositions are built;
  • that of a test set of shapes over which the (generalized) rank invariant is evaluated, i.e., the existence of “features” is probed.
It is natural to try decorrelating the two roles by assigning a different collection of intervals to each one of them, say \(\mathcal {I} _d\) for the dictionary and \(\mathcal {I} _t\) for the test set. The question becomes then to decompose (generalized) rank invariants \({{\,\textrm{Rk}\,}}_{\mathcal {I} _t} M\), or more generally, to decompose maps \(r:\mathcal {I} _t\rightarrow {\mathbb {Z}}\), over the family of rank invariants \(\left( {{\,\textrm{Rk}\,}}_{\mathcal {I} _t} \textbf{k}_{R}\right) _{{R}\in \mathcal {I} _d}\). Problems may arise with the existence or uniqueness of the decompositions though, and generally speaking:
  • letting \(\mathcal {I} _t\supsetneq \mathcal {I} _d\) may prevent rank decompositions from existing at all, and when they exist, it implies that the minimal one coincides with the one obtained with \(\mathcal {I} _d=\mathcal {I} _t\), thus bringing no further insight;
  • letting \(\mathcal {I} _t\subsetneq \mathcal {I} _d\) may yield smaller-sized rank decompositions, such as for instance in Figs. 2 and 24, however it may also prevent the uniqueness of the minimal rank decomposition, thus hurting its interpretability as illustrated in Fig. 25.
Yet, as we have seen on several occasions, it can sometimes be useful to take \(\mathcal {I} _d\ne \mathcal {I} _t\). For instance, taking for \(\mathcal {I} _d\) the half-open rectangles in \({\mathbb {R}}^d\) and for \(\mathcal {I} _t\) the closed rectangles allowed us to decompose the usual rank invariants of finitely presented modules in Sect. 5; or, taking for \(\mathcal {I} _d\) the hooks and for \(\mathcal {I} _t\) the closed segments allowed us to work with rank-exact resolutions and thus lift the rank decompositions to the corresponding Grothendieck group in Sect. 4. Beyond these special cases, determining when similar winning combinations of \(\mathcal {I} _d\ne \mathcal {I} _t\) occur remains wide open.

8.3 Limitations of Rank Decompositions

As rank decompositions encode the structure of rank invariants, they are just as powerful descriptors as the rank invariants themselves. In particular, they are not complete descriptors for multi-parameter persistence modules nor, more generally, for poset representations. For instance, we see from Fig. 6 that the direct sum of the indecomposable module on the left-hand side of the figure with the red module on the right-hand side has the same generalized ranks as the blue module in that same figure. As a consequence, they are indistinguishable from each other based solely on their generalized rank invariants. An important question that comes up is how much of the structure of a persistence module may be missed by these descriptors.
If we restrict our focus to interval-decomposable representations over finite posets, then we know from Proposition 2.4 that the generalized rank invariant (with \(\mathcal {I} \) being the full collection of intervals in the poset) is a complete descriptor, therefore so is its minimal rank decomposition. Of course, the usual rank invariant itself is not a complete descriptor, as illustrated in Fig. 25. It is, however, complete on the subcategory of segment-decomposable representations, by Proposition 2.4. An important question in practice is how to choose the collection \(\mathcal {I} \) of intervals, between the collection of closed segments (which corresponds to taking the usual rank invariant) and the full collection of intervals in the poset, to find the right trade-off between the richness of the invariant and the complexity of its calculation.

8.4 Signed Barcodes Versus RIVET

As explained in Sect. 6, signed barcodes play a role similar to that of classical barcodes in one-parameter persistence: they carry information about the global structure of the rank invariant, and they allow for certain visually-enabled procedures to retrieve the value of the rank invariant at indices \(s\le t\), or the barcodes of the restriction of the module to a given upward sloping line. Thus, they appear as a viable alternative to RIVET [30] for the exploration of multi-parameter persistence modules. They can also be used in conjunction with RIVET, or parts thereof, for instance: using RIVET to compute minimal presentations, then using the dynamic programming procedure from [11] to compute the usual rank invariant, and finally using (5.1) to compute the corresponding minimal rank decomposition and signed barcode.
Unlike RIVET, signed barcodes are readily available for persistence modules with an arbitrary number of parameters. They are easy to compute once the usual rank invariant has been computed, and in the two-parameter setting the total worst-case running time compares favorably to that of RIVET. They are also easy to encode, and their storage size never exceeds that of the usual rank invariant (since there are no more distinct rectangles \(\langle s,t\rangle \) than there are pairs of comparable indices \(s\le t\) in the input filtration). On the downside, for now there still remains work to be done—out of the scope of this paper—to design a corresponding data structure that allows for efficient (logarithmic-time) queries as in RIVET.

8.5 Statistics and Machine Learning with Signed Barcodes

While we have been mainly discussing the interpretability of our rank decompositions via their associated signed barcodes, motivated by the exploration of multi-parameter persistence modules, we should recall that, in the one-parameter setting, barcodes are also used to extract features from data, with applications in machine learning and artificial intelligence. To this end, a number of vectorizations and kernels for (unsigned) barcodes have been proposed—see e.g. [1, 14, 18, 27, 29, 38], the vast majority of which enjoy stability properties in terms of the bottleneck distance between barcodes. Here, considering the nature of the signed barcodes, and the (pseudo-)distance put on their corresponding rank decompositions in Sect. 5.4, it is possible that a subset of these techniques adapts naturally, with similar stability guarantees following from Theorem 5.10. It will then be interesting to compare the outcome, both in terms of performances in machine learning applications and in terms of computation time, to existing vectorizations or kernels for multi-parameter persistence modules [17, 21, 41]. The key point is that these previous techniques essentially slice the input module by arbitrarily chosen collections of lines, and aggregate the resulting fibered barcodes—either by concatenation, by integration, or through vineyards; the added value of the signed barcode is to provide insight into which lines are most relevant for the slicing, potentially allowing for faster and more accurate computations, producing both richer and smaller-sized features.
The metric space of rank decompositions may also be in itself a relevant object of study. An obvious question is whether the matching distance between rank decompositions can be translated into an optimal transportation distance between signed barcodes, possibly up to some constants. If the answer is positive, then, similarly to the space of unsigned barcodes in one-parameter persistence, the space of signed barcodes in multi-parameter persistence will be comparable to a space of (signed) measures, and the techniques developed in the one-parameter setting for doing statistics with unsigned barcodes may be adapted to work with signed barcodes as well. Meanwhile, the computation of the metric between rank decompositions will be greatly facilitated by its translation into a combinatorial matching problem—currently the signed barcodes provide insight into the structure of each individual rank decomposition and its corresponding rank invariant, however it is still unknown how to exploit this knowledge to find the most relevant directions for the matching distance between rank decompositions.

Acknowledgements

We thank the anonymous referees for their thorough reading of the paper and for their valuable feedback.
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://​creativecommons.​org/​licenses/​by/​4.​0/​.

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Appendix

Möbius Inversions

Möbius inversions have played an integral role in shaping generalized persistence  [5, 26, 31, 32, 36]. In this section we employ Möbius inversions to prove existence of rank decompositions in the setting of Sect. 2.2. We remark that our proof of Proposition A.3 is an adaptation of the proofs of [5, 26] to a more general class of intervals. From this result one easily obtains an algorithm for computing a minimal rank decomposition for finite grids.
Let \( (\mathcal {I}, \subseteq ) \) be a locally finite poset (Definition 2.9). Note that we are using subset notation here for the order relation because this is the example we will be interested in hereafter. However, for the results of this subsection \( \mathcal {I} \) is an abstract poset. The incidence algebra is given as all functions \( \{ {\subseteq }_{\mathcal {I}} \} \rightarrow \mathbb {Z} \), with products given by convolution:
$$\begin{aligned} (f {{\,\mathrm{*}\,}}g)({J}, {I}) = \sum _{{J}\supseteq {K}\supseteq {I}} f({J}, {K})\, g({K},{I}). \end{aligned}$$
Note that the multiplicative unit is \( \mathbb {1}_{{J}={I}} \), that is, the function sending identical pairs to \( 1 \) and all other pairs to \( 0 \).
A natural element to consider is the function \( \zeta \), sending all comparable pairs to \( 1 \), and all other pairs to 0. It is shown in [40, Proposition 3.1] that \( \zeta \) is invertible, and that its inverse, \( \mu \), is given by (any of) the following explicit recursions:
$$\begin{aligned} \mu ({J}, {I}) \quad = \quad {\left\{ \begin{array}{ll} 1 & \text {if } {J}= {I}\\ - {\sum }_{{J}\supseteq {K}\supsetneq {I}} \mu ({J}, {K}) & \text {otherwise.} \end{array}\right. } \quad = \quad {\left\{ \begin{array}{ll} 1 & \text {if } {J}= {I}\\ - {\sum }_{{J}\supsetneq {K}\supseteq {I}} \mu ({K}, {I}) & \text {otherwise.} \end{array}\right. } \end{aligned}$$
Note that \(\mu \) is well-defined because \( \mathcal {I} \) is assumed to be locally finite.
Proposition A.1
Suppose that, for any \( {I}\in \mathcal {I} \), there is a finite set \( {I}^+ \subseteq \mathcal {I} \) with the property that
$$\begin{aligned} \{ {J}\in \mathcal {I} \mid {J}\supsetneq {I}\} = \{ {J}\in \mathcal {I} \mid \exists {K}\in {I}^+ :{J}\supseteq {K}\}, \end{aligned}$$
and that any subset of \( {I}^+ \) has a join in \( \mathcal {I} \). Then:
$$\begin{aligned} \mu ( {J}, {I}) = {\left\{ \begin{array}{ll} 1 & \text { if } {J}= {I}\\ {\sum }_{\begin{array}{c} x \subseteq {I}^+ \\ \vee x = {J} \end{array}} (-1)^{\#x}&\text { if } {J}\supsetneq {I}\end{array}\right. }. \end{aligned}$$
This follows from Propositions 1 and 2 in Section 5 of [40]. However, since the notation therein is a bit heavy, we give a direct argument here.
Proof
We only need to verify that \( \zeta {{\,\mathrm{*}\,}}\mu = \mathbb {1}_{{J}={I}} \) for \( \mu \) being given by the formula of the proposition. Indeed, for \( {J}\supsetneq {I}\) we have
$$\begin{aligned} (\zeta {{\,\mathrm{*}\,}}\mu )({J}, {I}) =&\sum _{{J}\supseteq {K}\supseteq {I}} \mu ({J}, {I}) = 1 + \sum _{{J}\supseteq {K}\supsetneq {I}} \sum _{\begin{array}{c} x \subseteq {I}^+ \\ \vee x = {K} \end{array}} (-1)^{\#x} \\ =&1 + \sum _{\varnothing \ne x \subseteq \{ {L}\in {I}^+ \mid {L}\subseteq {J}\}} (-1)^{\#x} = \sum _{x \subseteq \{ {L}\in {I}^+ \mid {L}\subseteq {J}\}} (-1)^{\#x} = 0 = \mathbb {1}_{{J}={I}}(J,I) \end{aligned}$$
\(\square \)
Remark A.2
Note that Proposition A.1 does not need our assumption that \( \mathcal {I} \) is locally finite in any essential way. Without that assumption, we can still define \(\mu \) by the formula in the proposition, and the proof still shows that \( \mu \) is a right inverse for \( \zeta \) (with respect to the partially defined convolution product).
Consider now the collection of all functions \( r :\mathcal {I} \rightarrow \mathbb {Z} \) with upward finite support, that is:
$$\begin{aligned} \forall {I}\in \mathcal {I} :\quad \#\{ {J}\in \mathcal {I} \mid {J}\supseteq {I}\text { and } r({J}) \ne 0 \} < \infty . \end{aligned}$$
This collection naturally is a right module over the incidence algebra, by the multiplication formula
$$\begin{aligned} (r {{\,\mathrm{*}\,}}f)({I}) = \sum _{{J}\supseteq {I}} r({J}) f({J},{I}), \end{aligned}$$
and we have the Möbius inversion formula—see [40, Proposition 3.2]:
$$\begin{aligned} \forall r,s :\mathcal {I} \rightarrow {\mathbb {Z}}\ \text{ with } \text{ upward } \text{ finite } \text{ support },\quad r = s {{\,\mathrm{*}\,}}\zeta \quad \Longleftrightarrow \quad r {{\,\mathrm{*}\,}}\mu = s. \end{aligned}$$
(A.1)

Application to Rank Decompositions

In the following, we write \({\text {mult}}_{{I}} \mathcal {R} \) for the multiplicity of element \({I}\) in a given multiset \(\mathcal {R} \).
Proposition A.3
Let \(\mathcal {I} \) be a locally finite collection of intervals of \(P\), and let \(r:\mathcal {I} \rightarrow {\mathbb {Z}}\) have upward finite support. A pair \((\mathcal {R}, \mathcal {S})\) of pointwise finite multisets of elements of \( \mathcal {I} \) is a rank decomposition of \( r \) if and only if
$$\begin{aligned} (r {{\,\mathrm{*}\,}}\mu )({I}) = {\text {mult}}_{{I}} \mathcal {R}- {\text {mult}}_{{I}} \mathcal {S} \qquad \forall {I}\in \mathcal {I}. \end{aligned}$$
In particular, the minimal rank decomposition of \( r \) is given as follows, where \({I}^n\) means that the multi-set contains n copies of the element \({I}\):
$$\begin{aligned} \mathcal {R} = \bigsqcup _{\begin{array}{c} {I}\in \mathcal {I} \\ (r {{\,\mathrm{*}\,}}\mu )({I}) > 0 \end{array}} {I}^{(r {{\,\mathrm{*}\,}}\mu )({I})} \text { and } \mathcal {S} = \bigsqcup _{\begin{array}{c} {I}\in \mathcal {I} \\ (r {{\,\mathrm{*}\,}}\mu )({I}) < 0 \end{array}} {I}^{(r {{\,\mathrm{*}\,}}\mu )({I})}. \end{aligned}$$
Proof
By Proposition 2.1, we know that
$$\begin{aligned} {{\,\textrm{Rk}\,}}_{{I}} \textbf{k}_{\mathcal {R}} = \#\{ {R}\in \mathcal {R} \mid {R}\supseteq {I}\} = \sum _{{R}\supseteq {I}} {\text {mult}}_{{R}} \mathcal {R}, \end{aligned}$$
that is, \( {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R}} = ({\text {mult}}\mathcal {R}) {{\,\mathrm{*}\,}}\zeta \). The analogous equation holds for \( \mathcal {S} \). Thus, by (A.1) we have the equivalences:
$$\begin{aligned} ( \mathcal {R}, \mathcal {S}) \text { is a rank decomposition of } r \quad \Longleftrightarrow&\quad r = {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {R}} - {{\,\textrm{Rk}\,}}_\mathcal {I} \textbf{k}_{\mathcal {S}} \\ \Longleftrightarrow&\quad r = ( {\text {mult}}\mathcal {R}- {\text {mult}}\mathcal {S}) {{\,\mathrm{*}\,}}\zeta \\ \Longleftrightarrow&\quad r {{\,\mathrm{*}\,}}\mu = {\text {mult}}\mathcal {R}- {\text {mult}}\mathcal {S}. \end{aligned}$$
\(\square \)
Footnotes
1
Convexity means that \(u\in {I}\) whenever one has \(s\le u\le t\) with \(s,t\in {I}\).
 
2
Connectedness means that, for any \(s,t\in {I}\), there are \(u_0, \ldots , u_{n+1}\in {I}\) such that \(u_i\) and \(u_{i+1}\) are comparable for all \(0\le i\le n\) and \(u_0=s\) and \(u_{n+1} = t\). This condition is automatically satisfied when the poset \(P\) is totally ordered, for instance when \(P\subseteq {\mathbb {R}}\).
 
3
This is because, by definition, the projectives are those representations M whose corresponding covariant \({{\,\textrm{Hom}\,}}\)-functor \({{\,\textrm{Hom}\,}}(M,-)\) is exact on every short exact sequence. Thus, the smaller the class of short exact sequences, the larger the corresponding class of projectives.
 
4
We are considering an implementation that iterates over the indices \(s', t'\) such that \(\Vert s'-s\Vert _\infty \le 1\) and \(\Vert t'-t\Vert _\infty \le 1\) by increasing order of the 1-norms \(\Vert s'-s\Vert _1\) and \(\Vert t'-t\Vert _1\), so that the 1-norms do not have to be re-computed from scratch at every step. Such an implementation boils down to iterating over the vertices of the unit hypercube in \({\mathbb {R}}^d\) by increasing order of the number of 1’s in their coordinates.
 
5
This infringes the requirement from Definition 1.5 that the intervals used in the decomposition be taken from within the collection of segments. However, as mentioned previously, this requirement is meant only to ensure the uniqueness of the minimal decomposition, and can therefore be dropped here since uniqueness is otherwise ensured.
 
Literature
1.
go back to reference H. Adams, T. Emerson, M. Kirby, R. Neville, C. Peterson, P. Shipman, S. Chepushtanova, E. Hanson, F. Motta, and L. Ziegelmeier. Persistence images: A stable vector representation of persistent homology. Journal of Machine Learning Research, 18, 2017. H. Adams, T. Emerson, M. Kirby, R. Neville, C. Peterson, P. Shipman, S. Chepushtanova, E. Hanson, F. Motta, and L. Ziegelmeier. Persistence images: A stable vector representation of persistent homology. Journal of Machine Learning Research, 18, 2017.
2.
go back to reference T. Aoki, E. G. Escolar, and S. Tada. Summand-injectivity of interval covers and monotonicity of interval resolution global dimensions. arXiv preprint[SPACE]arXiv:2308.14979, 2023. T. Aoki, E. G. Escolar, and S. Tada. Summand-injectivity of interval covers and monotonicity of interval resolution global dimensions. arXiv preprint[SPACE]arXiv:​2308.​14979, 2023.
4.
go back to reference H. Asashiba, E. G. Escolar, K. Nakashima, and M. Yoshiwaki. Approximation by interval-decomposables and interval resolutions of persistence modules. Journal of Pure and Applied Algebra, 227(10):107397, 2023.MathSciNetCrossRef H. Asashiba, E. G. Escolar, K. Nakashima, and M. Yoshiwaki. Approximation by interval-decomposables and interval resolutions of persistence modules. Journal of Pure and Applied Algebra, 227(10):107397, 2023.MathSciNetCrossRef
5.
go back to reference H. Asashiba, E. G. Escolar, K. Nakashima, and M. Yoshiwaki. On approximation of 2d persistence modules by interval-decomposables. Journal of Computational Algebra, 6:100007, 2023.CrossRef H. Asashiba, E. G. Escolar, K. Nakashima, and M. Yoshiwaki. On approximation of 2d persistence modules by interval-decomposables. Journal of Computational Algebra, 6:100007, 2023.CrossRef
6.
go back to reference M. Auslander, I. Reiten, and S. O. Smalo. Representation Theory of Artin Algebras. Cambridge Studies in Advanced Mathematics. Cambridge University Press, 1995. M. Auslander, I. Reiten, and S. O. Smalo. Representation Theory of Artin Algebras. Cambridge Studies in Advanced Mathematics. Cambridge University Press, 1995.
7.
go back to reference M. Auslander and Ø. Solberg. Relative homology and representation theory 1: Reative homology and homologically finite subcategories. Communications in Algebra, 21(9):2995–3031, 1993.MathSciNetCrossRef M. Auslander and Ø. Solberg. Relative homology and representation theory 1: Reative homology and homologically finite subcategories. Communications in Algebra, 21(9):2995–3031, 1993.MathSciNetCrossRef
8.
go back to reference L. Betthauser, P. Bubenik, and P. B. Edwards. Graded persistence diagrams and persistence landscapes. Discrete & Computational Geometry, 67(1):203–230, 2022.MathSciNetCrossRef L. Betthauser, P. Bubenik, and P. B. Edwards. Graded persistence diagrams and persistence landscapes. Discrete & Computational Geometry, 67(1):203–230, 2022.MathSciNetCrossRef
9.
go back to reference B. Blanchette, T. Brüstle, and E. J. Hanson. Homological approximations in persistence theory. Canadian Journal of Mathematics, 76(1):66–103, 2024.MathSciNetCrossRef B. Blanchette, T. Brüstle, and E. J. Hanson. Homological approximations in persistence theory. Canadian Journal of Mathematics, 76(1):66–103, 2024.MathSciNetCrossRef
10.
go back to reference M. Botnan and W. Crawley-Boevey. Decomposition of persistence modules. Proceedings of the American Mathematical Society, 148(11):4581–4596, 2020.MathSciNetCrossRef M. Botnan and W. Crawley-Boevey. Decomposition of persistence modules. Proceedings of the American Mathematical Society, 148(11):4581–4596, 2020.MathSciNetCrossRef
11.
go back to reference M. B. Botnan, V. Lebovici, and S. Oudot. On Rectangle-Decomposable 2-Parameter Persistence Modules. In S. Cabello and D. Z. Chen, editors, 36th International Symposium on Computational Geometry (SoCG 2020), volume 164 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1–22:16, Dagstuhl, Germany, 2020. Schloss Dagstuhl–Leibniz-Zentrum für Informatik. M. B. Botnan, V. Lebovici, and S. Oudot. On Rectangle-Decomposable 2-Parameter Persistence Modules. In S. Cabello and D. Z. Chen, editors, 36th International Symposium on Computational Geometry (SoCG 2020), volume 164 of Leibniz International Proceedings in Informatics (LIPIcs), pages 22:1–22:16, Dagstuhl, Germany, 2020. Schloss Dagstuhl–Leibniz-Zentrum für Informatik.
12.
go back to reference M. B. Botnan and M. Lesnick. An introduction to multiparameter persistence. In Representations of Algebras and Related Structures (Aslak Bakke Buan, Henning Krause, Øyvind Solberg, eds.), pages 77–150. EMS press, 2023. M. B. Botnan and M. Lesnick. An introduction to multiparameter persistence. In Representations of Algebras and Related Structures (Aslak Bakke Buan, Henning Krause, Øyvind Solberg, eds.), pages 77–150. EMS press, 2023.
13.
go back to reference M. B. Botnan, S. Oppermann, S. Oudot, and L. Scoccola. On the bottleneck stability of rank decompositions of multi-parameter persistence modules. Advances in Mathematics, 451:109780, 2024.MathSciNetCrossRef M. B. Botnan, S. Oppermann, S. Oudot, and L. Scoccola. On the bottleneck stability of rank decompositions of multi-parameter persistence modules. Advances in Mathematics, 451:109780, 2024.MathSciNetCrossRef
14.
go back to reference P. Bubenik. Statistical topological data analysis using persistence landscapes. J. Mach. Learn. Res., 16(1):77–102, 2015.MathSciNet P. Bubenik. Statistical topological data analysis using persistence landscapes. J. Mach. Learn. Res., 16(1):77–102, 2015.MathSciNet
16.
go back to reference G. Carlsson and A. Zomorodian. The Theory of Multidimensional Persistence. Discrete & Computational Geometry, 42(1):71–93, jul 2009. G. Carlsson and A. Zomorodian. The Theory of Multidimensional Persistence. Discrete & Computational Geometry, 42(1):71–93, jul 2009.
17.
go back to reference M. Carrier̀e and A. Blumberg. Multiparameter persistence image for topological machine learning. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 22432–22444. Curran Associates, Inc., 2020. M. Carrier̀e and A. Blumberg. Multiparameter persistence image for topological machine learning. In H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, editors, Advances in Neural Information Processing Systems, volume 33, pages 22432–22444. Curran Associates, Inc., 2020.
18.
go back to reference M. Carriere, M. Cuturi, and S. Oudot. Sliced wasserstein kernel for persistence diagrams. In International Conference on Machine Learning, pages 664–673. PMLR, 2017. M. Carriere, M. Cuturi, and S. Oudot. Sliced wasserstein kernel for persistence diagrams. In International Conference on Machine Learning, pages 664–673. PMLR, 2017.
19.
go back to reference W. Chachólski, A. Guidolin, I. Ren, M. Scolamiero, and F. Tombari. Koszul complexes and relative homological algebra of functors over posets. arXiv preprint[SPACE]arXiv:2209.05923, 2023. W. Chachólski, A. Guidolin, I. Ren, M. Scolamiero, and F. Tombari. Koszul complexes and relative homological algebra of functors over posets. arXiv preprint[SPACE]arXiv:​2209.​05923, 2023.
20.
go back to reference D. Cohen-Steiner, H. Edelsbrunner, and J. Harer. Stability of persistence diagrams. Discrete & Computational Geometry, 37(1):103–120, 2007.MathSciNetCrossRef D. Cohen-Steiner, H. Edelsbrunner, and J. Harer. Stability of persistence diagrams. Discrete & Computational Geometry, 37(1):103–120, 2007.MathSciNetCrossRef
21.
go back to reference R. Corbet, U. Fugacci, M. Kerber, C. Landi, and B. Wang. A kernel for multi-parameter persistent homology. Computers & graphics: X, 2:100005, 2019. R. Corbet, U. Fugacci, M. Kerber, C. Landi, and B. Wang. A kernel for multi-parameter persistent homology. Computers & graphics: X, 2:100005, 2019.
22.
go back to reference W. Crawley-Boevey. Decomposition of pointwise finite-dimensional persistence modules. Journal of Algebra and its Applications, 14(05):1550066, 2015.MathSciNetCrossRef W. Crawley-Boevey. Decomposition of pointwise finite-dimensional persistence modules. Journal of Algebra and its Applications, 14(05):1550066, 2015.MathSciNetCrossRef
23.
go back to reference T. K. Dey and C. Xin. Generalized persistence algorithm for decomposing multi-parameter persistence modules. arXiv preprint[SPACE]arXiv:1904.03766, 2019. T. K. Dey and C. Xin. Generalized persistence algorithm for decomposing multi-parameter persistence modules. arXiv preprint[SPACE]arXiv:​1904.​03766, 2019.
24.
go back to reference P. Dräxler, I. Reiten, S. Smalø, Ø. Solberg, B. Keller, et al. Exact categories and vector space categories. Transactions of the American Mathematical Society, 351(2):647–682, 1999.MathSciNetCrossRef P. Dräxler, I. Reiten, S. Smalø, Ø. Solberg, B. Keller, et al. Exact categories and vector space categories. Transactions of the American Mathematical Society, 351(2):647–682, 1999.MathSciNetCrossRef
26.
go back to reference W. Kim and F. Memoli. Generalized persistence diagrams for persistence modules over posets. arXiv preprint[SPACE]arXiv:1810.11517, 2018. W. Kim and F. Memoli. Generalized persistence diagrams for persistence modules over posets. arXiv preprint[SPACE]arXiv:​1810.​11517, 2018.
27.
go back to reference G. Kusano, Y. Hiraoka, and K. Fukumizu. Persistence weighted gaussian kernel for topological data analysis. In International Conference on Machine Learning, pages 2004–2013. PMLR, 2016. G. Kusano, Y. Hiraoka, and K. Fukumizu. Persistence weighted gaussian kernel for topological data analysis. In International Conference on Machine Learning, pages 2004–2013. PMLR, 2016.
28.
go back to reference C. Landi. The rank invariant stability via interleavings. In Research in computational topology, pages 1–10. Springer, 2018. C. Landi. The rank invariant stability via interleavings. In Research in computational topology, pages 1–10. Springer, 2018.
29.
go back to reference T. Le and M. Yamada. Persistence fisher kernel: A riemannian manifold kernel for persistence diagrams. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS’18, page 10028-10039, Red Hook, NY, USA, 2018. Curran Associates Inc. T. Le and M. Yamada. Persistence fisher kernel: A riemannian manifold kernel for persistence diagrams. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, NIPS’18, page 10028-10039, Red Hook, NY, USA, 2018. Curran Associates Inc.
30.
31.
go back to reference A. McCleary and A. Patel. Positivity of multiparameter persistence diagrams and bottleneck stability. arXiv preprint[SPACE]arXiv:1905.13220, 2019. A. McCleary and A. Patel. Positivity of multiparameter persistence diagrams and bottleneck stability. arXiv preprint[SPACE]arXiv:​1905.​13220, 2019.
32.
go back to reference A. McCleary and A. Patel. Bottleneck stability for generalized persistence diagrams. Proceedings of the American Mathematical Society, 148(7):3149-3161, Mar 2020. A. McCleary and A. Patel. Bottleneck stability for generalized persistence diagrams. Proceedings of the American Mathematical Society, 148(7):3149-3161, Mar 2020.
33.
go back to reference A. McCleary and A. Patel. Edit distance and persistence diagrams over lattices. SIAM Journal on Applied Algebra and Geometry, 6(2):134–155, 2022.MathSciNetCrossRef A. McCleary and A. Patel. Edit distance and persistence diagrams over lattices. SIAM Journal on Applied Algebra and Geometry, 6(2):134–155, 2022.MathSciNetCrossRef
34.
go back to reference N. Milosavljević, D. Morozov, and P. Skraba. Zigzag persistent homology in matrix multiplication time. In Proceedings of the twenty-seventh annual symposium on Computational geometry, pages 216–225. ACM, 2011. N. Milosavljević, D. Morozov, and P. Skraba. Zigzag persistent homology in matrix multiplication time. In Proceedings of the twenty-seventh annual symposium on Computational geometry, pages 216–225. ACM, 2011.
35.
go back to reference S. Oudot and L. Scoccola. On the stability of multigraded betti numbers and hilbert functions. SIAM Journal on Applied Algebra and Geometry, 8(1):54–88, 2024.MathSciNetCrossRef S. Oudot and L. Scoccola. On the stability of multigraded betti numbers and hilbert functions. SIAM Journal on Applied Algebra and Geometry, 8(1):54–88, 2024.MathSciNetCrossRef
36.
go back to reference A. Patel. Generalized persistence diagrams. Journal of Applied and Computational Topology, 1(3):397–419, 2018.MathSciNetCrossRef A. Patel. Generalized persistence diagrams. Journal of Applied and Computational Topology, 1(3):397–419, 2018.MathSciNetCrossRef
37.
go back to reference D. Quillen. Higher algebraic \(K\)-theory. I. In Algebraic\(K\)-theory, I: Higher\(K\)-theories (Proc. Conf., Battelle Memorial Inst., Seattle, Wash., 1972), pages 85–147. Lecture Notes in Math., Vol. 341, 1973. D. Quillen. Higher algebraic \(K\)-theory. I. In Algebraic\(K\)-theory, I: Higher\(K\)-theories (Proc. Conf., Battelle Memorial Inst., Seattle, Wash., 1972), pages 85–147. Lecture Notes in Math., Vol. 341, 1973.
38.
go back to reference J. Reininghaus, S. Huber, U. Bauer, and R. Kwitt. A stable multi-scale kernel for topological machine learning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4741–4748, 2015. J. Reininghaus, S. Huber, U. Bauer, and R. Kwitt. A stable multi-scale kernel for topological machine learning. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 4741–4748, 2015.
39.
go back to reference E. Riehl. Category theory in context. Courier Dover Publications, 2017. E. Riehl. Category theory in context. Courier Dover Publications, 2017.
40.
go back to reference G.-C. Rota. On the foundations of combinatorial theory i. theory of möbius functions. Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete, 2(4):340–368, 1964. G.-C. Rota. On the foundations of combinatorial theory i. theory of möbius functions. Zeitschrift für Wahrscheinlichkeitstheorie und verwandte Gebiete, 2(4):340–368, 1964.
41.
go back to reference O. Vipond. Multiparameter persistence landscapes. Journal of Machine Learning Research, 21(61):1–38, 2020.MathSciNet O. Vipond. Multiparameter persistence landscapes. Journal of Machine Learning Research, 21(61):1–38, 2020.MathSciNet
Metadata
Title
Signed Barcodes for Multi-parameter Persistence via Rank Decompositions and Rank-Exact Resolutions
Authors
Magnus Bakke Botnan
Steffen Oppermann
Steve Oudot
Publication date
04-09-2024
Publisher
Springer US
Published in
Foundations of Computational Mathematics
Print ISSN: 1615-3375
Electronic ISSN: 1615-3383
DOI
https://doi.org/10.1007/s10208-024-09672-9

Premium Partner