Sensitivity of Repetitiveness Measures to String Reversal
Abstract
We study the impact that string reversal can have on several repetitiveness measures. First, we exhibit an infinite family of strings where the number, , of runs in the run-length encoding of the Burrows–Wheeler transform (BWT) can increase additively by when reversing the string. This substantially improves the known lower-bound for the additive sensitivity of and it is asymptotically tight. We generalize our result to other variants of the BWT, including the variant with an appended end-of-string symbol and the bijective BWT. We show that an analogous result holds for the size of the Lempel–Ziv 77 (LZ) parsing of the text, and also for some of its variants, including the non-overlapping LZ parsing, and the LZ-end parsing. Moreover, we describe a family of strings for which the ratio approaches from below as . We also show an asymptotically tight lower-bound of for the additive sensitivity of the size of the smallest lexicographic parsing to string reversal. Finally, we show that the multiplicative sensitivity of to reversing the string is , and this lower-bound is also tight. Overall, our results expose the limitations of repetitiveness measures that are widely used in practice, against string reversal – a simple and natural data transformation.
Keywords and phrases:
String reversal, Repetitiveness measures, Burrows–Wheeler transform, Lempel–Ziv parsing, Lexicographic parsingsFunding:
Hideo Bannai: JSPS KAKENHI Grant Number JP24K02899.Copyright and License:
2012 ACM Subject Classification:
Theory of computation Data compression ; Mathematics of computing Combinatorics on wordsAcknowledgements:
The authors thank Gonzalo Navarro for their helpful comments and discussion.Editors:
Philip Bille and Nicola PrezzaSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
In many fields of science and industry, there exist huge data collections. Many of these collections are highly repetitive, in the sense that the documents that make them up are highly similar to each other. Examples include the 1000 Human Genomes Project [8] in bioinformatics and the Software Heritage Repository [11]. Repetitiveness measures [32] were introduced to quantify the degree of compressibility of highly repetitive string collections, as other standard techniques based on Shannon’s entropy fail to capture repetitiveness [26].
Some repetitiveness measures abstract the output size of existing compressors, like the size of the Lempel-Ziv 77 parsing (LZ) [29], the size of the smallest straight-line program (SLP) generating the string [24], and the number of equal-symbol runs in the Burrows–Wheeler Transform (BWT) [6]. Other measures are based purely on combinatorial properties of the strings, like the substring complexity [40] and the size of the smallest string attractor [21].
A fundamental question in this context is what makes a repetitiveness measure better than another. One important aspect is reachability: whether it is possible to represent all strings within space. Another important aspect is space efficiency: assuming that is reachable, how small can be on highly repetitive strings. There is also indexability: what queries on the uncompressed string can be answered efficiently using space.
Recently, another aspect of repetitiveness measures, which we call robustness, has gained attention. A measure is robust against a string operation if it does not increase much after applying that operation to any string. We are interested in quantifying how much a given measure can increase after applying a string operation in worst-case scenarios. This quantity is called sensitivity [1]. Questions about the sensitivity of a measure are especially important in dynamic domains where the data can change over time, and finding answers to them can be useful, for instance, to understand how to update the measure after applying such a string operation. Akagi et al. [1] studied how much repetitiveness measures can change after applying to the string single character edit operations. There are many other works dealing with similar problems for different combinations of string operation and repetitiveness measures [5, 9, 10, 12, 15, 16, 18, 31, 35, 36, 37, 38].
In this work we focus on studying the fundamental string reversal operation, which takes a string and outputs the string . We first review known results on the impact of string reversal on repetitiveness measures, and then present our contributions. Table 1 summarizes both the prior results and our contributions.
On the one hand, there are measures of repetitiveness that are fully symmetric, that is, reversing the string does not change the value of the measure at all. This is a desirable property, as arguably, mirroring the string does not change its intrinsic repetitiveness. This class includes the measures and , the size of the smallest NU-system [38], the size of the smallest bidirectional macro scheme [42]; and the size and of the smallest straight-line program, run-length straight-line program [39], iterated straight-line program [35], and collage-system [23], respectively. A weaker version of symmetry is exhibited by the size of the smallest suffixient set, for which it was recently proved that [37], though can be as large as [37].
At the other extreme, there are measures widely used in practice – such as the number of runs in the RLBWT – that are very sensitive to reversal. Giuliani et al. [15] showed that in an infinite family of words, after reversing the string, the measure can increase from to . An equivalent result was obtained by Biagi et al. [5] regarding the number of runs in the run-length Bijective Burrows-Wheeler Transform (BBWT) [14, 4]. Moreover, the size of the compact directed acyclic word graph (CDAWG) of a string can increase by a multiplicative factor when reversing the string [17]. For the additive case, the increase can be up to ; this proof is deferred to the full version.
For some other measures, not much is known. For LZ parsing and some of its variants, it has been conjectured that even though the number of phrases of the parses can change after reversing the string, the ratio is bounded by a constant. For the size of the lex-parse of the string, the conjecture is the opposite, namely that can be .
In this context, our contributions are as follows:
- 1.
-
2.
In Section 4, we show that the number (resp. , resp. ) of phrases of the Lempel-Ziv parsing (resp. LZ without overlaps, resp. LZ-end) can increase by when applying the reverse operation. This improves the currently known lower bound for the additive increase on [9]. Moreover, we show a family where approaches as goes to infinity.
-
3.
Finally, in Section 5, we show that the number of phrases in the lex-parse of a string can grow by a multiplicative factor after applying the reverse operation, and this is asymptotically tight. Moreover, we show a string family where after reversing the string, the additive increase on the measure is .
We conclude in Section 6 with conclusions and future directions for research.
| Measure | MS lower-bound | MS upper-bound | AS lower-bound | AS upper-bound |
|---|---|---|---|---|
| [15], | [41, 19] | |||
| [5] | ||||
| [37] | [37] | [37] | ||
| [17] | [17] | |||
2 Preliminaries
We denote if , and otherwise. An ordered alphabet is a finite set of symbols equipped with an order relation such that . A string is a finite sequence of symbols in . The length of is denoted by . The unique string of length , called the empty string, is denoted by . The set of all strings is , and we let .
For strings and , their concatenation is . By we denote the concatenation of the strings in that order. We also let . For a string , a sequence of non-empty strings is referred to as a factorization (or parsing) of if ; each is called a phrase (or factor). The run-length encoding of a string is where for , for all , and . For a string , the string (resp. , resp. ) is called a prefix (resp. substring, resp. suffix) of . A substring (resp. prefix, resp. suffix) is proper if it is different from , and non-trivial if in addition it is different from . We use the notation to denote the string when and otherwise. We denote the set of substrings of length appearing in .
The lexicographic order on is defined recursively by for every , and for and , by if either , or and . The -order is defined as iff , where is the infinite periodic string with period .
The suffix array (SA) of a string of length is an array such that is the starting position of the lexicographically smallest suffix of . The inverse suffix array (ISA) of is the array defined by for . The longest common prefix array (LCP) of is an array where stores the length of the longest common prefix of the suffixes and for , and .
A rotation of is any string of the form for . Let be the lexicographically sorted multiset of rotations of . The Burrows-Wheeler transform (BWT) of is the string . Moreover, let denote the substring of induced by the rotations having string as a prefix. That is, let be the maximal range such that for all ; then . The BWT-matrix of is a 2D array containing in the row the rotation for ; its last column coincides with .
A Lyndon word is any string that is smaller than any of its other rotations, or alternatively, smaller than any of its proper suffixes. The Lyndon factorization of a string is the unique sequence satisfying that , each is Lyndon, and for .
2.1 Repetitiveness Measures
We explain the repetitiveness measures relevant to our work. For an in-depth overview on repetitiveness measures, see Navarro’s survey [32, 33]. We start by introducing two measures that act as lower-bounds for the other measures considered in this work. One is the substring complexity of a string [25, 40], defined as . The other one is [21], which we do not explain here, as we only use a few known results on this measure.
A popular measure of repetitiveness is the size of the run-length encoding of the BWT (RLBWT) of a string. The BWT is known for its indexing functionality [13] and indexing-related applications in Bioinformatics [27, 28, 30].
Definition 1.
We denote .
Sometimes, a $-symbol, smaller than any other symbol of , is assumed to appear at the end. We denote this variant .
The Bijective Burrows–Wheeler Transform (BBWT) of , denoted , is obtained by considering the rotations of all the factors in the Lyndon factorization , then sorting them in -order, and finally concatenating their last characters. By taking the run-length encoding of the BBWT (RLBBWT) we obtain the following repetitiveness measure.
Definition 2.
We denote .
Example 3.
Let . Then, . We sort the rotations of , (two times), and , in -order and take their last characters:
In this case, , , and . It can be verified that and .
The following measure is known for being one of the smallest reachable measures in terms of space, that is also computable in linear time [29].
Definition 4.
The Lempel-Ziv parse of a string is a factorization of into phrases such that, for each , phrase is the longest prefix of with another occurrence in starting at position ; if no such prefix exists, then is the first occurrence of some character and .
We consider some variants of the Lempel-Ziv parsing and the measure . The variant additionally requires that the source of any phrase must not overlap the phrase. The variant requires that the source of any phrase must have an occurrence aligned with the end of a previous phrase. While and are greedy and optimal among parses satisfying their respective conditions, is greedy, but not optimal: there can be other parsings smaller than such that each phrase has its source starting to its left and is aligned with a previous phrase. We denote the actual smallest of these parsings.
The last measure we consider is based on another type of ordered parsings [34]. In the Lempel-Ziv parse, the source of a phrase appears before the phrase in , in left-to-right order. In lexicographic parsings [34], the suffix starting at a given phrase must be greater than the suffix starting at its source, in lexicographic order. The size of left-to-right greedy version of this parsing is optimal, and is also considered a measure of repetitiveness.
Definition 5.
The lex-parse of a string is a factorization of into phrases , such that, for each , phrase has starting position and length , where .
Example 6.
Consider the string . Its Lempel-Ziv parse is . Its lex-parse is . Thus, and .
We remark that although the lex-parse can be computed from its definition in a left-to-right fashion, the source of each phrase can appear either to its left or to its right in .
2.2 Reverse Operation and Its Impact on Repetitiveness Measures
The reverse of a string is the string . In what follows, we analyze the additive and multiplicative increase that reversing the string can have on the values of various measures. We consider worst-case scenarios, and we refer to those increases as additive sensitivity and multiplicative sensitivity of a measure to the reverse operation. When considering upper-bounds for the sensitivity of a measure, we need them to hold for all strings. Lower-bounds generally hold for a specific infinite string family. Some measures, such as and , are invariant to string reversal. We focus on those that are not.
One of the repetitiveness measures for which the sensitivity to reverse has been studied is . Constantinescu [9] showed that can increase by when reversing the string. It is also conjectured that . For the upper-bound, it is known that [33], and is invariant upon reversal, hence, for , and , the multiplicative sensitivity is . Recently, Kempa and Saha proved that [22], and is invariant to reversals, hence, the multiplicative sensitivity of is .
Giuliani et al. [15] showed that . Specifically, they describe a family where and , hence, in this family also holds . This result can be extended to (see the full version). Kempa and Kociumaka [19] showed that , and because and is invariant to reversals, it follows that . This result was also extended to [41].
3 Additive Sensitivity of RLBWT Variants to Reverse
In this section, we show that under string reversal, the additive sensitivity of , , and are all . This substantially improves the previous lower-bounds on the additive sensitivity, which can be derived from the results of Giuliani et al. [15] and Biagi et al. [5] on the multiplicative sensitivity of and .
In the following proofs, we rely on an infinite family of strings defined as follows.
Definition 7 ().
Let such that
Define It holds that .
3.1 Additive Sensitivity of and
We first fully characterize the BWT of strings and their reverse . Then, we count the number of BWT-runs they have and how they differ. Figure 1 gives an example for .
Lemma 8.
and .
Proof.
We characterize the BWT of and count its number of runs. Observe that in , the rotations starting with the symbols and for are always preceded by . The rotations starting with ’s are sorted according to the following symbols (or equivalently, according to their starting position within , from left to right), and preceded by for , and by in the case of (i.e., ). The rotations starting with are sorted according to their following symbol or (or equivalently, according to their starting position within , from left to right), and preceded in an alternating fashion by , , , , …, , . Hence, we can partition the BWT of in the following disjoint ranges:
-
(1)
and for .
-
(2)
.
-
(3)
.
Though interleaved, the ranges in (1) yield a prefix of the BWT of of length formed by only ’s. Thus, and .
Lemma 9.
and .
Proof.
First observe that , and in the following, we have . We characterize the BWT of and count its number of runs. Observe that just as for , in the rotations starting with for are always preceded by . On the other hand, the rotations starting with are always preceded by . The rotations starting with ’s are always preceded by . The rotations starting with for are sorted according to (or equivalently, according to their starting positions within from right to left), and preceded by ,…, . The rotations starting with are sorted according to their following symbol , and preceded by when and when . Hence, we can partition the BWT of in the following disjoint ranges.
-
(1)
and for .
-
(2)
for .
-
(3)
.
-
(4)
.
The interleaved ranges in (1) yield a prefix of the BWT of of the form . Thus, and .
Proposition 10.
There exists an infinite string family where .
For the variant, we observe that the BWT of does not change much after appending a $ at its end, because the relative order among all rotations of is decided before comparing against the $ (except for ). In the case of , the two rotations of starting with and are changed so they start with and , respectively. For both and , the number of runs increases by exactly one. The differences in their BWTs with respect to the version without the $ are highlighted in Figure 1. We obtain the following.
Proposition 11.
There exists a string family where .
3.2 Additive Sensitivity of
We first characterize the Lyndon factorization of and .
Lemma 12.
and .
Proof.
Let , then . First, and are trivially Lyndon. Next, is Lyndon because it begins with , which is the unique smallest symbol occurring in . Since , it follows that the Lyndon factorization of is .
Now consider . For each , is Lyndon because , and is Lyndon because is its unique smallest symbol. Further, for each , we have . Thus, the Lyndon factorization of is
Lemma 13.
and .
Proof.
Let , which is the third Lyndon factor of . We first determine . Compared with the BWT-matrix of (Lemma 8), removing the prefix affects only the following rows (illustrated on the left of Figure 1):
-
the rotation starting with and preceded by disappears;
-
the rotation starting with and preceded by disappears;
-
the rotation starting with is now preceded by instead of , but it is still the first rotation.
All remaining rotations keep both their preceding symbols and their relative order, because the order of all rotations of coincides with their suffix order. Hence,
Finally, we incorporate and into the -sorted rotations. The factor is ordered after the rotation and before the first rotation beginning with . The factor is larger than every rotation of every factor of in -order, so it appears last. Therefore, the desired results follow.
Lemma 14.
and
Proof.
By Lemma 12, we have . For each , we sort the following rotations by -order:
First, among the rotations beginning with or , the order is
Next, among the rotations beginning with , every rotation of the form precedes every rotation of the form :
Finally, all rotations beginning with come last, and among them we have
Thus, the -sorted list of rotations becomes the following, with the last character of each rotation highlighted in blue:
Therefore, the desired results follow.
Proposition 15.
There exists a string family where .
4 Sensitivity of the Lempel-Ziv Parsing
4.1 Multiplicative Sensitivity
Experimentation [20] suggests that the multiplicative sensitivity of the Lempel-Ziv parsing to the reverse operation is , although the exact constant remains unclear. In [20], an essentially brute-force search over short strings revealed a binary string
of length 55 with and .
We now show a family for which approaches from below as .
Definition 16 ().
For , let . For , define and . Then define , and . Next, let , and for , define
Finally, we define , noting that .
For example, we illustrate on the left of Figure 2.
Observation 17.
.
Proof.
The Lempel-Ziv factorization of is
where and , which means . The Lempel-Ziv factorization of is
so . We can similarly show that .
Observation 18.
For any , if occurs in , then it occurs exactly once.
Proof.
Any occurrence of must be of the form for some . By construction, and correspond to the following two sequences, respectively:
Since for and , each is unique, the desired result follows.
Lemma 19.
.
Proof.
By Observation 18, the Lempel-Ziv factorization of contains a phrase boundary between each consecutive and (blue boundaries on the left of Figure 2).
We next examine the phrases inside each for . For , let . Then each can be written as for some and . Now, observe that, yields the following phrases depending on and :
In Figure 2 (left), for each , the first boundary is red when and green when ; the second boundary is shown in orange for .
Finally, since , it follows that .
Lemma 20.
.
Proof.
First observe that, in , each occurs in only when , and does not occur in any with . Consequently, in , each for has an occurrence in for . Hence, by Observation 18, each is parsed as a separate phrase in the Lempel-Ziv factorization of (blue boundaries on the right of Figure 2). Further, since , we have by Observation 17. Therefore, .
Proposition 21.
There exists a string family where . The same result holds for .
In contrast, we do not obtain an analogous result for ; exploring whether such a family exists for is left for future work. We also observe that both and are in . Hence, the multiplicative sensitivity does not imply a linear additive sensitivity. To obtain a linear additive gap, we consider a different string family in the next subsection.
4.2 Additive Sensitivity
Constantinescu [9] showed that the size of the Lempel-Ziv factorization of a string can increase by when reversing the string111This holds for an asymptotically equivalent LZ variant, which adds a trailing character at each phrase.. We improve this lower-bound to , and show that this new result also holds for the sensitivity of the Lempel-Ziv parsing without overlaps and the Lempel-Ziv-end variants. The infinite family of strings that we rely on is defined as follows. (The same family will be reused in Section 5.2.)
Definition 22 ().
Let be an even integer and such that . We then define
noting that .
Lemma 23.
Let be an even integer. Then, .
Proof.
The Lempel-Ziv factorization of is
where the first phrases are , and the remaining phrases are . Thus, .
Lemma 24.
Let be an even integer. Then, .
Proof.
First observe that . Then, the Lempel-Ziv factorization of is
So we have .
The next proposition follows from Lemma 23 and Lemma 24. The other Lempel-Ziv variants yield the exact same factorizations on and .
Proposition 25.
There exists an infinite string family where . The same result holds for and .
5 Sensitivity of the Smallest Lexicographic Parsing
5.1 Multiplicative Sensitivity
In this subsection we prove that, similarly to the RLBWT and its variants [5, 15], the size of the lex-parse of a string can increase by a logarithmic factor upon reversing the string. To prove this result, we rely on a family of words constructed from the Fibonacci words.
Definition 26 ( and ).
Let denote the Fibonacci word where , , and for each . We denote the lengths of these words. Moreover, we let be the central word.
We summarize in the following lemma some known properties of Fibonacci words.
Lemma 27 ([15, 34]).
For each ,
-
(i)
is a palindrome.
-
(ii)
.
-
(iii)
is Lyndon.
-
(iv)
occurs in exactly three times, starting at positions 1, , and .
-
(v)
We also use the following well-known property of Lyndon words.
Lemma 28 ([7]).
Consider Lyndon words and such that . Then, is Lyndon.
The main result we prove in this section is the following.
Proposition 29.
There exists a string family where .
This lower-bound is asymptotically tight, as in Section 2 we showed . The string family for which this proposition holds is composed of the reverses of strings for odd . It is known that on odd Fibonacci words [34], and prepending to this string only increases by 1, as is a unique symbol that does not interfere with the relative order of the other suffixes of .
Lemma 30.
For each odd , it holds that .
Therefore, it remains to prove that on the strings for odd . Specifically, we show that on these strings.
Lemma 31.
For each odd , .
Proof.
See Figure 3. Let . First, since is Lyndon by (iii) of Lemma 27, holds for any . This implies that and . We infer that is the smallest suffix of that begins with . Further, we know that is the smallest suffix of that begins with . Thus, the first two phrases are and , respectively.
We now prove that, starting at position in , the third phrase is . By repeatedly applying the definition , we have the following factorizations of :
Since is odd, by (v) of Lemma 27, , so . By (i) of Lemma 27, is a palindrome; it follows that . Thus, in , the factor immediately following the first occurrence of is
In particular, by (iii) of Lemma 27, is Lyndon. From the first paragraph of this proof, we also have that is Lyndon. Since , Lemma 28 implies that is Lyndon. Hence, is the smallest suffix of that begins with . Next, we derive the following identities using (ii) and (v) of Lemma 27:
These identities imply a factorization of as . Thus, there exists an occurrence of in , and the lexicographic predecessor of is a suffix of beginning with . Therefore, the longest common prefix between these two suffixes is , which is the third phrase.
5.2 Additive Sensitivity
In this subsection we show that has additive sensitivity to the reverse operation. For the lower bound instance, we use the string family defined in Definition 22.
Lemma 32.
.
Proof.
Among the suffixes of , we observe the following.
-
Two suffixes start with ; in text position order, they start with and .
-
For each , three suffixes start with ; in text position order, they start with , , and .
-
Three suffixes start with ; in text position order, they start with , , and .
-
Two suffixes start with ; in text position order, they start with and .
With these observations, and by inspecting the longest common prefixes of consecutive suffixes (see Figure 4), we obtain that
where and . So we have .
Lemma 33.
.
Proof.
By symmetric observations of the proof of Lemma 32, it can be verified that
where and . So we have .
Note that although and , the factorizations are different.
Proposition 34.
There exists a string family where .
6 Conclusions
We have presented several results on the sensitivity of repetitiveness measures to string reversal. We have described an infinite string family exhibiting a additive increase in the number of BWT runs under reversal. We gave analogous results for the size of the Lempel-Ziv parse, and the lex-parse. We also described a string family where the Lempel-Ziv parse ratio can approach 3 when applying the reverse operation. Finally, we described a string family where the size of the lex-parse can increase by an factor after reversing the string, and this increase is asymptotically tight.
Many open problems remain in this general direction. Two central questions are whether holds and whether holds. Another related direction is the asymptotic relation between and . While for even Fibonacci words, it is unknown if in general. If indeed has multiplicative sensitivity against the reverse operation, as conjectured, this may offer further insight into understanding how and relate. Beyond these, several bounds for , (as can be seen in Table 1), and other measures can be improved. It is worth noting that, although our lower bounds are asymptotically tight, determining the exact tight constants remains an interesting combinatorial question. There may also be conditional lower bounds worth exploring – for instance, as a function of the alphabet size. For an extended version of this paper, we also plan to explore the impact of string reversal on other variants of the Lempel-Ziv parsing, including the family of Lempel-Ziv height-bounded (LZHB) parsings [3].
Overall, our results elucidate the limitations of many repetitiveness measures with respect to string reversal. We hope this work brings renewed attention to this string operation and motivates progress on these long-standing questions.
References
- [1] Tooru Akagi, Mitsuru Funakoshi, and Shunsuke Inenaga. Sensitivity of string compressors and repetitiveness measures. Information and Computation, 291:104999, 2023. doi:10.1016/j.ic.2022.104999.
- [2] Golnaz Badkobeh, Hideo Bannai, and Dominik Köppl. Bijective BWT based compression schemes. In 31st International Symposium on String Processing and Information Retrieval (SPIRE 2024), volume 14899 of Lecture Notes in Computer Science (LNCS), pages 16–25. Springer, 2024. doi:10.1007/978-3-031-72200-4_2.
- [3] Hideo Bannai, Mitsuru Funakoshi, Diptarama Hendrian, Myuji Matsuda, and Simon J. Puglisi. Height-Bounded Lempel-Ziv Encodings. In Proc. 32nd Annual European Symposium on Algorithms (ESA 2024), volume 308 of Leibniz International Proceedings in Informatics (LIPIcs), pages 18:1–18:18, Dagstuhl, Germany, 2024. Schloss Dagstuhl – Leibniz-Zentrum für Informatik. doi:10.4230/LIPIcs.ESA.2024.18.
- [4] Hideo Bannai, Dominik Köppl, and Zsuzsanna Lipták. A survey of the Bijective Burrows-Wheeler transform. In Paolo Ferragina, Travis Gagie, and Gonzalo Navarro, editors, The Expanding World of Compressed Data: A Festschrift for Giovanni Manzini’s 60th Birthday, Manzini’s Festschrift, Venice, Italy, July 25, 2025, OASIcs, pages 2:1–2:26. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/OASIcs.MANZINI.2.
- [5] Elena Biagi, Davide Cenzato, Zsuzsanna Lipták, and Giuseppe Romana. On the number of equal-letter runs of the bijective Burrows-Wheeler Transform. Theoretical Computer Science, 1027:115004, 2025. doi:10.1016/j.tcs.2024.115004.
- [6] Michael Burrows and David Wheeler. A block sorting lossless data compression algorithm. Technical Report 124, Digital Equipment Corporation, 1994.
- [7] Kuo Tsai Chen, Ralph H. Fox, and Roger C. Lyndon. Free differential calculus, IV. The quotient groups of the lower central series. Annals of Mathematics, 68(1):81–95, 1958.
- [8] 1000 Genomes Project Consortium. A global reference for human genetic variation. Nature, 526(7571):68, 2015. doi:10.1038/nature15393.
- [9] Sorin Constantinescu. On the complexity of strings. PhD thesis, University of Western Ontario, 2008.
- [10] Sorin Constantinescu and Lucian Ilie. The Lempel-Ziv complexity of fixed points of morphisms. In Proc. 31st Mathematical Foundations of Computer Science (MFCS 2006), volume 4162 of Lecture Notes in Computer Science (LNCS), pages 280–291. Springer Berlin Heidelberg, 2006. doi:10.1007/11821069_25.
- [11] Roberto Di Cosmo and Stefano Zacchiroli. Software heritage: Why and how to preserve software source code. In Proc. 14th International Conference on Digital Preservation, (iPRES 2017), 2017. URL: https://phaidra.univie.ac.at/o:931064.
- [12] Gabriele Fici, Giuseppe Romana, Marinella Sciortino, and Cristian Urbina. Morphisms and BWT-run sensitivity. In 50th International Symposium on Mathematical Foundations of Computer Science (MFCS 2025), volume 345 of Leibniz International Proceedings in Informatics (LIPIcs), pages 49:1–49:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.MFCS.2025.49.
- [13] Travis Gagie, Gonzalo Navarro, and Nicola Prezza. Fully functional suffix trees and optimal text searching in BWT-runs bounded space. Journal of the ACM, 67(1):2:1–2:54, 2020. doi:10.1145/3375890.
- [14] Joseph Yossi Gil and David Allen Scott. A bijective string sorting transform, 2012. arXiv:1201.3077.
- [15] Sara Giuliani, Shunsuke Inenaga, Zsuzsanna Lipták, Nicola Prezza, Marinella Sciortino, and Anna Toffanello. Novel results on the number of runs of the Burrows-Wheeler-Transform. In Proc. 47th International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2021), volume 12607 of Lecture Notes in Computer Science (LNCS), pages 249–262. Springer, 2021. doi:10.1007/978-3-030-67731-2_18.
- [16] Sara Giuliani, Shunsuke Inenaga, Zsuzsanna Lipták, Giuseppe Romana, Marinella Sciortino, and Cristian Urbina. Bit catastrophes for the Burrows-Wheeler Transform. Theory of Computing Systems, 69(2):19, 2025. doi:10.1007/s00224-024-10212-9.
- [17] Shunsuke Inenaga and Dmitry Kosolobov. Relating left and right extensions of maximal repeats, 2024. doi:10.48550/arXiv.2410.15958.
- [18] Hyodam Jeon and Dominik Köppl. Compression sensitivity of the Burrows–Wheeler Transform and its bijective variant. Mathematics, 13(7), 2025. doi:10.3390/math13071070.
- [19] Dominik Kempa and Tomasz Kociumaka. Resolution of the Burrows-Wheeler Transform conjecture. Communications of the ACM, 65(6):91–98, 2022. doi:10.1145/3531445.
- [20] Dominik Kempa, Juha Kärkkäinen, and Simon J. Puglisi, 2014. Unpublished.
- [21] Dominik Kempa and Nicola Prezza. At the roots of dictionary compression: string attractors. In Proceedings of the 50th Annual ACM SIGACT Symposium on Theory of Computing (STOC 2018), pages 827–840. ACM, 2018. doi:10.1145/3188745.3188814.
- [22] Dominik Kempa and Barna Saha. An upper bound and linear-space queries on the LZ-End parsing. In Proc. 33rd Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2022), pages 2847–2866, 2022. doi:10.1137/1.9781611977073.111.
- [23] Takuya Kida, Tetsuya Matsumoto, Yusuke Shibata, Masayuki Takeda, Ayumi Shinohara, and Setsuo Arikawa. Collage system: a unifying framework for compressed pattern matching. Theoretical Computer Science, 298(1):253–272, 2003. doi:10.1016/S0304-3975(02)00426-7.
- [24] John C. Kieffer and En-Hui Yang. Grammar-based codes: A new class of universal lossless source codes. IEEE Transactions on Information Theory, 46(3):737–754, 2000. doi:10.1109/18.841160.
- [25] Tomasz Kociumaka, Gonzalo Navarro, and Nicola Prezza. Towards a definitive compressibility measure for repetitive sequences. IEEE Transactions on Information Theory, 69(4):2074–2092, 2023. doi:10.1109/TIT.2022.3224382.
- [26] Sebastian Kreft and Gonzalo Navarro. On compressing and indexing repetitive sequences. Theoretical Computer Science, 483:115–133, 2013. doi:10.1016/j.tcs.2012.02.006.
- [27] Tak Wah Lam, Ruiqiang Li, Alan Tam, Simon C. K. Wong, Edward Wu, and Siu-Ming Yiu. High throughput short read alignment via bi-directional BWT. In Proc. 3rd IEEE International Conference on Bioinformatics and Biomedicine (BIBM 2009), pages 31–36. IEEE Computer Society, 2009. doi:10.1109/BIBM.2009.42.
- [28] Ben Langmead, Cole Trapnell, Mihai Pop, and Steven L Salzberg. Ultrafast and memory-efficient alignment of short DNA sequences to the human genome. Genome Biology, 10(3):R25, 2009. doi:10.1186/gb-2009-10-3-r25.
- [29] Abraham Lempel and Jacob Ziv. On the complexity of finite sequences. IEEE Transactions on Information Theory, 22(1):75–81, 1976. doi:10.1109/TIT.1976.1055501.
- [30] Heng Li and Richard Durbin. Fast and accurate long-read alignment with Burrows-Wheeler Transform. Bioinformatics, 26(5):589–595, 2010. doi:10.1093/bioinformatics/btp698.
- [31] Yuto Nakashima, Dominik Köppl, Mitsuru Funakoshi, Shunsuke Inenaga, and Hideo Bannai. Edit and Alphabet-Ordering Sensitivity of Lex-Parse. In 49th International Symposium on Mathematical Foundations of Computer Science (MFCS 2024), volume 306 of Leibniz International Proceedings in Informatics (LIPIcs), pages 75:1–75:15. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.MFCS.2024.75.
- [32] Gonzalo Navarro. Indexing highly repetitive string collections, part I: Repetitiveness measures. ACM Computing Surveys, 54(2):article 29, 2021. doi:10.1145/3434399.
- [33] Gonzalo Navarro. Indexing highly repetitive string collections, 2022. arXiv:2004.02781.
- [34] Gonzalo Navarro, Carlos Ochoa, and Nicola Prezza. On the approximation ratio of ordered parsings. IEEE Transactions on Information Theory, 67(2):1008–1026, 2021. doi:10.1109/TIT.2020.3042746.
- [35] Gonzalo Navarro, Francisco Olivares, and Cristian Urbina. Generalized straight-line programs. Acta Informatica, 62(1):14, 2025. doi:10.1007/s00236-025-00481-3.
- [36] Gonzalo Navarro, Giuseppe Romana, and Cristian Urbina. Smallest suffixient sets as a repetitiveness measure. In Proc. 32th International Symposium on String Processing and Information Retrieval (SPIRE 2025), volume 16073 of Lecture Notes in Computer Science (LNCS), pages 217–232. Springer, 2025. doi:10.1007/978-3-032-05228-5_18.
- [37] Gonzalo Navarro, Giuseppe Romana, and Cristian Urbina. Smallest suffixient sets: Effectiveness, resilience, and calculation, 2025. arXiv:2506.05638.
- [38] Gonzalo Navarro and Cristian Urbina. Repetitiveness measures based on string morphisms. Theoretical Computer Science, 1043:115259, 2025. doi:10.1016/j.tcs.2025.115259.
- [39] Takaaki Nishimoto, Tomohiro I, Shunsuke Inenaga, Hideo Bannai, and Masayuki Takeda. Fully dynamic data structure for LCE queries in compressed space. In 41st International Symposium on Mathematical Foundations of Computer Science (MFCS 2016), volume 58 of Leibniz International Proceedings in Informatics (LIPIcs), pages 72:1–72:15, 2016. doi:10.4230/LIPIcs.MFCS.2016.72.
- [40] Sofya Raskhodnikova, Dana Ron, Ronitt Rubinfeld, and Adam D. Smith. Sublinear algorithms for approximating string compressibility. Algorithmica, 65(3):685–709, 2013. doi:10.1007/S00453-012-9618-6.
- [41] Giuseppe Romana. Repetitiveness Measures based on String Attractors and Burrows-Wheeler Transform: Properties and Applications. PhD thesis, Università degli Studi di Palermo, 2023.
- [42] James A. Storer and Thomas G. Szymanski. Data compression via textual substitution. Journal of the ACM, 29(4):928–951, 1982. doi:10.1145/322344.322346.
Appendix A Glossary of Repetitiveness Measures in Table 1
| Symbol | Meaning |
|---|---|
| Number of runs in the run-length encoding of . | |
| Number of runs in the run-length encoding of , where $ is an end-of-string symbol smaller than every symbol of . | |
| Number of runs in the run-length encoding of the bijective Burrows–Wheeler transform . | |
| Number of phrases in the Lempel–Ziv parse of . | |
| Number of phrases in the non-overlapping Lempel–Ziv parse of . | |
| Number of phrases in the greedy LZ-End parse of . | |
| Minimum number of phrases in an LZ-End parse of . | |
| Number of phrases in the lex-parse of . | |
| Size of the smallest suffixient set of . | |
| Number of nodes plus edges in the compact directed acyclic word graph (CDAWG) of . | |
| Substring complexity of , namely , where is the set of distinct substrings of of length . | |
| Size of the smallest string attractor of . | |
| Size of the smallest NU-system generating . | |
| Minimum number of phrases in a bidirectional macro scheme for . | |
| Size of the smallest collage system generating . | |
| Size of the smallest straight-line program generating . | |
| Size of the smallest run-length straight-line program generating . | |
| Size of the smallest iterated straight-line program generating . |
