Manuscript Offprint
arXiv:2610.32818Logarithmic Separation between LZ77 and LZ-End and Grammar Compression
Introduction
The Lempel-Ziv factorization of a text [19] (LZ77) is a greedy left-to-right parse in maximal substrings such that each substring is either a single (new) character or already occurred to the left. Despite its simplicity, LZ77 can be easily shown to be optimal among all unidirectional parses (i.e. that copy phrases from left-to-right), and dominates other popular compression schemes such as Straight Line Programs (SLPs), i.e., context-free grammars that generate only the text as output.
LZ-End [14, 15] is a variant of LZ77 parsing with the added constraint that the source of the phrase must end at a phrase boundary of a previous phrase. Let be the number of phrases in the LZ77 parsing of a string , and let be the number of phrases when overlaps are not allowed between phrases and their sources. Lastly, let be the minimum number of phrases in any legal LZ-End parsing of . While there is no known data structure of size that provides efficient random access to arbitrary positions in the string, it was recently shown that time access could be achieved with space [4]. Note that, every LZ-End parsing is also a legal unidirectional parse, so .
In this paper we answer the following question: How much can the source-boundary restriction increase the number of phrases?
Our results. We give an explicit, deterministic family of binary strings , indexed by k, where k is a power of two, such that
Writing , we obtain
The lower bound holds for every legal LZ-End parsing, with unrestricted choices of source occurrences and phrase boundaries.
The result has a consequence for grammar compression. Let denote the minimum total length of the right-hand sides of an acyclic grammar generating only . The grammar-to-LZ77 conversion of Charikar et al. [5] also produces a legal LZ-End parsing: expand a variable at its first occurrence and copy each subsequent occurrence from that first expansion, which ends at a phrase boundary. Thus , and our strings also satisfy
The same asymptotic separation holds when grammar size is measured by the number of variables in a binary straight-line program (SLP). We give the conversion argument explicitly in
Section 2.1. Together with the standard LZ77-to-grammar upper bound , these inequalities show that the worst-case ratios to non-overlapping LZ77 are for both optimal LZ-End and smallest grammars.
The snapshot construction. We first work over a growing alphabet. Start with a string of distinct symbols. Change one position at a time to a fresh symbol to get , choosing the changing positions in bit reversal order [16, 18, 8], and concatenate with fresh separators between them. Each version differs from its predecessor at exactly one position. LZ77 can therefore represent the string by a prefix copy, the new symbol, and a suffix copy, giving phrases in total.
For the LZ-End lower bound, place a complete balanced binary tree over the string positions in . At each node, consider consecutive updates within its interval where the first update is in the left child and the next is in the right child. Bit reversal produces such events per tree level, for a total of . We show that each event requires a distinct phrase in every LZ-End parsing.
The charging argument finds a phrase between the two updates of each event. Between two such updates of symbols in the interval of a node v, choose the smallest position j in the right child of v that is a phrase boundary in some between the two updates, and then the smallest i such that contains that boundary. The preceding boundary lies in the left child. If its phrase started before the position changed by the left update, the phrase would contain that update's fresh symbol. A source for the phrase would then have to occur after that update and end at j. This contradicts the choice of the smallest i such that contains that boundary. Hence the two phrase boundaries lie in opposite children of the node, and between the two update times. The lowest common ancestor of the two boundary coordinates identifies the node uniquely, and since the row intervals of events at the same node are disjoint, no phrase can receive two charges.
To obtain the result for binary strings, we encode the symbols with fixed-length codewords whose headers identify codeword starts. A fresh codeword forces a phrase boundary strictly inside it. The charging argument can therefore be repeated in bit coordinates, without assuming that parsing boundaries align with codewords. Any copied phrase containing a complete codeword for an updated symbol identifies both its array position and the alignment of its source. Finally, numbering fresh symbols in order of appearance allows each new codeword to be represented by a constant number of non-overlapping LZ77 copies. The encoding preserves the LZ77 bound and the LZ-End lower bound.
Finally, we show that the result also holds for the version of LZ-End and LZ77 where a phrase consists of a copy and an extra character. This follows immediately from the fact that the two versions of the parsing only differ by a factor of 2 (for completeness, we prove this in Section 5.
Kempa and Saha proved a greedy LZ-End upper bound of , where is the LZ77 phrase count with overlapping sources, and gave linear-space data structures for ran-dom access [12]. Gawrychowski, Kosche, and Manea improved the phrase-count bound to [7]. These results concern greedy LZ-End. The logarithmic upper bound relevant to our result concerns the optimal parsing and follows through grammar compression; it makes no assertion about the performance of the greedy LZ-End algorithm.
Bannai et al. studied optimal LZ-End under the whole-copy convention. They proved that finding an optimal parsing is NP-hard, gave a MAX-SAT formulation, and constructed binary strings whose greedy-to-optimal phrase ratio approaches two [2]. Their separation measures the cost of greedy phrase selection. Our result measures the source-boundary restriction itself: even the smallest legal LZ-End parsing is a logarithmic factor larger than non-overlapping LZ77.
For grammar compression, the basic comparison with non-overlapping LZ77 comes from the conversions of Rytter [17] and Charikar et al. [5, Sections VII-D–VII-G]. A grammar of size g yields a non-overlapping parsing with at most g phrases, whereas a parsing with phrases can be converted into a grammar of size . Jeż later gave a simpler linear-time conversion with the same asymptotic size guarantee [11]. These results give the logarithmic upper bound on used here.
In the other direction, Charikar et al. used a connection with addition chains to construct strings satisfying . Hucke, Lohrey, and Reh obtained the same asymptotic separation over a binary alphabet [9]. Bille, Gagie, Gørtz, and Prezza extended the separation to run-length SLPs, which also allow rules of the form [3]. Kosolobov and Valenzuela explicitly identified the remaining gap between the known grammar–LZ77 bounds as an open problem [13, Sections 1 and 5]. For ordinary grammars, Corollary 2.3 improves the lower-bound factor to over a binary alphabet, matching the logarithmic upper bound. To our knowledge, this tight separation from non-overlapping LZ77 was not previously known.
The non-overlap restriction is essential to this comparison. For the unary string , overlapping LZ77 already uses phrases while the smallest grammar has size ; non-overlapping LZ77 uses phrases on the same string. Thus a logarithmic grammar separation from overlapping LZ77 alone does not settle the comparison studied here.
Our construction uses successive single-character substitutions, but the comparison differs from sensitivity results. Akagi, Funakoshi, and Inenaga proved tight constant bounds on the multiplicative sensitivity of several LZ77 variants under a single edit [1], while Fujie et al. established tight worst-case additive sensitivity bounds for overlapping and non-overlapping LZSS and for optimal LZ-End [6]. Here we concatenate all snapshots and compare different compression measures on the resulting single string.
AI Declaration This result was obtained with the help of AI, more precisely OpenAI ChatGPT Astra and Sol 6. The result was obtained through a longer discussion starting with another window-copying construction from the authors that together with the ruler string as basis, and a later a prefix window-copying construction combined with the ruler string, that ChatGPT Sol 6 proved gave a separation. The final string and proof was found by ChatGPT Astra. All proofs and constructions have been verified by the authors.
Organization. Section 1 fixes the parsing conventions. Section 2 states the separation and its grammar consequence. Section 3 gives the growing-alphabet construction and the charging argument. Section 4 establishes the binary LZ77 upper bound and LZ-End lower bound. Section 4.3 combines these bounds to prove the main theorem. Section 5 contains the extension to the version where copy phrases contains an extra character.
1 Definitions
All logarithms are base two.
Strings, phrases, and boundaries A string of length is a sequence of characters drawn from an alphabet . The string , denoted , is a substring of . By convention, for , and is empty. A parsing partitions into nonempty phrases , where
A phrase boundary is a prefix length ; in particular, is the initial boundary. The end of phrase is .
LZ77. The non-overlapping LZ77 parsing is formed greedily from left to right. The ith phrase is either (a) the first occurrence of a character in S, in which case it has length one, or (b) the longest nonempty substring starting at with an occurrence ending to the left of . Precisely, a copied length is admissible when
Here “ending to the left” refers to the last character position: the exclusive source endpoint may equal . A legal non-greedy non-overlapping LZ77 parsing obeys the same rules but need not choose the longest admissible copy. It is well-known that the greedy parsing is optimal for LZ77.
LZ-End. An LZ-End parsing partitions into phrases with the same boundary notation. Each phrase is either (a) the first occurrence of a character, of length one, or (b) a substring with an earlier occurrence ending at a phrase boundary. Thus a copied phrase has a source boundary satisfying
The inequality excludes negative source positions. The case is permitted: the source may end at the current phrase start. It is nevertheless wholly before the target. Sources may cross several phrases; only their right endpoint must be a boundary. The final phrase obeys exactly the same rules as every other phrase.
The greedy LZ-End parsing chooses the longest admissible copied phrase whenever a copy is available. If the next character has not occurred before, it forms a one-character phrase. These rules always permit progress: a character's first occurrence cannot lie inside a copied phrase, so it ends a one-character phrase; that endpoint is an available source for any later one-character copy of the character. Admissible copied lengths need not form an interval.
Greedy LZ-End is not always optimal. For example, on its phrases are
whereas 0 | 0 | 1 | 0 | 0010 is a legal five-phrase parsing. The last phrase in the latter copies , ending at the boundary . In the greedy parsing, at position 3 the longest copy is 00 ending at boundary 2; at position 5 the longest copy is 01 ending at boundary 3. The first three phrases are forced in every legal parsing, and the remaining five characters cannot be copied non-overlapping from a prefix of length three, so five phrases are optimal.
Number of phrases. Let be the non-overlapping LZ77 phrase count, and define
.
Let denote the greedy LZ-End phrase count. Then
The first inequality follows from the optimality of the greedy LZ77 parsing since every legal LZ-End parsing is a legal non-overlapping LZ77 parsing. The second follows by taking a minimum over legal LZ-End parsings.
2 Results
Our first result is a separation between LZ77 and LZ-End.
Theorem 2.1. For every power of two , there is a binary string of length , where , such that
Consequently , even over a binary alphabet.
2.1 Consequence for Grammar Compression
An acyclic grammar has one production for each variable, nonempty right-hand sides, and a designated start variable generating a single string. Its size is the total number of symbols on all right-hand sides. A binary SLP restricts productions to or .
The following lemma uses the grammar-to-LZ77 conversion of Charikar et al. [5]. We observe that the same conversion also satisfies the LZ-End requirement that every copied source end at a phrase boundary.
Lemma 2.2 (Grammar-to-LZ-End conversion). Let an acyclic grammar of size g with r reachable variables generate a nonempty string S. Then S has a legal whole-copy LZ-End parsing with at most phrases. If the grammar is a binary SLP with r variables, at most r phrases suffice.
Proof. Traverse the derivation tree from left to right. At the first occurrence of each variable, expand its production recursively. At every subsequent occurrence, output its complete expansion as one copied phrase, using the first occurrence as its source. At terminal leaves, output a singleton, as a literal if it is the character's first occurrence and otherwise as a copy of its first occurrence.
The first expansion of a variable is finished before a later occurrence is visited: otherwise that later occurrence would be a descendant of the first, contradicting acyclicity. Its source is therefore non-overlapping. Moreover, its first expansion is a concatenation of complete output phrases, so its right endpoint is a phrase boundary. First occurrences of terminal characters are singleton phrases as well. Thus every output phrase is legal for LZ-End.
In the pruned derivation tree, each reachable variable is expanded exactly once. There are internal nodes and at most edges, so there are at most leaves, one for each output phrase. For a binary SLP, if variables have two-symbol right-hand sides and have terminal right-hand sides, this count is , since is nonempty and hence .
Figure 1: Illustration of the strings . Each is thought of as a row, and the positions within the rows are thought of as columns.
Corollary 2.3. For the binary strings of Theorem 2.1, every acyclic grammar generating has size at least . Every binary SLP generating also has at least variables. In particular, for ,
Proof. Apply Lemma 2.2 to the LZ-End lower bound in Theorem 2.1, and use and .
3 Construction over a Growing Alphabet
We first show a construction with a large alphabet. Let . Our alphabet has size and consists of the following mutually distinct symbols:
Let be a permutation of . We will define the precise permutation later. We construct our string as follows. Initially
At iteration , obtain from by replacing at position with . Thus each position is changed exactly once, and . Define
The length of is . We call the substring the th row, for ; it starts at string position . See Figure 1 for an illustration of the construction. A symbol at position in the string is in column if it is the th symbol in the row, that is . A boundary at column in row is a cut after the first symbols of the row, at prefix length . Thus a phrase in row with boundary columns contains the symbols in columns of row .
LZ77 parsing of S There is a legal non-overlapping LZ77 parsing with at most phrases: the initial row and separator take literals. Each later row can be parsed with at most 4 phrases: (i) its common prefix with the preceding row, (ii) the new literal , (iii) its common suffix with the preceding row, and (iv) a phrase for the new separator. Thus,

Figure 2: Illustration of the situation in Lemma 3.1. All updates to the string strictly between rows s and row t happen outside the interval of v.
Properties of the string S Note that every separator is a forced singleton in every legal LZ-End parsing: it is new and has length one, and cannot occur inside a copied phrase. Consequently each row has its own partition into phrases. Moreover, in row t, the new is a forced singleton, so columns and are boundaries of phrases in this row. Every copied phrase inside a row must have a source inside a strictly earlier row and at exactly the same coordinates. This is true, since every symbol identifies its coordinate uniquely and a source cannot cross a separator.
3.1 LZ-End Lower Bound
We first prove the following lemma. Let be the complete balanced binary tree on coordinates . Each node corresponds to an interval of coordinates , i.e., the nodes correspond to all the dyadic intervals of .
Lemma 3.1. Let be a node in , with children and . Let be consecutive times in the update subsequence restricted to , and suppose
Then every legal LZ-End parsing of S contains a phrase in a row with boundary columns such that
Proof. Row has the forced boundary in the right child. Among all boundaries in the right child occurring in rows , choose the smallest column containing such a boundary. Then choose the first row in containing a phrase boundary in column . We have . Its predecessor boundary in row satisfies , by minimality of . See Figure 2.
It remains to show that . We do this by contradiction. Suppose . Since , the phrase has length at least two and therefore is copied. It contains , since coordinate was updated at and is not updated again. Its source is in a row at the same coordinates, hence its source endpoint is a boundary at column in row . Since is new at time , necessarily . This contradicts the choice of as the first row in containing boundary . Thus , proving (3.2).
We call two consecutive updates and in the interval of a node an event if and belong to the intervals of the left and right child of , respectively.

Figure 3: Illustration of the S with k = 16 constructed using the permutation defined in (3.3). A light gray square in column i means that the position contains , a dark gray square means that the position contains . The last position in row j is
We will give a permutation that induces a large number of such events . To show a lower bound on the number of phrases we charge the event to the phrase found in the proof of the Lemma 3.1. For fixed v, the intervals belonging to consecutive events are disjoint. Furthermore, a phrase satisfying (3.2) has l and r in opposite children of exactly one node from , namely, the lowest common ancestor of coordinate keys l and r in . Thus no phrase is charged twice.
Permutation Recall that, . We define the permutation as follows. Let
where reverses h binary bits. See Figure 3 for an illustration of the string construction using this permutation. The permutation has the following property: At every internal node v in , the update subsequence restricted to v alternates between its children, starting in the left child.
Thus, a node of size has left-to-right events. Summing over all nodes we get,
Therefore every legal LZ-End parsing of S has at least
phrases. Combined with and , this gives an separation using a large alphabet. In the next section we show how to binary encode the alphabet symbols while retaining the lower bound.
4 Construction with Binary Strings
To encode the alphabet from the previous section we first assign fresh integer labels in order of first appearance. That is,
Thus integer labels follow the order of first appearance, while each symbol is named by its coordinate.
Let . If the d-bit representation of is , set
The length of the codeword is . Extend to strings by concatenation. Define our new string to be of length .
The substring 1111 occurs exactly at codeword starts. Thus every occurrence of a complete determines j uniquely.
The following argument does not assume that phrase boundaries are codeword-aligned. In row u, use bit-column coordinates from 0 to ck for boundaries in its array part. Rows start at multiples of . A boundary at bit-column x in row u is the prefix length .
4.1 LZ77 Upper Bound
There is a legal non-overlapping LZ77 parsing of using at most phrases.
Lemma 4.1. We have,
Proof. We can encode in at most one-bit phrases. We will prove that the remaining symbols can be parsed using at most 3 phrases each. A subsequent new , given the already occurring , can be parsed using at most 3 phrases: (i) the common code prefix with , (ii) the changed 1 bit, and (iii) the trailing zeros, which can be copied from . Since the new symbols come in sorted order we can parse all new symbols using a total of phrases.
Each new row needs at most two additional phrases (in addition to the new symbol) exactly as before. Hence, can be parsed into at most phrases.
4.2 LZ-End Lower Bound
We first prove the binary analogue of the charging lemma from Section 3.1, allowing phrase boundaries to lie inside codewords.
Lemma 4.2. Let be a node of , with children and . Let be consecutive times in the update subsequence restricted to , and suppose
Then every legal LZ-End parsing of contains a phrase in the array part of a row , with boundary bit-columns satisfying
Proof. Fix an arbitrary legal LZ-End parsing of . The codeword first appears in row . There must be a phrase boundary strictly inside this codeword, so
Otherwise a single phrase would contain the entire novel codeword. Both bits have already appeared in row zero, so this phrase would be a copy, contradicting the novelty of the codeword.
Since , the boundary lies in . Among all boundaries with bit-column in occurring in rows , choose the smallest bit-column , and then the first row containing that column. Let be its predecessor boundary, expressed relative to row . Minimality of gives . Initially, might lie before the start of row .
It remains to show that . Suppose instead that . The phrase ending at contains the entire codeword , since and . This phrase is a copy, and its source therefore contains an aligned occurrence of . That symbol occurs only at coordinate in rows . Its occurrence fixes the translation between source and target to , so the source endpoint is a phrase boundary at bit-column in row . Non-overlap implies , because . Thus , contradicting the choice of as the first row in containing boundary column . Therefore , proving (4.1). In particular, the phrase lies in the array part of row .
We now use this lemma to count distinct phrases.
Lemma 4.3. Every legal LZ-End parsing of has at least kh/2 phrases. In particular,
Proof. Fix an arbitrary legal LZ-End parsing of . For each left-to-right event , apply Lemma 4.2 and charge the event to a phrase with boundary bit-columns satisfying (4.1) in a row .
Assign each positive bit-column z the coordinate key . The keys assigned to y and x lie in opposite children of v, so v is their unique lowest common ancestor. A phrase can therefore be charged only by events at one node. For a fixed node, the row intervals of successive left-to-right events are disjoint, so each phrase is charged at most once.
For the bit-reversal permutation, the total number of left-to-right events is
Since these events are charged to distinct phrases, the parsing has at least kh/2 phrases. The parsing was arbitrary, so the bound holds also for an optimal LZ-End parsing.
4.3 Proof of the Main Result
We combine the two bounds from Section 4 to prove the binary separation stated in Theorem 2.1.
Let and let be the binary encoding of the snapshot string constructed above. For the theorem, let . By construction,
From Lemma 4.1 we have,
The charging argument assigns all kh/2 left-to-right events to distinct phrases in every legal LZ-End parsing. Consequently,
Since and , we have . Therefore,
The lower bound applies to every legal LZ-End parsing, so it holds in particular when all phrase boundaries and source occurrences are chosen optimally. This concludes the proof of Theorem 2.1.
5 Phrases with an Appended Character
We extend the separation to the convention in which each phrase has the form , where is one character and the copied prefix may be empty. A nonempty must have an occurrence wholly before the phrase starts. For LZ-End, this occurrence must end at an earlier phrase boundary. We also allow the final phrase to consist solely of a copy; the argument applies equally when the final phrase must have an appended character. Let be the minimum number of phrases in such an LZ-End parsing, and let be the number of phrases in the greedy non-overlapping LZ77 parsing under this convention. As for whole-copy LZ77, the greedy parsing minimizes the number of phrases.
Lemma 5.1. Every copy-plus-character LZ-End parsing with z phrases can be converted into a legal whole-copy LZ-End parsing with at most 2z phrases. Consequently, for every string S,
Proof. We will convert the copy-plus-character parsing into a whole-copy parsing as follows. Split each phrase into its nonempty copied prefix , if any, and the singleton . Every original phrase boundary remains a boundary in the resulting parsing. Hence the source of each copied prefix still ends at a phrase boundary and is wholly before its target.
The first occurrence of any character cannot lie inside a copied prefix, since its source would contain an earlier occurrence. It must therefore be an appended character and becomes a singleton phrase after the split. This singleton is a legal literal. Every later appended occurrence of the same character can be represented by a one-character copy of that first singleton, whose endpoint is an earlier phrase boundary. Thus all resulting singleton phrases are legal as well. If the final phrase is a pure copy, retain it unchanged. Each original phrase contributes at most two whole-copy phrases, proving the claim. Applying the conversion to an optimal copy-plus-character parsing gives the stated inequality.
Corollary 5.2. For the binary strings of Theorem 2.1,
Consequently, for ,
even over a binary alphabet.
Proof. Lemma 5.1 and Theorem 2.1 give
For the LZ77 upper bound, take the whole-copy non-overlapping parsing from Section 4. For each copied phrase, copy all but its last character from the corresponding prefix of its source, and append its last character. The shortened source is still wholly before the target. A one-character phrase is represented by an empty copy and its appended character. This preserves the phrase boundaries and the number of phrases, and is a legal non-greedy LZ77 parsing. Therefore by the optimality of greedy LZ77.
Since and , we obtain
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] Hideo Bannai, Mitsuru Funakoshi, Kazuhiro Kurita, Yuto Nakashima, Kazuhisa Seto, and Takeaki Uno. Optimal LZ-End parsing is hard. In 34th Annual Symposium on Combinatorial Pattern Matching (CPM 2023), volume 259 of Leibniz International Proceedings in Informatics (LIPics), pages 3:1–3:11. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPics.CPM.2023.3.
[3] Philip Bille, Travis Gagie, Inge Li Gørtz, and Nicola Prezza. A separation between RLSLPs and LZ77. Journal of Discrete Algorithms, 50:36–39, 2018. doi:10.1016/j.jda.2018.09.002.
[4] Itai Boneh and Pawel Gawrychowski. Random access to LZ-End: Faster and deterministic, 2026. URL: https://arxiv.org/abs/2607.14923, arXiv:2607.14923, doi:10.48550/arXiv.2607.14923.
[5] Moses Charikar, Eric Lehman, Ding Liu, Rina Panigrahy, Manoj Prabhakaran, Amit Sahai, and abhi shelat. The smallest grammar problem. IEEE Transactions on Information Theory, 51(7):2554–2576, 2005. doi:10.1109/TIT.2005.850116.
[6] Yuto Fujie, Hiroki Shibata, Yuto Nakashima, and Shunsuke Inenaga. Tight additive sensitivity on LZ-style compressors and string attractors, 2025. URL: https://arxiv.org/abs/2506.22778, arXiv:2506.22778, doi:10.48550/arXiv.2506.22778.
[7] Paweł Gawrychowski, Maria Kosche, and Florin Manea. On the number of factors in the LZ-End factorization. In String Processing and Information Retrieval (SPIRE 2023), volume 14240 of Lecture Notes in Computer Science, pages 253–259. Springer, 2023. doi:10.1007/978-3-031-43980-3_20.
[8] Haripriyan Hampapuram and Michael L Fredman. Optimal biweighted binary trees and the complexity of maintaining partial sums. SIAM J. Comput., 28(1):1–9, 1998.
[9] Danny Hucke, Markus Lohrey, and Carl Philipp Reh. The smallest grammar problem revisited. In String Processing and Information Retrieval (SPIRE 2016), volume 9954 of Lecture Notes in Computer Science, pages 35–49. Springer, 2016. doi:10.1007/978-3-319-46049-9_4.
[10] Takumi Ideue, Takuya Mieno, Mitsuru Funakoshi, Yuto Nakashima, Shunsuke Inenaga, and Masayuki Takeda. On the approximation ratio of LZ-End to LZ77. In String Processing and Information Retrieval (SPIRE 2021), volume 12944 of Lecture Notes in Computer Science, pages 114–126. Springer, 2021. doi:10.1007/978-3-030-86692-1_10.
[11] Artur Jež. A really simple approximation of smallest grammar. Theoretical Computer Science, 616:141–150, 2016. doi:10.1016/j.tcs.2015.12.032.
[12] Dominik Kempa and Barna Saha. An upper bound and linear-space queries on the LZ-End parsing. In Proceedings of the 2022 Annual ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 2847–2866. SIAM, 2022. doi:10.1137/1.9781611977073.111.
[13] Dmitry Kosolobov and Daniel Valenzuela. Lempel–Ziv parsing for sequences of blocks. Algorithms, 14(12):359, 2021. doi:10.3390/a14120359.
[14] Sebastián Kreft and Gonzalo Navarro. LZ77-like compression with fast random access. In 2010 Data Compression Conference (DCC), pages 239–248. IEEE, 2010. doi:10.1109/DCC.2010.29.
[15] Sebastián 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.
[16] Mihai Pătrașcu and Erik D. Demaine. Logarithmic lower bounds in the cell-probe model. SIAM J. Comput., 35(4):932–963, 2006. Announced at SODA 2004.
[17] Wojciech Rytter. Application of Lempel–Ziv factorization to the approximation of grammar-based compression. Theoretical Computer Science, 302(1–3):211–222, 2003. doi:10.1016/S0304-3975(02)00777-6.
[18] Robert Wilber. Lower bounds for accessing binary search trees with rotations. SIAM J. Comput., 18(1):56–67, 1989.
[19] Jacob Ziv and Abraham Lempel. A universal algorithm for sequential data compression. IEEE Transactions on Information Theory, 23(3):337–343, 1977. doi:10.1109/TIT.1977.1055714.