XSci

On the Adaptive Covering Complexity of Strings: A Phrase-Count Analysis of Relative and Self-Referential Parsing

Pierre-François Marteau

Submitted by Pierre-François Marteau

Published October 23, 2026 · Version v6, November 1, 2026 · DOI 10.66977/xsci.2610.002c

Theoretical Computer Science

Abstract

We study the adaptive covering complexity CSadapt(s)C_S^{\mathrm{adapt}}(s), the minimum number of contiguous factors needed to partition a string ss when each factor is either contained in one word of a fixed external dictionary SS or occurs entirely in the already decoded prefix. Thus, dictionary factors do not cross word boundaries, and self-references do not overlap the phrase being encoded. We prove the logarithmic bounds
1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s), 1+\lceil\log_2 C_S(s)\rceil \le C_S^{\mathrm{adapt}}(s) \le C_S(s),
which are tight and quantify the possible gain from self-reference over static covering. When S=∅S=\emptyset, the measure coincides with non-overlapping LZ77 phrase count. For a dictionary with any number of words, we establish a factor-two comparison with non-overlapping LZ77 on a delimiter-separated preset history. The upper constant is asymptotically optimal for a family whose alphabet size grows with the instance; sharpness over a fixed alphabet remains open. In contrast, comparison with a plainly concatenated history admits no constant bound independent of the number of dictionary words when the alphabet may grow. The comparison with overlapping LZ77 on a plainly concatenated history, which is closer to how preset dictionaries are supplied to deployed codecs, is proved only up to a factor (m+1)⌈log⁡2(n+1)⌉(m+1)\lceil\log_2(n+1)\rceil, where mm is the number of dictionary words; no equivalence with deployed codecs is claimed. These results quantify the cost of word segmentation and of the non-overlap convention relative to preset-history LZ77; they do not define a new complexity measure, and on the collections tested the measure and the conditional LZ77 count coincide numerically. We also record that longest-match greedy parsing is optimal (a corollary of known results on suffix-closed dynamic dictionaries) and give an O(M+n)O(M+n)-time and O(M+n)O(M+n)-space implementation for a constant-size alphabet, where MM is the total dictionary length and n=∣s∣n=|s|. A numerical check of the comparison bounds on four collections is reported in a dedicated section; on collections of short records (mean lengths 114114 to 287287 symbols) it finds that the decoded prefix lowers the static phrase count by a large factor only on a collection built from tandem repeats, and by at most 3%3\% on the other three; on one long repetitive text, with records of up to 4⋅1064\cdot10^6 symbols, the static count exceeds the adaptive one by a factor that grows with the record length (from 1.001.00 at 200200 symbols to 1.491.49) while the ratio to preset-history LZ77 stays at 1.0001.000; supplementary results concern phrase-count bounds, stationary-ergodic asymptotics and dictionary selection. We also show that the measure is the sequence length of a restricted class of collage systems, so that the contribution is a relative accounting inside an existing representation framework rather than a new representation. The paper studies phrase counts rather than bit-level compression cost.

View PDF

Review reports

Version v1

xPeerd (AI review)

October 23, 2026

AI Review (xPeerd — DAReview)

Summary

This manuscript, titled On the Adaptive Covering Complexity of Strings: Unifying Relative and Self-Referential Compression, introduces the adaptive covering complexity (C^{adapt}_S(s)), a combinatorial phrase-count measure that unifies fixed external-dictionary matching with non-overlapping self-referential parsing from the decoded prefix. The paper’s main strengths are its clear formal problem statement, a mathematically explicit scope distinction between phrase count and bit-cost compression, and a coherent theoretical program leading to an exact logarithmic law, structural relations to RLZ/LZ77-type parses, greedy optimality, and a linear-time implementation claim based on dual suffix automata. The abstract and introduction articulate the contribution with unusual care, especially in separating the combinatorial object from practical codec behavior

The main weaknesses are not obvious mathematical incoherence, but rather scope-management and evidentiary asymmetry: the core theoretical claims appear much stronger and cleaner than the empirical section, whose own text repeatedly narrows interpretability and admits that the codec is not a direct instantiation of the theoretical model. The paper is strongest as a theory paper; the practical compression evaluation is informative but comparatively fragile, limited in statistical depth, and potentially distracting relative to the central contribution

Potential Major Revisions

  1. Sharpen the manuscript’s contribution hierarchy and reduce residual overclaim risk between theory and codec evaluation.

The manuscript is commendably careful in places, but it still distributes attention across two different objects: a combinatorial phrase-count theory and a practical bit-cost codec. The paper itself states that “(C^{adapt}_S(s)) is a purely combinatorial phrase-count measure” and that practical systems optimize bit-level description cost under additional constraints It also states, in the experimental section, that “The codec uses a bit-cost-guided parser, may emit overlapping copies, and bounds its candidate set, so the phrase-count results of Sections III and IV do not apply to it verbatim” This is an important limitation, but it appears late relative to the prominence of the empirical illustration.

I think the paper would benefit from a stronger editorial restructuring that places the theoretical contribution unmistakably at the center and reframes the codec as a secondary case study. As written, the abstract promises that the analytical results “are complemented by counting bounds, stationary-ergodic asymptotic invariance, a dictionary-selection NP-hardness result, and a concise empirical illustration” Yet the manuscript later concedes that parts of the appendix and even Section V “can be removed... without affecting the main theorems” That admission is honest, but it also suggests that the current composition may be trying to carry more contribution types than are necessary for a persuasive theory paper.

A major revision should therefore clarify, in the title framing, abstract, and introduction, that the principal novelty is the hybrid admissibility rule and its exact phrase-count consequences, while the codec results are only an illustrative downstream engineering instantiation with different admissibility and optimization behavior. This will reduce the risk that readers interpret practical compression outcomes as empirical confirmation of the theorems.

  1. Strengthen the novelty positioning relative to existing LZ/RLZ theory.

The paper is cautious about novelty claims, which is good. For example, it explicitly says: “The contribution is the analysis of one explicit hybrid admissibility rule, rather than the first use of preset dictionaries, the first greedy LZ parse, or the first suffix-automaton index” It also notes that “We therefore do not claim a new general principle of greedy parsing” and instead present a self-contained proof for the specific hybrid rule

However, because the paper is operating in a mature area with many adjacent results, the novelty case should be made even more explicitly and perhaps more formally. In particular, the introduction asks: “How does this combinatorial complexity relate to classical Relative Lempel–Ziv, non-overlapping LZ77, and preset-history LZ77 parsing?” and later claims structural equivalence and sandwich bounds. This is potentially significant, but the manuscript would be stronger if it included a compact comparative proposition table early in the main text mapping exactly what is known in the neighboring models versus what is new here. The summary table exists later, but it is dense and appears too late to carry the novelty argument efficiently

Without such an early comparative synthesis, some readers may judge the work as an elegant repackaging of known LZ phenomena rather than a distinct theoretical contribution. The current text is probably sufficient for specialist readers, but for rigorous peer review, novelty should not depend on readers inferring the delta from scattered caveats.

  1. Reconcile the strong theorem-centered presentation with the comparatively modest and statistically thin empirical evidence.

The empirical section repeatedly qualifies its own conclusions. The manuscript states that the experiments “do not establish state-of-the-art performance or a bit-cost consequence of the logarithmic law” It also reports only “means over three independent draws; small differences should consequently be treated cautiously” and later acknowledges under “Threats to Validity and Limitations” that “no confidence intervals are reported” and that “differences of a few percent... should not be over-interpreted”

These are appropriate caveats, but they expose a mismatch: the theorem sections are exact and ambitious, while the experiments are limited in replication, synthetic in part, and not directly aligned with the theoretical object. The result is not fraud-like incoherence, but a presentation imbalance. If the paper wants to keep the empirical component in the main story, it should either:

  • expand the experimental design substantially, including confidence intervals or nonparametric uncertainty summaries, more real-world corpora, and clearer ablation significance; or
  • compress the empirical claims further and move more of the engineering evaluation to an appendix or companion paper.

The phrase “The codec substantially outperforms independent Brotli-11 compression on all four corpora” is true within the reported setting , but it is immediately tempered by “Against tuned dictionary compressors, the picture is more qualified” and later by “The codec is therefore not best-in-class” The manuscript should ensure that readers do not come away with an inflated practical-compression narrative relative to the data actually shown.

  1. Clarify the exact modeling consequences of the non-overlapping convention and word-segmented dictionary assumption.

A central modeling decision is that references must be “entirely contained in material already available to the decoder; overlapping/self-extending copies are not part of the model” The paper also stresses that dictionary factors cannot cross word boundaries because “(S) is a set of dictionary words and Fact(S) is the union of factors contained in individual words” and that this is “narrower than treating a concatenation of references as one reference string”

These are legitimate choices, but they are also highly consequential. They govern both the exact logarithmic law and the relation to RLZ/preset-history models. I think the paper needs a dedicated discussion in the main body—not only remarks dispersed across sections—on why these choices are the right abstraction, what phenomena they exclude, and which theorems likely fail or change under overlapping-copy or concatenated-reference formulations. Since practical codecs often do permit overlap and effectively concatenate context, the abstraction may otherwise be seen as mathematically convenient but operationally selective.

This is especially important because the empirical codec later permits overlapping copies , producing a disconnect between the clean formalism and the implementation narrative. A major revision should state more bluntly whether the chosen abstraction is intended as a foundational minimal model, a deliberately conservative variant, or an approximation to actual preset-dictionary compressors.

  1. Expand reproducibility details around the algorithmic implementation assumptions.

The manuscript claims “a dual suffix-automaton implementation running in (O(M+n)) time and space for a constant alphabet” and later explains the amortized query/extension logic in more detail This is promising, and the asymptotic reasoning seems internally coherent from the extracted text. However, for a paper with both theoretical and implementation aspirations, the implementation assumptions should be stated more operationally and perhaps summarized in theorem-adjacent prose. For example, the dependence on constant alphabet versus ordered alphabet with balanced-search-tree transitions appears later and may be overlooked by readers who focus only on theorem statements

I recommend making explicit, near the theorem statement, what data structure invariants, alphabet assumptions, and online update semantics are required. That will improve reproducibility and reduce ambiguity about how “plain read” longest-match queries are realized in practice

  1. Tighten the treatment of appendix-level claims that are highlighted in the abstract.

The manuscript states in the appendix preamble that “Nothing in Sections III and IV depends on this appendix” and that the appendix material “can therefore be removed if needed” Yet the abstract prominently includes “counting bounds, stationary-ergodic asymptotic invariance, a dictionary-selection NP-hardness result, and a concise empirical illustration” as complements to the main results

This creates a rhetorical tension. If these are nonessential complements, they should not be weighted in the abstract in a way that suggests equal standing with the core theorems. Alternatively, if the author wants them to matter substantively, they should be integrated more tightly into the main argument. As it stands, the paper risks seeming overextended: too many side-results are advertised, but the manuscript itself says they are optional. This is not a validity flaw, but it is a compositional one that should be revised.

  1. Anti-fraud / coherence assessment.

I do not see strong paper-mill or fabrication signals in the excerpted manuscript. On the contrary, several features argue for good-faith scholarship: repeated self-limitation of claims, explicit acknowledgment of where the empirical codec differs from the formal model, detailed caveats about accounting and statistical uncertainty, and public code/data availability in the acknowledgment/conclusion region The paper also includes an explicit generative-AI use disclosure: “the author used generative-AI tools... to assist with manuscript formatting, refinement of mathematical descriptions, and code implementation” while retaining responsibility for the contents

That said, the AI disclosure raises a review-relevant need for extra scrutiny of proof precision, notation consistency, and literature positioning, because LLM-assisted mathematical exposition can sometimes overstate novelty or smooth over edge conditions. I therefore recommend careful manual verification of theorem statements and proof dependencies in the final revision, but I do not find obvious evidence here of fabricated science.

Potential Minor Revisions

  1. Typographic and copyediting issues.

The extracted text shows multiple OCR/PDF text-layer artifacts such as broken ligatures, encoding issues, and inserted control-like characters. Examples include “self-referential com￾pression” in the title area , “grow￾ing internal memory” in the introduction , “string￾algorithms literature” and “source￾asymptotic” in related-work passages , “em￾pirical” in the conclusion/experimental transition , “inde￾pendently” and “like-for￾like” in the experimental summary , and “dictio￾nary” / “can￾didate” in later sections

These may partly reflect PDF extraction rather than the source file, but they should still be checked in the manuscript source because such artifacts are often visible in generated PDFs if Unicode/LaTeX handling is imperfect. At minimum, the author should inspect all discretionary hyphenation, ligatures, and special characters in section titles, theorem statements, and formulas.

  1. Formatting and presentation refinements.

The manuscript is mathematically dense and would benefit from several presentation improvements:

  • Introduce a notation box early for (C_S(s)), (C^{adapt}S(s)), (G_S(s)), (z{no}(s)), (M), (\sigma), and the factor operators. Definitions are precise but spread out
  • Move or duplicate a simplified property table from the later summary into the introduction or end of related work, because the current comparative burden on readers is high
  • Add a small worked example of adaptive covering and of where adaptive and static coverings diverge. The theory would become more accessible without diluting rigor.
  • Visually separate theorem-level claims from codec-level engineering claims; currently the paper’s architecture is coherent, but the transition into practical evaluation is abrupt.
  1. Local wording improvements for precision.

Some claims could be edited for rhetorical restraint even though the manuscript is generally careful. For example, the abstract says the measure “provides a clean theoretical bridge” and the conclusion says adaptive covering “serves as a clean combinatorial abstraction” These formulations are plausible, but because “clean” is evaluative, it would be better to specify exactly what bridge/abstraction means in formal terms: e.g., coincidence with one phrase-count model under empty dictionary, factor-2 sandwich for preset-history LZ77, etc. That would make the style slightly more technical and less promotional.

  1. AI content analysis for this post-2021 manuscript.

Estimated percentage of AI-generated content: low-to-moderate likelihood of AI-assisted wording in localized prose, but not strong evidence of predominantly AI-generated scientific content. My rough estimate is 15–30% AI-assisted or AI-influenced phrasing at the sentence-polishing level, not at the level of core scientific substance.

Basis for this estimate:

  • The manuscript contains an explicit disclosure that “the author used generative-AI tools... to assist with manuscript formatting, refinement of mathematical descriptions, and code implementation”
  • The prose is unusually polished, repetitive in claim-calibration, and formulaically careful in places, which is consistent with assisted editing.
  • However, the manuscript also shows domain-specific technical integration, deliberate caveats, theorem structuring, and self-imposed limitations that do not read like generic AI filler. The text is too internally cross-referenced and too precise in its caveats to suggest fully automated drafting.

Highlighted AI-detected or AI-susceptible sections:

  • Abstract and contribution framing on page 1, especially the highly compressed novelty packaging and polished transition phrases such as “provides a clean theoretical bridge”
  • Introduction passages distinguishing combinatorial phrase count from practical bit-cost compression on pages 2–3, which are stylistically smooth and disclaimer-heavy
  • Conclusion language on page 23–24, where contribution restatement is broad, elegant, and templated in cadence

Assessed epistemic impact:

  • Low if limited to phrasing, formatting, and exposition.
  • Moderate if proof wording, theorem scope, or implementation claims were also AI-assisted without full manual verification.
  • In this manuscript, the explicit disclosure and the technical specificity mitigate concern, but the author should carefully verify every theorem statement, edge condition, and literature-difference claim.

Recommendations

  1. Reposition the paper unapologetically as a theory-first contribution. Reduce the rhetorical weight of the codec if it is not a faithful embodiment of the formal model.

  2. Add an early “what is new relative to RLZ/LZ77” synthesis, preferably as a compact comparison table or bullet map in the introduction.

  3. Either strengthen the experiments materially or shorten them. If retained, add uncertainty quantification and more explicit interpretation limits.

  4. Add a focused subsection on modeling choices: non-overlap, factor contiguity, word-segmented dictionary semantics, and what changes under alternate admissibility regimes.

  5. Surface implementation assumptions next to the algorithmic theorem, rather than leaving them distributed across later prose.

  6. Demote appendix-only auxiliary results in the abstract unless they are essential to the paper’s identity.

  7. Perform a full typographic audit of the PDF/source for encoding artifacts, ligature breaks, and hyphenation problems.

Overall, I judge the manuscript to be intellectually coherent and potentially publishable as a theory-oriented contribution, but it would benefit from major revision to better align its structure, novelty narrative, and empirical evidence with its strongest core results.

Reviewer3 (AI review)

October 23, 2026

AI Review (reviewer3.com)

Comments (9)

1. Dictionary pruning sign reversed in Table I — Editorial

Provides formal local adaptation gains ∆ j = L P ( p j ) − L S ( p j ) along the parse, yielding ex- plicit criteria for dictionary pruning ( ∆ j ≥ 0 ) and candidate promotion ( ∆ j

In Table I (page 18), under the row "Dictionary Maintenance & Diagnostic Criteria", the text states that local adaptation gains Δj=LP(pj)−LS(pj)\Delta_j = L_P(p_j) - L_S(p_j) yield "explicit criteria for dictionary pruning (Δj≥0\Delta_j \ge 0) and candidate promotion (Δj>0\Delta_j > 0) (Def. A.6, Prop. A.7)." However, by Definition A.6 (page 25), Δj=LP(pj)−LS(pj)\Delta_j = L_P(p_j) - L_S(p_j), so Δj>0\Delta_j > 0 means the decoded prefix match LPL_P is strictly longer than the static dictionary match LSL_S (which Remark A.9 notes "compensates for missing dictionary entries", justifying candidate promotion), whereas the static dictionary dominates or ties when Δj≤0\Delta_j \le 0. Proposition A.7(i) and Table VI (page 45) both use the condition Δj≤0\Delta_j \le 0 (not Δj≥0\Delta_j \ge 0). Furthermore, having Δj≥0\Delta_j \ge 0 for pruning and Δj>0\Delta_j > 0 for promotion makes the two conditions almost identical rather than complementary.

2. Positive Delta for a larger baseline in Table VIII — Major

Brotli-11, primed (sampled dict.) 3 482 1 000 3 841 567 8 323 +277.3

In the caption of Table VIII (page 47) and in Section L (page 36), the relative gain is defined as Δ=1−codec/method\Delta = 1 - \text{codec}/\text{method}, where "A positive Δ\Delta means that the codec is smaller than the method by Δ%\Delta\% of the method's size; a negative Δ\Delta means that the method is smaller than the codec." In Table VIII (continued on page 48), for the row "Brotli-11, primed (sampled dict.)", the total size is 8 323 B8\,323\text{ B}, which is smaller than the reference Codec's 17 566 B17\,566\text{ B}. By the formula (and consistent with Table VII where 7 966 B7\,966\text{ B} vs. 10 847 B10\,847\text{ B} gives −37.5%-37.5\%, and Table X where 37 954 B37\,954\text{ B} vs. 68 063 B68\,063\text{ B} gives −152.7%-152.7\%), Δ\Delta should be negative (around −111%-111\%), or at minimum have a minus sign if it exceeded −100%-100\% on individual draws; instead it is printed with a plus sign as +277.3%+277.3\%, which is mathematically impossible for 1−codec/method1 - \text{codec}/\text{method} when both sizes are positive.

3. Broken cross-references to Appendix C in main text — Editorial

do not validate the theoretical theorems. The full protocol, corpus descriptions, ablations, amortization analysis, and detailed tables appear in Appendix C.

In Section I (page 3) and multiple times in Section V (pages 21–22), the prose refers to "Appendix C" as containing the empirical evaluation, full protocol, corpus descriptions, MDL dictionary selection, and ablations (e.g., "The full protocol, corpus descriptions, ablations, amortization analysis, and detailed tables appear in Appendix C"). However, the Appendix (starting on page 24) uses a single alphabetical subsection sequence from A through Q: subsection C (page 26) is "Asymptotics for Stationary Ergodic Sources", while the codec description, MDL selection, and experimental evaluation actually appear in Appendix subsections D through Q (pages 29–50).

4. Repetition bound tightness overstated in Table I — Major

Satisfies a strict, universal logarithmic repetition

In Table I (page 18), under "Periodic & Repetitive Structures", the text claims that the repetition bound CSadapt(wn)≤CSadapt(w)+⌈log⁡2n⌉C_S^{\text{adapt}}(w^n) \le C_S^{\text{adapt}}(w) + \lceil \log_2 n \rceil is "tight for any dictionary SS (Prop. III.16)." This contradicts Proposition III.16 (page 10), which only establishes tightness for the empty dictionary S=∅S = \emptyset (specifically, C∅adapt(an)=1+⌈log⁡2n⌉C_\emptyset^{\text{adapt}}(a^n) = 1 + \lceil \log_2 n \rceil). In fact, the bound cannot be tight for every dictionary SS and every nn: if wn∈Fact(S)w^n \in \text{Fact}(S) (for instance, S={wn}S = \{w^n\} with n≥2n \ge 2), Proposition III.6 gives CSadapt(wn)=1C_S^{\text{adapt}}(w^n) = 1 and CSadapt(w)=1C_S^{\text{adapt}}(w) = 1, which is strictly less than 1+⌈log⁡2n⌉1 + \lceil \log_2 n \rceil.

5. Proof of Proposition IV.8 misstates prefix length — Editorial

). At step m ≥ 1 , the already decoded prefix contains at least d + P m − 1 r =1 2 r − 1 d = 2 m − 1 d copies of u , so the next block of length 2 m − 1 d is fully contained in the available prefix and is therefore admissible.

In the proof of Proposition IV.8 (page 15), when covering an overlapping copy pkp_k using blocks q1,q2,…,qjq_1, q_2, \dots, q_j of lengths d,2d,4d,…,2j−1dd, 2d, 4d, \dots, 2^{j-1}d, the prose states: "At step m≥1m \ge 1, the already decoded prefix contains at least d+∑r=1m−12r−1d=2m−1dd + \sum_{r=1}^{m-1} 2^{r-1}d = 2^{m-1}d copies of uu, so the next block of length 2m−1d2^{m-1}d is fully contained in the available prefix". Here, dd is the length of a single copy of uu (u=s[i−d..i−1]u = s[i-d..i-1]), so d+∑r=1m−12r−1d=2m−1dd + \sum_{r=1}^{m-1} 2^{r-1}d = 2^{m-1}d is the total symbol length of the suffix of the decoded prefix consisting of 2m−12^{m-1} copies of uu, not "2m−1d2^{m-1}d copies of uu" (which would have length 2m−1d22^{m-1}d^2).

6. Single-symbol strings in Theorem A.17 reduction — Editorial

Further, by the definition of adaptive covering, C adapt S ( s i ) = 1 if and only if s i is a substring of some dictionary word in S : with a single phrase, no nonempty decoded prefix is available for self-reference.

In the proof of Theorem A.17, the equivalence stating that C_S^{adapt}(s_i) = 1 if and only if s_i is a substring of some dictionary word in S does not hold when |s_i| = 1. According to the definition in Section III-A, Fact(S) = (\bigcup_{x \in S} Fact(x)) \cup \Sigma, and by Proposition III.6, C_S^{adapt}(s_i) = 1 is equivalent to s_i \in Fact(S). Consequently, any single-symbol string s_i \in \Sigma automatically has C_S^{adapt}(s_i) = 1 as an admissible literal, even when s_i does not appear in any word of S. For instance, if D = {a, b} and B = 1, the dictionary S = {a} (with total length 1 \le B) yields C_S^{adapt}(a) + C_S^{adapt}(b) = 1 + 1 = 2 = K, even though {a, b} has no common superstring of length at most 1. Requiring all input strings in the reduction to have length at least 2 (|s_i| \ge 2, for which Shortest Common Superstring remains NP-hard) resolves this edge case.

7. Alphabet-size initialization overhead omitted when M + n < sigma — Major

A suffix automaton of a string of length m contains at most 2 m − 1 states and O ( m ) transitions. Hence constructing I S costs O ( M ) time and O ( M ) space for a constant alphabet. With balanced

Theorem IV.12 states that for a constant alphabet, Algorithm 1 runs in O(M + n) time and space, and for an ordered alphabet of size sigma >= 2 with balanced search-tree transitions, in O((M + n) log sigma) time and O(M + n) space. In the proof, the construction of the static suffix automaton I_S over w_1#w_2#...#w_m is claimed to take O(M) time and space because a suffix automaton of a string of length m has at most 2m - 1 states and O(m) transitions. However, the concatenated string w_1#w_2#...#w_m has length M + m - 1, where m = |S| is the number of words in S. If S contains empty words (which is permitted since S subset Sigma^*), m can be arbitrarily larger than M; even if S subset Sigma^+, when M = 0 (i.e., S = emptyset), building I_S and I_P requires O(1) states, which is fine, but if S contains empty strings then M + m - 1 is not O(M). The author should either assume S subset Sigma^+ (all dictionary words are non-empty, so m <= M) or state the bound in terms of M + |S|.

8. Incorrect definition of L_P(i) vs Wyner-Ziv recurrence time — Minor

if there is none). We use one classical fact, which holds almost surely: (F) L P ( i ) / log σ i → 1 /h ( X ) (Wyner–Ziv; Ornstein–Weiss) [24], [16]. For the

In Appendix C, the author defines L_P(i) as the length of the longest prefix of X[i..infinity) that occurs in X[1..i-1] (i.e., the non-overlapping previous match length where the match must end at or before i-1) and cites Wyner-Ziv [24] and Ornstein-Weiss [16] for the almost-sure convergence (F): L_P(i) / log_sigma i -> 1/h(X) as i -> infinity. However, in Lemma A.10 and Theorem A.12, the author applies (F) simultaneously to all positions i >= p_0 (requiring a finite random index n_0 such that L_P^X(i) > lambda_S for all i > n_0, and in Lemma A.10 assuming L_P(i)/log_sigma i -> a as i -> infinity along the single realization x). While Ornstein and Weiss [16] prove almost-sure convergence of the normalized phrase count of the sequential LZ parse, the pointwise limit lim_{i -> infinity} L_P(i) / log_sigma i = 1/h(X) along all positions i >= 1 of a single realization x does not hold in general for ergodic processes (for instance, for an i.i.d. fair coin process, lim inf_{i -> infinity} L_P(i) / log_2 i and lim sup_{i -> infinity} L_P(i) / log_2 i differ almost surely because of exceptional positions i where the longest match in X[1..i-1] is unusually short or long, whereas Wyner-Ziv [24] proves convergence in probability at a fixed position or almost-sure convergence for fixed-origin waiting times). Because Lemma A.10 and Theorem A.12 rely on the deterministic pointwise hypothesis lim_{i -> infinity} L_P(i)/log_sigma i = 1/h(X) holding uniformly for all large i on a full-measure set of realizations, the proof of Theorem A.12 has a gap. To fix this, the author should appeal directly to the Ornstein-Weiss theorem for the parse phrases (or bound the count of atypical positions i where L_P(i) <= lambda_S using the Borel-Cantelli lemma, since sum_i P(L_P(i) <= lambda_S) < infinity for positive-entropy ergodic processes or rapidly mixing sources, or note that any fixed word w of length <= lambda_S that has positive probability eventually appears in X[1..n_0] almost surely so Fact(X[1..n_0]) contains all dictionary factors that ever appear in X after n_0).

9. Unconstrained w allows C_S(w^n) < n in Remark III.18 — Major

. Choose w ∈ Σ ∗ , let S = { w } , and set s = w n . Then

In Remark III.18, the author asserts that for any non-empty word w in Sigma^, setting S = {w} and s = w^n yields C_S(s) = n and attains the lower bound of Theorem III.17. However, this holds only when w is non-empty and cannot be covered in fewer than n blocks from Fact({w}) across word boundaries (for example, when w is a single letter a, or more generally when no non-empty prefix of w is a suffix of w that allows a factor of w to span across the boundary of two concatenated copies of w; even simpler, if w = ε, w^n = ε). More importantly, if S = {w}, every factor of w has length at most |w|, so since |w^n| = n|w|, any covering of w^n by factors of length at most |w| indeed requires at least ceil(n|w|/|w|) = n blocks provided |w| >= 1, whereas for w = ε (which belongs to Sigma^) C_S(w^n) = 0. The author should specify w in Sigma^+ (non-empty word) in Remark III.18 so that |w| >= 1 and C_{w}(w^n) = n holds unconditionally.

XSci (AI review)

October 23, 2026

Summary

The manuscript introduces the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s): the minimum number of contiguous blocks partitioning ss when each block is a factor of a word of a fixed external dictionary SS or a factor of the already decoded prefix, with self-copies required to lie wholly in decoded material. The main theorem is the two-sided law 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil \le C_S^{\text{adapt}}(s) \le C_S(s) (Theorem III.17), with a repetition bound CSadapt(wn)≤CSadapt(w)+⌈log⁡2n⌉C_S^{\text{adapt}}(w^n) \le C_S^{\text{adapt}}(w)+\lceil\log_2 n\rceil (Proposition III.16). The authors then identify C∅adaptC_\emptyset^{\text{adapt}} with non-overlapping LZ77 (Proposition IV.5), sandwich C{R}adaptC_{\{R\}}^{\text{adapt}} with preset-history LZ77 within a factor of 2 (Theorem IV.10), prove greedy optimality by an exchange lemma (Theorem IV.2) and give an O(M+n)O(M+n) dual-suffix-automaton parser (Theorem IV.12). Appendices add a counting bound, an ergodic invariance result, an NP-hardness reduction for dictionary selection, and an evaluation of a bit-cost codec on four short-record corpora.

Contribution and Significance

The contribution is a clean formalisation of one hybrid admissibility rule and an exact quantification of what the growing prefix buys over the static dictionary. Theorem III.17 is correct and both ends are attained: Remark III.18 gives C{w}adapt(wn)=1+⌈log⁡2n⌉C_{\{w\}}^{\text{adapt}}(w^n)=1+\lceil\log_2 n\rceil and s∈Fact(S)s\in\mathrm{Fact}(S) gives the upper end. The accompanying algorithmic result is complete rather than gestured at: Algorithm 1 and the amortisation ℓS+ℓP+1≤3ℓ\ell_S+\ell_P+1\le 3\ell in the proof of Theorem IV.12 give a genuinely implementable linear-time parser.

What is new relative to the closest prior work is narrower than the framing suggests, and the authors are partly candid about it. Greedy phrase-count optimality is disclaimed (Remark IV.3, citing [11], [12], [13]), the logarithmic gap to overlapping LZ77 is conceded to be a weaker form of Kosolobov and Shur [15] (Remark IV.9), and the suffix automaton is standard [17], [18]. For S=∅S=\emptyset the lower bound of Theorem III.17 is the textbook doubling bound the manuscript itself quotes; the generalisation to an arbitrary dictionary is a short argument through Lemma III.8 and Proposition III.10. Remark IV.11 states plainly that the measure "is a combinatorial abstraction of the preset-dictionary mechanism rather than a new parsing model". What is genuinely new is Theorem III.17, the contextual chain rule (Proposition III.14) and the factor-2 sandwich: a real but modest advance, which the manuscript does not position where readers would look for it (Major Concern 1).

Strengths

  • Theorem III.17 is a correct two-sided law with both ends attained (Remark III.18, Corollary III.19), and the proof via cj+1≤2cjc_{j+1}\le 2c_j is short and exact.
  • Proposition III.14 is careful modelling: the contextual measure CSadapt(s2∣s1)C_S^{\text{adapt}}(s_2\mid s_1) is genuinely needed, and Remark III.15 explains why CS∪{s1}adaptC_{S\cup\{s_1\}}^{\text{adapt}} cannot replace it.
  • The counterexamples are real and check out on inspection: Remark III.9 (C∅adapt(aabbaaaab)=6C_\emptyset^{\text{adapt}}(aabbaaaab)=6 against 77 for its factor abbaaaababbaaaab), Remark IV.7(i), and Proposition A.7(ii).
  • The scoping is unusually honest for this kind of paper: Section V states that the codec "does not instantiate the phrase-count model exactly", Appendix Q lists the 3-draw limitation, and Finding 6 concludes "The codec is therefore not best-in-class".
  • The empirical accounting is conservative and documented: every method is charged for its dictionary at raw size (Section L), break-even record counts are given (Table V), and losses are reported alongside wins (Table X, where the order-2 control is 25.9% smaller).

Recommendation

Major Revision for Theoretical Computer Science. The theory I was able to check is correct and the algorithmic result is complete, so this is not a soundness rejection. But the manuscript does not establish that the new measure adds anything to the existing landscape of string complexity measures, the claimed structural separation from preset-history LZ77 is proved only for a single-word dictionary, and one stated theorem has an invalid proof as written. These are addressable within the manuscript's own approach, but they require substantial new work.

Major Concerns

  1. The measure is not positioned against the repetitiveness-measures literature (Section II; reference list). The entire contribution is a new string complexity measure and its relations to other measures, yet the manuscript makes no contact with the framework in which such relations are now studied. Absent from the reference list are T. Kociumaka, G. Navarro and N. Prezza, "Toward a Definitive Compressibility Measure for Repetitive Sequences," IEEE Transactions on Information Theory, vol. 69, no. 4, pp. 2074–2092, 2023, and G. Navarro, "Indexing Highly Repetitive String Collections, Part I: Repetitiveness Measures," ACM Computing Surveys, vol. 54, no. 2, article 29, 2021, which establish the hierarchy relating δ\delta, γ\gamma, bb, zz and gg and the techniques for separating such measures. Also absent is the closest hybrid of relative and self-referential parsing with phrase-count bounds: ReLZ, in D. Kosolobov, D. Valenzuela, G. Navarro and S. J. Puglisi, "Lempel–Ziv-like parsing in small space," Algorithmica, vol. 82, 2020. The revision should locate CSadaptC_S^{\text{adapt}} relative to zz, znoz_{\text{no}}, δ\delta, γ\gamma and gg, and say what ReLZ does not already capture.

  2. The structural separation from preset-history LZ77 is proved only for ∣S∣=1|S|=1, and Table I overstates what is proved. Theorem IV.10 is stated for a single reference RR, where it shows a factor-2 equivalence; Section VI lists "extending the sandwich theorems to multi-word dictionaries" as future work. But the word-segmented, multi-word dictionary is exactly the modelling distinction Section II argues for ("A factor that crosses the boundary between two reference words is therefore not automatically admissible"). The one case analysed is thus the one where the measure is provably a constant-factor restatement of an existing model, and the advertised case is unanalysed.

    Table I fills the gap with claims the body does not support. It asserts that the repetition bound is "tight for any dictionary SS", whereas tightness is shown only for S=∅S=\emptyset, w=aw=a (Proposition III.16) and S={w}S=\{w\}, s=wns=w^n (Remark III.18). It asserts that preset-history LZ77 "lacks a formal algebraic operator for conditional phrase complexity", yet Proposition III.14 with S=∅S=\emptyset is precisely a chain rule for znoz_{\text{no}}, as the second display of Theorem IV.10 shows. It presents boundary-crossing matches as an LZ77 defect ("inadvertently creating artificial admissible factors") when they strictly enlarge the admissible set and can only lower the phrase count, as Remark IV.7(i) demonstrates; and it presents the logarithmic repetition bound as an advantage while its own last row concedes that LZ77 covers ana^n in 2 phrases. Relatedly, the abstract's "exact preset-history LZ77 sandwich bounds" and Contribution 3's "up to an exact factor of 2" contradict Remark IV.11 ("We do not know whether the factor 2 is attained"). Resolving this needs a multi-word sandwich or a proven separation, plus a neutral rewrite of Table I and the abstract.

  3. The NP-hardness reduction is invalid as stated (Theorem A.17). The proof rests on the claim that "CSadapt(si)=1C_S^{\text{adapt}}(s_i) = 1 if and only if sis_i is a substring of some dictionary word in SS". The "only if" direction fails under the manuscript's own convention: Section III-A defines Fact(X)=(⋃xFact(x))∪Σ\mathrm{Fact}(X)=\bigl(\bigcup_x \mathrm{Fact}(x)\bigr)\cup\Sigma and states "Thus literals are always admissible", so CSadapt(si)=1C_S^{\text{adapt}}(s_i)=1 for every single-character sis_i and every SS, including S=∅S=\emptyset. The reduction therefore breaks on Shortest Common Superstring instances containing single-character strings, where S=∅S=\emptyset with total length 0≤B0\le B makes Opt-Adapt-Dict a yes-instance regardless of the superstring question; the theorem's explicit scope ("all corpus strings are nonempty") admits exactly those instances. The fix is short — restrict to ∣si∣≥2|s_i|\ge 2 and invoke the length-3 binary hardness of [26] — but the statement and proof must be corrected, since the result is advertised in the abstract and in Contribution 5.

Minor Comments

  1. In Remark III.15 the displayed cover "a | abb | aabb | b" spells nine symbols while s1s2=aabbaabbs_1s_2=aabbaabb has eight, and with s2=bbaabbs_2=bbaabb the values are 3 and 3, not 4 and 4; the example is consistent if s2=bbaabbbs_2=bbaabbb.
  2. The derivation at the end of the proof of Theorem IV.10 has a dangling "Therefore" followed by "and" with a displayed inequality missing.
  3. No experiment measures CSadaptC_S^{\text{adapt}} itself, although Algorithm 1 makes CSC_S, CSadaptC_S^{\text{adapt}} and znoz_{\text{no}} cheap to compute; a table of these three counts on the four corpora would illustrate Theorem III.17 and Proposition III.16 at almost no cost.
  4. Section V and Appendices C–Q are roughly half the manuscript and, by the authors' own statement, neither instantiate the model nor validate the theorems; I would remove them and develop the codec separately.
  5. Every empirical figure is a mean over three draws with no confidence intervals (Appendix Q), yet differences of 0.0–0.6% carry conclusions about ties and about the pruning modes.
  6. Two of the four corpora are the authors' own generators whose tandem repeats and near-identical templates are exactly the structure the method exploits (Appendix L).
  7. The conclusion states "O(M+n)O(M+n) time and space using dual suffix automata" without the constant-alphabet qualification that the abstract, Contribution 4 and Theorem IV.12 all carry.
  8. Remark IV.13 mentions an offline longest-previous-non-overlapping-factor alternative without a citation; the standard reference is M. Crochemore and G. Tischler, "Computing longest previous non-overlapping factors," Information Processing Letters, vol. 111, no. 6, pp. 291–295, 2011.
  9. In the proof of Proposition IV.8, "the already decoded prefix contains at least d+∑r=1m−12r−1d=2m−1dd+\sum_{r=1}^{m-1}2^{r-1}d = 2^{m-1}d copies of uu" conflates a symbol count with a copy count.

Author response

We thank the XSci AI for its report. All three major concerns led to a change in the manuscript. Below we answer every point. In the revised manuscript, added text is shown in blue and removed text is struck through. Section, theorem and table numbers refer to the revised version.
Major concerns
1. Positioning against the repetitiveness-measures literature
We added the missing references (Navarro, ACM Comput. Surv. 2021; Kociumaka–Navarro–
Prezza, IEEE Trans. Inf. Theory 2023; Kosolobov–Valenzuela–Navarro–Puglisi, Algorithmica
2020) and two new paragraphs in Section II.
• Repetitiveness measures.
– For S = ∅, C∅adapt = zno , the phrase count of LZ77 without self-overlapping copies.
– Every non-overlapping parse is an LZ77 parse, so z ≤ zno . The count zno is a lower bound
on the size of any grammar (Rytter; Charikar et al.). Hence δ ≤ γ ≤ b ≤ z ≤ C∅adapt =
zno ≤ g.
– The ratio zno /z is at most logarithmic in the worst case, which is the Kosolobov–Shur
result already discussed in Proposition IV.7.
– For S ̸= ∅ the measure is relative. It equals 1 whenever s ∈ Fact(S), however repetitive
s is, so it is not bounded below by δ, γ, b or z of s. The appropriate comparison is with
conditional versions of these measures, which Theorem IV.10 provides for zno .
– We state explicitly that we claim no new separation inside the hierarchy.
• ReLZ.
– ReLZ runs RLZ against a reference sampled from the text, treats the resulting phrases as
meta-symbols, and runs LZ77 on that shorter sequence. It is an algorithm that computes
one particular parse cheaply.
– Its published guarantees are an empirical-entropy bound of the form nHk + o(n log σ) and
a lower bound showing that its phrase count can exceed z by a factor Ω(log n). We did
not find a phrase-count upper bound in that paper.
– CSadapt is instead a minimum over all parses in which each block may draw, at its own
position, on the external dictionary and on the decoded prefix. This is what allows the
exact comparison with CS (Theorem III.17), the multi-word analysis (Theorem IV.10)
and the optimality of the greedy parse (Theorem IV.2). To our knowledge, a law of this
type is not available for ReLZ, whose phrase count is not a minimum over a family of
parses.
1• The introduction now states that the new elements are the two-source admissibility rule, its
logarithmic law and the multi-word sandwich, and that the relations among δ, γ, b, z, zno and
g are known.
2. Separation from preset-history LZ77, and Table I
The reviewer is right on all counts. We now prove the multi-word case, remove the claims the
body did not support, and make the claims consistent.
Multi-word sandwich (Theorem IV.10).
• For a dictionary S = {w1 , . . . , wm } with any number of words, let R# = w1 #w2 # · · · #wm
with # ∈
/ Σ. Then
C∅adapt (s | R# ) ≤ CSadapt (s) ≤ 2 C∅adapt (s | R# ) − 1.
• Blocks of s contain no #, so the usable part of R# is exactly the set of factors of single words.
A block straddling the boundary between R# and s splits into a suffix of the last word and a
factor of the decoded prefix, so it costs at most two adaptive blocks.
• The first block cannot straddle the boundary, which gives the “−1”.
• The second displayed inequality, in terms of zno (R# s) − zno (R# ), is derived from the chain
rule as before.
Sharpness of the constant (new Proposition IV.11).
• For every k there are a word R over k letters and a string s such that C∅adapt (s | R) = k and
adapt
C{R}
(s) = 2k − 1. The constant 2 cannot be replaced by a smaller one, although the ratio
(2k − 1)/k never reaches 2.
• This answers the statement in Remark IV.11 that we did not know whether the factor 2 is
attained. The sharpness family uses k letters, and we list the exact ratio over a fixed alphabet
as an open problem.
Plain concatenation (new Proposition IV.12).
• For the concatenated history Rcat = wπ(1) · · · wπ(m) in any order, with k = C∅adapt (s | Rcat ),
we have k ≤ CSadapt (s) ≤ (m + 1)k − 1.
• No bound independent of m holds. For S made of m distinct letters and s = Rcat , one has
k = 1 and CSadapt (s) = m.
• A plain concatenation therefore only lowers the phrase count relative to the word-segmented
model, as the reviewer notes. Remark IV.11 and the related-work discussion now say so, and
boundary-crossing matches are no longer presented as a defect of LZ77.
• What the word-segmented model offers is a quantity that does not depend on the order of the
words. The effect of adding or removing a word is then well defined, and the two sources can
be compared exactly (Theorem III.17).
2Table I and surrounding claims.
• We rewrote Table I so that every entry is proved in the cited result, and the text above it
states that the table makes no claim of superiority.
• The repetition bound is described as attained for S = ∅, w = a and for S = {w}, s = wn
(Proposition III.16, Remark III.18). It is no longer “tight for any dictionary”.
• The row on the algebraic operator now says that for S = ∅ the contextual rule is a chain rule
for zno .
• The logarithmic repetition bound is presented as the price of the non-overlap convention, not
as an advantage over overlapping LZ77. The table states that overlapping copies code an in
two phrases.
• The diagnostic row now says that ∆j ≤ 0 for all j implies CSadapt = CS , that ∆j > 0 is
necessary but not sufficient for a gain, and that these are diagnostics, not optimal rules.
• The abstract, Contribution 3, the conclusion and the future-work list were rewritten to match.
The phrases “exact preset-history LZ77 sandwich bounds” and “up to an exact factor of 2” are
gone.
3. NP-hardness reduction (Theorem A.17)
The reviewer is right. With the literal convention of Section III-A, every single letter is admissible
for every S, including S = ∅. So CSadapt (si ) = 1 whenever |si | = 1, and the claimed equivalence
“CSadapt (si ) = 1 iff si is a substring of a word of S” fails.
• The theorem and proof now require |si | ≥ 2. The proof states where this is used, and gives
the counterexample with single letters (S = ∅ with total length 0 ≤ B is a yes-instance for
every B).
• The restriction costs nothing:
– Shortest Common Superstring remains NP-hard when all strings have length three, as
the reviewer notes, citing [26].
– Over a binary alphabet, a string of length one is either a factor of another string of the
instance, hence redundant and removable, or all other strings are powers of the other
letter. Such instances are solved in polynomial time, and the reduction outputs a fixed
yes- or no-instance.
• The abstract and Contribution 5 use the corrected statement.
Minor comments
1. Remark III.15. The example in our source reads s2 = bbaabbb, for which s1 s2 = aabbaabbb
has nine symbols and the cover a | abb | aabb | b is valid. We checked that CSadapt (s1 ) = 2,
adapt
CS∪{s
(s2 ) = 4 and CSadapt (s1 s2 ) = 4 < 2 + 4 − 1 by exhaustive computation. We suspect
1}
the version read by the reviewer had s2 = bbaabb, so we made no change and re-verified the
numbers.
32. End of the proof of Theorem IV.10. We replaced the “Therefore . . . and” with an explicit
sentence stating which of the two chain-rule inequalities yields each of the two displayed
bounds.
3. No experiment measures CSadapt . We added a table of the mean CS , CSadapt and zno on
the held-out records, with S the MDL dictionary of the codec (Algorithm 1, scenario T of
our benchmark). The benchmark also verifies, record by record, the logarithmic law and
the domination CSadapt ≤ zno , and The number of violations is zero on all four corpora, over
2,000 held-out records per corpus (200 per draw, ten draws) and over 3,000 random short
strings per corpus, which also confirm greedy optimality against exact dynamic programming,
monotonicity in S, the one-word sandwich and the tightness on an .
4. Section V and Appendices C–Q. We understand the reasoning, but we prefer to keep
them. The experiments are what motivate the dictionary-selection and codec parts of the
paper, and the appendices are already declared not needed for any theorem of the main text
and removable. If the editor prefers, we are ready to move them to a separate paper.
5. Three draws, no confidence intervals. The text no longer draws conclusions from dif-
ferences below about 1% (ties with zlib-9, pruning modes), and the statistical-uncertainty
limitation is stated more prominently. We reran all four corpora with ten draws and now
report the standard deviation of the per-draw gain together with Student 95% intervals of the
mean gain (nine degrees of freedom). The two ties with zlib-9 on synthetic genomic data have
intervals [−1.8, +1.4] and [−0.6, +2.2], hence contain zero and are not ranked; all comparisons
on which we draw a conclusion exclude zero, with the codec ahead in all ten draws, except
exact against lazy pruning on the Linux logs ([−0.0, +1.2]), where we claim no ranking. We
also state that the intervals reflect the sensitivity to the random split only, and that the paired
bootstrap interval of the benchmark concerns the payload only and is not used for claims on
total size.
6. Authors’ own generators. Section VII now says that two of the four corpora come from our
generators and contain, by construction, the structure the method exploits. They illustrate
mechanisms and not performance on arbitrary data, and the two real corpora should not be
extrapolated beyond their kind.
7. Time bound in the conclusion. The bound O(M + n) is now qualified “for a constant-size
alphabet”, consistent with the abstract, Contribution 4 and Theorem IV.12.
8. Remark IV.13. We added the Crochemore–Tischler reference (Inf. Process. Lett. 111(6),
2011).
9. Proof of Proposition IV.8. The reviewer is right that symbols and copies were conflated.
The proof now states that the text u q1 · · · qm−1 has 2m−1 d symbols and is the prefix of length
2m−1 d of u∞ . The block qm is a prefix of u∞ of length at most 2m−1 d, hence a prefix of that
text, so its source occurrence ends before qm begins.
4

Version v2

XSci (AI review)

October 26, 2026

Summary

The manuscript introduces the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s): the minimum number of contiguous blocks in a partition of a string ss in which each block is a factor of a word of a fixed external dictionary SS or a factor of the already decoded prefix. The authors prove a two-sided relation between this quantity and the static covering count CS(s)C_S(s), identify the empty-dictionary case with the non-overlapping LZ77 phrase count znoz_{\text{no}}, sandwich the measure between one and two times the count of non-overlapping LZ77 with a delimiter-separated preset history, and show that longest-match greedy parsing is optimal and computable in O(M+n)O(M+n) time with two suffix automata. Appendices add a counting bound, a stationary-ergodic invariance result, an NP-hardness reduction for dictionary selection, and an evaluation of a bit-cost codec on four short-record corpora.

Contribution and Significance

The core contribution is Theorem III.17, 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil \le C_S^{\text{adapt}}(s) \le C_S(s), exactly tight on both sides with explicit attaining families, together with Theorem IV.10 and Proposition IV.11, which place the measure within a factor 2 of preset-history LZ77 for dictionaries of any size and exhibit a family reaching (2k−1)/k(2k-1)/k. These give a precise account of how much a growing internal source can save over a fixed external one when the two are kept apart. I checked the proofs and found them correct.

Relative to the closest prior work, the advance is real but modest. By the authors' own Proposition IV.5 and Theorem IV.10, CSadaptC_S^{\text{adapt}} is non-overlapping LZ77 with a delimiter-separated preset history up to a factor 2, which Remark IV.13 concedes: "a combinatorial abstraction of the preset-dictionary mechanism rather than a new parsing model". The manuscript correctly attributes greedy optimality to Storer and Szymanski, Cohn and Khazan, and Crochemore, Langiu and Mignosi; the zz versus znoz_{\text{no}} gap to Kosolobov and Shur; the hierarchy δ≤γ≤b≤z≤zno≤g\delta\le\gamma\le b\le z\le z_{\text{no}}\le g to Navarro and to Kociumaka, Navarro and Prezza; and the closest hybrid parse to ReLZ. After those disclaimers the residue is the logarithmic law, which is the classical doubling argument with CSC_S in place of length, the sharpness family, and a routine pairing of two suffix automata.

Strengths

  • Theorem III.17 is exactly tight on both sides, which is unusual for bounds of this type: the derivation cj+1≤2cjc_{j+1}\le 2c_j is correct, and the families S={w}S=\{w\}, s=wns=w^n (Remark III.18) and S={a}S=\{a\}, s=abcs=abc attain the two ends.
  • Proposition IV.11's construction (R=rk⋯r1R=r_k\cdots r_1, Pj=ujP1⋯Pj−1P_j=u_jP_1\cdots P_{j-1}) is the most inventive piece of the paper; I verified the case k=2k=2 by hand and the general predecessor-letter argument.
  • Proposition IV.12 settles the modelling question raised in Section II: the word-segmented and plainly concatenated conventions can differ by a factor unbounded in ∣S∣|S|.
  • The scoping is unusually scrupulous: Section II ("Positioning and scope"), Remarks IV.3, IV.9, IV.13 and A.18 and Section Q each state what is not claimed, and the evaluation reports its losses ("The codec is therefore not best-in-class").
  • Algorithm 1 and Theorem IV.14 are correct and simple, the charging argument ℓS+ℓP+1≤3ℓ\ell_S+\ell_P+1\le 3\ell is sound, and the implementation is public.

Recommendation

Major Revision for Theoretical Computer Science. I found no error that changes a statement, and the logarithmic law with its sharpness families is the kind of clean result this journal publishes. What is missing is a case that the measure is more than a factor-2 reparametrization of an existing quantity, a sharpness claim that matches what is proved, and a manuscript whose length is justified by its content. All three are addressable within the paper's own approach.

Major Concerns

  1. The measure's distinctness from preset-history LZ77 is not established (Section I; Proposition IV.5; Theorem IV.10). The Introduction states that the formal separation of the two sources "enables us to establish exact mathematical laws and structural bounds that cannot be derived directly from standard LZ77 parsing rules or bit-cost heuristics". Theorem IV.10 proves C∅adapt(s∣R#)≤CSadapt(s)≤2C∅adapt(s∣R#)−1C_\emptyset^{\text{adapt}}(s\mid R_\#)\le C_S^{\text{adapt}}(s)\le 2C_\emptyset^{\text{adapt}}(s\mid R_\#)-1, so every statement about the new measure transfers, within a factor 2, from a statement about non-overlapping LZ77 with history R#R_\#: the separation enables nothing not already derivable up to that factor, and the paper's own theorem thus contradicts the Introduction. The authors should either exhibit a consequence of the two-source formulation that does not follow from known results about zno(R#s)z_{\text{no}}(R_\# s) — Theorem III.17 is the natural candidate, and its relation to the corresponding statements for zz and znoz_{\text{no}} should be made explicit — or restate the contribution as a reparametrization and shorten the paper accordingly.

    The positioning also omits the closest hybrids. Section II asserts that "The closest hybrid of relative and self-referential parsing in the literature is ReLZ [14]", but the reference list contains no work on relative compressors that also reference the already-encoded target, nor on multi-reference relative Lempel–Ziv. At least S. Deorowicz and S. Grabowski, "Robust relative compression of genomes with random access," Bioinformatics 27(21):2979–2986, 2011, and P. Bille, I. L. Gørtz, S. J. Puglisi and S. R. Tarnow, "Hierarchical Relative Lempel–Ziv Compression," SEA 2023, LIPIcs 265, 18:1–18:16, should be discussed; the latter bears on the word-segmented multi-word convention and on Proposition IV.12.

  2. Both structural separations hold only over growing alphabets (Abstract; Contribution 3; Propositions IV.11 and IV.12). The abstract calls the factor 2 "asymptotically sharp" and attaches the alphabet caveat only to the clause about plain concatenation. Proposition IV.11 uses an alphabet of kk distinct letters to reach (2k−1)/k(2k-1)/k, and Proposition IV.12's unbounded ratio likewise uses mm distinct letters, so over a fixed alphabet neither separation is established, and the only fixed-alphabet evidence in the manuscript points the other way: Remark IV.13 reports an exhaustive search over binary RR and ss with ∣R∣≤5|R|\le 5, ∣s∣≤8|s|\le 8 whose largest ratio was 5/35/3. The Conclusion lists the fixed-alphabet question as future work, but the headline claim is made without that restriction. Since the factor 2 is the paper's main quantitative constant, the authors should either give a sharpness family over a fixed alphabet or say in the abstract and in Contribution 3 that sharpness is proved only for alphabets growing with the ratio.

  3. The empirical material does not bear on any theorem (Section V; Appendices D–Q; Tables II–XI). The authors state three times that the codec permits overlapping copies, uses a bit-cost dynamic-programming parser, and caps matches at 256 characters with 12 candidates, so it does not instantiate the model. The one place the paper's own measures are measured is Table III, and it shows the distinctive content of the model to be largely absent: CSadaptC_S^{\text{adapt}} is within 3% of CSC_S on three of the four corpora, and the logarithmic floor is approached only on the synthetic tandem-repeat corpus (7.50 against 6.78), the slack being 4.1, 7.7 and 31.5 phrases on JSON, Linux logs and real genomic data. Roughly half of a long manuscript therefore supports nothing, while its one informative measurement argues against the model's reach. Either make the experiments test the theory — for instance by measuring CSadapt(s)C_S^{\text{adapt}}(s) against zno(R#s)−zno(R#)z_{\text{no}}(R_\# s)-z_{\text{no}}(R_\#) and zno(Rcats)−zno(Rcat)z_{\text{no}}(R_{\text{cat}}s)-z_{\text{no}}(R_{\text{cat}}) on real corpora, to see where Theorem IV.10's factor 2 and Proposition IV.12's gap actually bite — or remove it, as the authors say is possible.

Minor Comments

  1. The submitted text is a revision-markup build, leaving old and new wording side by side in the abstract, in the statement of Theorem IV.10 ("let S={R}S=\{R\}, and let Let S={w1,…,wm}S=\{w_1,\ldots,w_m\}"), in Remark IV.13, in Table I and in items 5 and 6 of Section P; please submit the clean build.
  2. In Remark III.18, "the first phrase covers at least one occurrence of ww" should read "at most one", since that phrase lies in Fact(w)\text{Fact}(w) and the doubling bound needs the upper direction.
  3. In Remark III.15, with S={babb}S=\{babb\}, s1=aas_1=aa, s2=bbaabbbbs_2=bbaabbbb, the concatenation is aabbaabbbbaabbaabbbb and the parse is a ∣ abb ∣ aabb ∣ bba\,|\,abb\,|\,aabb\,|\,bb, not "aabbaabb as a | abb | aabb | b".
  4. Because Proposition IV.5 identifies C∅adaptC_\emptyset^{\text{adapt}} with znoz_{\text{no}}, Theorem IV.14 and Remark IV.15 should be set against the literature on computing that factorization, in particular D. Köppl, "Non-Overlapping LZ77 Factorization and LZ78 Substring Compression Queries with Suffix Trees," Algorithms 14(2):44, 2021.
  5. In the proof of Proposition IV.8, "the already-decoded prefix contains at least 2m−1d2^{m-1}d copies of uu" counts symbols rather than copies.
  6. Table III places a mean per-record ratio (7.31) beside a ratio of means (4.80) in the same row; use one convention for both columns.
  7. The checks reported after Table III verify Theorem III.17 and Proposition IV.6, which are theorems, so "no violation" tests the implementation; the greedy-versus-dynamic-programming comparison is the informative one.
  8. Theorem A.17 is Shortest Common Superstring restated, as Remark A.18 concedes, whereas Section G's actual objective is the bit cost L(S)L(S), whose hardness is left open; consider demoting it to a remark.
  9. Theorem IV.14 rebuilds ISI_S per target, but in Section V the dictionaries dominate the records (730–9,315 B of raw header against 114–287 B records), so give the amortized per-record cost when ISI_S is shared.
  10. Theorem A.12 and Corollary A.14 show that a fixed finite dictionary leaves the asymptotic normalized phrase count unchanged, which deserves a sentence in Section I since it bounds where the dual-source distinction can matter.
  11. Proposition IV.12 states the bound (m+1)k−1(m+1)k-1 with no indication of whether it is tight for m≥2m\ge 2; the exhibited family only covers k=1k=1.
  12. The title promises a unification of relative and self-referential compression, but what is unified is word-segmented relative Lempel–Ziv with non-overlapping LZ77, each departing from the standard formulation (Remark IV.7, Proposition IV.12); both conventions belong in the abstract.

Author response

All major concerns are addressed in the revised manuscript; changes are marked in blue.

1. Distinctness from preset-history LZ77. We agree: Theorem IV.10 shows that every statement about the new measure transfers, within a factor 2, from non-overlapping LZ77 with history $R_\#$, and the sentence in the Introduction claiming otherwise is removed. The contribution is now stated as a reparametrization: a single combinatorial definition that isolates the static-dictionary and decoded-prefix choices, with exact identities (Theorem III.17, the logarithmic law) and structural bounds for that definition. We make explicit that the logarithmic law relates two quantities of the two-source model, has no counterpart for $z$ or $z_{\mathrm{no}}$ with a preset history, and yields no separation from it. Its only specialization to the classical measures is the doubling bound $z_{\mathrm{no}}(s)\ge 1+\lceil\log_2|s|\rceil$ for $S=\emptyset$, which fails for $z$ ($z(\texttt{a}^n)=2$) and transfers to $z$ only up to the known logarithmic factor between $z_{\mathrm{no}}$ and $z$. The paper is also shortened by about a third (point 4). The measure is further located in the hierarchy $\delta\le\gamma\le b\le z\le z_{\mathrm{no}}\le g$.

2. Closest hybrids. The claim that ReLZ is the closest hybrid is removed. Related Work now discusses Deorowicz and Grabowski (2011) and Bille, Gørtz, Puglisi and Tarnow (2023), together with ReLZ, and distinguishes them from the present phrase-count model. We relate the multi-reference organization of Bille et al. to the convention of the paper: treating several references as one concatenated string or as separate words is exactly the distinction between $R_{\mathrm{cat}}$ and $R_\#$ quantified by Proposition IV.12 and Theorem IV.10. We do not compare the approaches beyond this point.

3. Alphabet size. The reviewer is right that both structural separations rely on alphabets growing with the parameter. The Abstract, Contribution 3, Proposition IV.11, Remark IV.13 and the summary tables now state that the sharpness of the factor 2 is proved only over alphabets whose size grows with the ratio ($k$ letters reach $(2k-1)/k$), and that the unbounded ratio of Proposition IV.12 likewise uses $m$ distinct letters. Over a fixed alphabet we prove only the upper bound 2; the largest ratio found by exhaustive search over small binary instances is 5/3, and sharpness there is stated as an open problem (Conclusion).

4. Empirical material. We agree that the codec does not instantiate the model. Section V and Appendices D–Q (Tables II–XI) are removed, together with every mention of them. Following the reviewer’s suggestion, a new Section VI measures, on four corpora, $C_S^{\mathrm{adapt}}(s)$ against $z_{\mathrm{no}}(R_\#s)-z_{\mathrm{no}}(R_\#)$ and $z_{\mathrm{no}}(R_{\mathrm{cat}}s)-z_{\mathrm{no}}(R_{\mathrm{cat}})$, with seven orderings of the plain concatenation, and checks every inequality of Theorem IV.10 and Proposition IV.12 on each record (no violation). The factor 2 is never approached (largest ratio 1.25), and the plain-concatenation gap stays small (mean ratio 1.004–1.045, largest 1.33, against a worst case of order $m$). In agreement with the reviewer’s reading of the earlier Table III, self-reference changes the phrase count by 0–3% on three of the four corpora and substantially (factor 8.3) only on the tandem-repeat corpus. We state this explicitly: the logarithmic law is tight in the regime it describes, but informative only when records repeat long factors that the dictionary does not contain. The test uses phrase counts only and enters no proof.

All twelve minor comments are addressed, and a clean build is submitted alongside the marked-up version.

Clean build. We now submit a clean build in which every revision marker is resolved; Theorem IV.10, the abstract, Remark IV.13 and Table I carry only the new wording.
Remark III.18. Corrected: the first phrase lies in $\mathrm{Fact}(w)$ and covers at most $|w|$ symbols. The argument is restated in symbols.
Remark III.15. We checked the example by exhaustive computation: $C(s_1)=2$, $C_{S\cup\{s_1\}}(s_2)=4$, $C(s_1s_2)=4$ for $S=\{\texttt{babb}\}$, $s_1=\texttt{aa}$, $s_2=\texttt{bbaabbb}$. The string $\texttt{aabbaabbb}$ parses as $\texttt{a}\,|\,\texttt{abb}\,|\,\texttt{aabb}\,|\,\texttt{b}$. The text now states the concatenation and the block lengths $1,3,4,1$ explicitly.
Köppl (2021). Cited in Related Work and in the remark following Theorem IV.14: with $S=\emptyset$ the theorem computes the non-overlapping LZ77 factorization. We do not compare running times or space, and state what is specific to our theorem, the two-source index for $S\ne\emptyset$.
Proposition IV.8. The proof now counts symbols, not copies.
Table III. Removed with the codec evaluation. In the new tables, every ratio is a ratio of means, stated in the captions.
Checks. Section VI now says that the inequality checks test the implementation, since they are theorems, and presents the greedy-versus-dynamic-programming comparison as the informative check.
Theorem A.17. Demoted to a remark and the abstract, contributions, related work and conclusion aligned.
Shared index. A remark gives the amortized cost $O(M/N+n_i)$ per record when $I_S$ is built once for $N$ targets.
Asymptotics. The Introduction now states that a fixed finite dictionary does not change the leading term of the normalized phrase count (Theorem A.12), so the dual-source distinction matters at finite length.
Proposition IV.12. A remark states that the bound $(m+1)k-1$ is attained for $k=1$ and every $m$, and that tightness for $k\ge2$ is open.
Title and abstract. The abstract now states that relative Lempel–Ziv is taken word-segmented and LZ77 non-overlapping, and where each convention matters.

Version v3

XSci (AI review)

October 29, 2026

Summary

The manuscript introduces the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s): the minimum number of contiguous blocks partitioning a string ss when each block is either a factor of a single word of a fixed external dictionary SS or a factor of the already decoded prefix, with self-references required not to overlap the block being encoded. The authors prove a logarithmic law 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil \leq C_S^{\text{adapt}}(s) \leq C_S(s) (Theorem III.17), identify C∅adaptC_\emptyset^{\text{adapt}} with the non-overlapping LZ77 phrase count znoz_{\text{no}} (Proposition IV.5), and sandwich CSadaptC_S^{\text{adapt}} between C∅adapt(s∣R#)C_\emptyset^{\text{adapt}}(s\mid R_\#) and 2C∅adapt(s∣R#)−12C_\emptyset^{\text{adapt}}(s\mid R_\#)-1 for a delimiter-separated preset history (Theorem IV.10), with an extremal family approaching the constant 2 over growing alphabets (Proposition IV.11) and an unbounded ratio against a plain concatenation (Proposition IV.12). Longest-match greedy parsing is shown optimal here (Theorem IV.2) and computable in O(M+n)O(M+n) time and space with dual suffix automata (Theorem IV.15). Section V measures the quantities of the sandwich on four collections of short records.

Contribution and Significance

The core contribution is one explicitly defined hybrid admissibility rule and an exact accounting of what it costs relative to the two models it sits between. Theorem IV.10 is the result that matters: it tells the reader, for dictionaries of any size, how much the word-segmented convention can cost relative to a delimiter-separated preset history, and it is proved cleanly by handling the boundary-straddling source occurrence exactly. Proposition IV.11 is the best technical moment of the paper — the family R=rk⋯r1R=r_k\cdots r_1, Pj=ujP1⋯Pj−1P_j=u_jP_1\cdots P_{j-1} forces every fjf_j to start a block in both models and makes each PjP_j cost one block with a preset history and two without, giving ratio (2k−1)/k(2k-1)/k. Theorem III.17 generalises the classical doubling bound from nn to CS(s)C_S(s), with both sides attained.

Relative to the closest prior work the increment is modest, and much of this the authors concede: Theorem IV.2 follows the pattern established for suffix-closed dynamic dictionaries by Crochemore, Langiu and Mignosi [20]; Proposition IV.8 is a weaker form of Kosolobov and Shur [13]; Theorem IV.15 is a standard dual-suffix-automaton construction, with the S=∅S=\emptyset case already treated by Köppl [26]; Remark A.17 is Shortest Common Superstring restated. Theorem IV.10 itself establishes that the new measure is preset-history non-overlapping LZ77 up to a factor 2, and Theorem A.12 that a fixed dictionary leaves the asymptotic normalised phrase count unchanged. What remains genuinely new is Theorem III.17, whose lower-bound proof is three lines, and the Theorem IV.10 / Propositions IV.11–IV.12 cluster.

Strengths

  • The mathematics holds up. Theorem III.17, Lemma IV.1 (including the admissibility of the truncated straddling block, whose source ends at b′<a≤j∗b' < a \leq j^*), Theorem IV.10 with its chain-rule corollary, the amortisation ℓS+ℓP+1≤3ℓ\ell_S+\ell_P+1\leq 3\ell of Theorem IV.15 and Proposition IV.11 all go through as stated; no error found changes a claim.
  • The worked counterexamples do what is asked of them: Remark III.9 (C∅adapt(aabbaaaab)=6C_\emptyset^{\text{adapt}}(aabbaaaab)=6 versus 77 for its factor abbaaaababbaaaab) and Proposition A.7(ii) (S={bbb,aba,abab}S=\{bbb,aba,abab\}, s=aaaabs=aaaab) both recompute correctly.
  • Proposition IV.12 and Remark IV.14 give an honest, quantified account of what the word-segmented convention buys: not a smaller count, but order-independence and a well-defined effect of adding a word.
  • The scope discipline is exemplary. Section II and Remarks IV.3, IV.9, IV.13, IV.14 and IV.16 state exactly what is not claimed, and the Scope paragraph of Section V disclaims any bit-level conclusion.

Recommendation

Major Revision for Theoretical Computer Science. There is no decisive flaw and no central claim that the proofs fail to support, which places the manuscript above the rejection threshold for this venue. What stands in the way is positioning rather than correctness: the framework claim is not measured against the established unification of static dictionaries with LZ self-reference, the preset-dictionary bridge is asserted for a mechanism the cited codecs do not implement, and Section V does not report the data it was written to report. All three are repairable within the manuscript's own approach.

Major Concerns

  1. The framework claim is not positioned against collage systems (Section II, "Positioning and scope"; Contribution 1). The manuscript presents the two-source admissibility rule as the new element, and surveys relative compression, repetitiveness measures, ReLZ, greedy parsing and factor automata, but it does not mention the framework that already represents a string by a fixed dictionary plus a phrase sequence and thereby subsumes static-dictionary schemes, LZ77, LZ78 and LZW in one formalism: T. Kida, T. Matsumoto, Y. Shibata, M. Takeda, A. Shinohara and S. Arikawa, "Collage system: a unifying framework for compressed pattern matching", Theoretical Computer Science 298(1):253–272, 2003. It is absent from the reference list. Since Theorem IV.10 shows CSadaptC_S^{\text{adapt}} is preset-history LZ77 up to a factor 2, and Theorem A.12 shows the dictionary is asymptotically invisible, the novelty of the formulation is carried almost entirely by the claim that the two-source rule is a new way to organise these objects. The authors should say what CSadaptC_S^{\text{adapt}} expresses that a collage system with a static dictionary component does not, and whether the logarithmic law has a counterpart there. Without this the size of the advance cannot be judged.

  2. The bridge to preset dictionaries is proved for a mechanism the cited codecs do not use (Section IV-C, paragraph "LZ77 with a preset history"; Remark IV.14). The manuscript states that non-overlapping LZ77 with preset history "is the mechanism of preset dictionaries in zlib, Zstandard and Brotli", and then, two sentences later, that the plain concatenation RcatR_{\text{cat}} "is how preset dictionaries are used in practice". These cannot both stand: Theorem IV.10's factor 2 holds for the delimiter-separated R#R_\#, whereas against RcatR_{\text{cat}} Proposition IV.12 gives a ratio unbounded in ∣S∣|S|. Those formats also permit self-overlapping matches, which the model forbids and which by the authors' own Proposition IV.8 costs a logarithmic factor (z77ov(an)=2z_{77}^{\text{ov}}(a^n)=2 against C∅adapt(an)=1+⌈log⁡2n⌉C_\emptyset^{\text{adapt}}(a^n)=1+\lceil\log_2 n\rceil). Remark IV.14 nevertheless concludes that CSadaptC_S^{\text{adapt}} "is a combinatorial abstraction of the preset-dictionary mechanism". This matters because the preset-dictionary motivation carries the paper's claim to relevance from the first page of the introduction. Either restrict these statements to the delimiter-separated, non-overlapping variant, or prove a comparison with the mechanism as deployed.

  3. Section V does not report the quantities it measures, and its findings undercut the motivation (Section V, Table III and paragraphs (i)–(iii)). Table III gives only CSC_S and CSadaptC_S^{\text{adapt}}; every number the section exists to produce — the mean ratio of 1.000 against R#R_\#, the range 1.004–1.045 against RcatR_{\text{cat}}, the maxima "between 1.20 and 1.33", the 3%/5%/12%/87% strictly-cheaper rates — appears only in prose, with no dispersion ("no interval is attached to the means"), with mm reported for one collection only (m=639m=639), and with the MDL dictionary-selection criterion described nowhere in the paper. The substantive finding is that the decoded prefix changes the count by 0% on JSON (8.60 to 8.60), 3% on the Linux logs (12.95 to 12.55) and 1% on the real genomic records (38.82 to 38.31), and matters only on a collection the authors generated with tandem repeats by construction (62.15 to 7.50) — as they put it, "the model's distinctive content is largely absent" on three of four collections. Either report the data properly (per-collection ratio distributions, dictionary sizes mm and MM, record counts, selection criterion) or reduce the section to a remark and adjust the motivation in Sections I and II to match.

Minor Comments

  1. Remark III.15: with S={babb}S=\{babb\}, s1=aas_1=aa and s2=bbaabbbbs_2=bbaabbbb the concatenation is aabbaabbbbaabbaabbbb, not the printed aabbbaabbbbaabbbaabbbb, and the parse is a ∣ abb ∣ aabb ∣ bba\,|\,abb\,|\,aabb\,|\,bb with block lengths 1, 3, 4, 2, not 1, 3, 4, 1 (the conclusion 4<2+4−14 < 2+4-1 is unaffected).
  2. The proof of Theorem A.1 concludes with a bound carrying a factor (n−1)(n-1) that is absent from the statement, and the final step is printed as "(n−1)≤(n)≤(en/k)k(n-1)\leq(n)\leq(en/k)^k"; state it as (n−1k−1)≤(nk)≤(en/k)k\binom{n-1}{k-1}\leq\binom{n}{k}\leq(en/k)^k.
  3. Remark IV.3 and Remark A.3 invoke the phrase-count versus bit-cost gap informally; the quantitative statement is in P. Ferragina, I. Nitto and R. Venturini, "On the bit-complexity of Lempel–Ziv compression", SIAM Journal on Computing 42(4):1521–1541, 2013, which is not cited.
  4. Remark IV.13 concedes that (m+1)k−1(m+1)k-1 is tight only at k=1k=1; a family with ratio growing in mm at some fixed k≥2k\geq 2, or a better upper bound there, would make Proposition IV.12 a statement about the whole parameter range rather than one point.
  5. The exhaustive search behind the fixed-alphabet sharpness question covers only binary RR and ss with ∣R∣≤5|R|\leq 5 and ∣s∣≤8|s|\leq 8 (Remark IV.14); a substantially larger search, or an explicit binary family attaining 5/35/3, would make the open question concrete.
  6. Theorem IV.15 states O(M+n)O(M+n) for a constant alphabet without noting that the delimiter enlarges Σ\Sigma, and gives only the balanced-search-tree variant; state the array or hash-table alternative and its space cost.
  7. No running time or memory is reported for Algorithm 1 on any collection, despite the algorithm being Contribution 4 and one dictionary having m=639m=639 words.
  8. The abstract lists the numerical check among "supplementary results" while Contribution 5 and Section V present it as a main section; align the two.
  9. The paper gives no guidance on when a user should prefer the word-segmented model, given that Proposition IV.12 and Section V(ii) show a plain concatenation never costs more.
  10. Counterexample III.12 is unreadable as printed ("s1=s2=b⊂Cs_1 = s_2 = b \subset C", "CS(b⊂c)=4C_S(b \subset c) = 4"); the intended strings are presumably s1=s2=bcs_1=s_2=bc.

Author response

All three major concerns were well founded, in whole or in part, and we revised the manuscript accordingly. The nine minor remarks have been treated.

Major 1: collage systems. We now cite Kida et al. (2003) and position the measure against it. A collage system with a static dictionary and a phrase sequence corresponds to $C_S$-style covering. The adaptive measure differs in two ways. The second source (the decoded prefix, non-overlapping) is part of the admissibility rule. And it has a logarithmic law, $1+\lceil\log_2 C_S\rceil\le C_S^{\mathrm{adapt}}\le C_S$, which has no counterpart there as stated. We have toned down the novelty claim to what is shown.

Major 2: preset dictionaries. The reviewer is right. The factor 2 holds for the delimiter-separated history $R_\#$, whereas the plain concatenation $R_{\mathrm{cat}}$ has an unbounded ratio in $|S|$, and overlapping matches cost a logarithmic factor. We restricted the statements to the delimiter-separated, non-overlapping variant. We added a comparison with the mechanism as deployed (new proposition: $z^{\mathrm{ov}}_{\mathrm{cat}}\le C_S^{\mathrm{adapt}}\le (m+1)\lceil\log_2(n+1)\rceil\, z^{\mathrm{ov}}_{\mathrm{cat}}$), and a fixed-$k$ family showing the ratio is linear in $m$ for $k\ge2$.

Major 3: Section V. We kept the section and reported the data properly. It now has six rows over four collections, with dictionary size $m$ and total length $M$ per row, the MDL selection criterion described (exact pruning, $\lambda=n_{\mathrm{test}}/n_{\mathrm{train}}$), the standard deviation over 10 draws, per-record quantiles, and the share of records where the ratio departs from 1. We also added a sensitivity analysis to the dictionary size, by varying $\lambda$ ($|S|=1$, $11$, $107$ on the same source). The reviewer’s reading of the findings is correct: the decoded prefix changes the count by $0\%$ on JSON, $3\%$ on Linux logs and $1\%$ on real genomic records, and matters mainly on the collection with tandem repeats by construction. We state this explicitly and no longer present the numerical check as evidence of practical gain.

Minor remarks. Remark III.15, Theorem A.1 and Counterexample III.12 were extraction artefacts in the reviewer’s copy; we nevertheless made the binomial step explicit. Ferragina et al. is cited. A fixed-$k$ family with ratio $(m+k)/k$ and a binary family attaining $(2k-1)/k$ up to $k=7$ are given. The alphabet enlargement by the delimiter and the hash-table variant are discussed. Running times are reported ($0.51$–$0.54,\mu$s per symbol, linear in $M+n$, with the caveats stated). The abstract is aligned with the contributions, and guidance on the model choice is added.

Version v4

XSci (AI review)

October 31, 2026

Summary

The authors define the adaptive covering complexity CSadapt(s)C_S^{\mathrm{adapt}}(s): the minimum number of contiguous blocks partitioning ss when each block is either a factor of a single word of a fixed external dictionary SS or a factor of the already decoded prefix, with self-overlapping copies forbidden. They prove the two-sided law 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil \le C_S^{\mathrm{adapt}}(s) \le C_S(s) and show it tight (Theorem III.17), identify C∅adaptC_\emptyset^{\mathrm{adapt}} with the non-overlapping LZ77 phrase count znoz_{\mathrm{no}} (Proposition IV.5), and sandwich CSadaptC_S^{\mathrm{adapt}} between C∅adapt(s∣R#)C_\emptyset^{\mathrm{adapt}}(s\mid R_\#) and 2C∅adapt(s∣R#)−12C_\emptyset^{\mathrm{adapt}}(s\mid R_\#)-1 for a delimiter-separated preset history (Theorem IV.10), the ratio against a plainly concatenated history being unbounded in ∣S∣|S| over growing alphabets (Propositions IV.13, IV.14). Longest-match greedy parsing is proved optimal (Theorem IV.2) and computed in O(M+n)O(M+n) time and space with two suffix automata (Theorem IV.23). Section V checks the bounds on four collections of short records.

Contribution and Significance

The core contribution is the logarithmic law. It is the classical doubling bound for non-overlapping parses with CS(s)C_S(s) substituted for ∣s∣|s|, obtained by combining the restriction lemma (Lemma III.8) with subadditivity (Proposition III.10), and it is tight for every nn via S={w}S=\{w\}, s=wns=w^n. The substitution is the right one, and the resulting statement is, as the authors correctly observe, the only result here with no counterpart for a single preset history: preset-history LZ77 has no static count to compare against. The second contribution is the factor-two sandwich of Theorem IV.10 together with an unusually complete sharpness analysis — an extremal family over kk letters reaching (2k−1)/k(2k-1)/k (Proposition IV.11), binary witnesses up to 13/713/7 with the strings listed (Remark IV.12), and the fixed-alphabet case left explicitly open.

Relative to the closest prior work, the paper is candid about how little is new, and that candour is itself accurate. Proposition IV.20 shows the measure is exactly the sequence length of a restricted class of collage systems [2]; Theorem IV.10 places it within a factor two of delimiter-separated preset-history LZ77 for every SS; Theorem A.12 shows a fixed finite dictionary does not change the normalized asymptotics; and in Table IV the measured ratio to the preset-history count is between 1.000 and 1.005 on all six rows. Taken together these establish that CSadaptC_S^{\mathrm{adapt}} is a reparametrization rather than a new quantity. Against Crochemore, Langiu and Mignosi [21] the greedy-optimality theorem is of uncertain novelty (see below), and the S=∅S=\emptyset case of the algorithm is Köppl [28], which the authors acknowledge. What remains genuinely new — the law, the sharpness analysis and the two-source index — is real but narrow, and the length of the manuscript is out of proportion to it.

Strengths

  • Theorem III.17 with Remark III.18 is a clean, tight law, and the proof is correct as written: the step cj+1≤cj+max⁡(1,cj)=2cjc_{j+1}\le c_j+\max(1,c_j)=2c_j follows from Lemma III.8 and Proposition III.10, and integrality supplies the ceiling.
  • The sharpness treatment of the constant 2 is exemplary: Proposition IV.11 gives an explicit family, Remark IV.12 reports an exhaustive search (up to 7,340,018 pairs) and a beam search with the actual witness strings for k≤7k\le 7, and both state plainly that no fixed-alphabet family is known.
  • The chain rule of Proposition III.14 is stated with the contextual cost CSadapt(s2∣s1)C_S^{\mathrm{adapt}}(s_2\mid s_1), and Remark III.15 supplies a verified counterexample (S={babb}S=\{babb\}, s1=aas_1=aa, s2=bbaabbbbs_2=bbaabbbb, CSadapt(s1s2)=4<2+4−1C_S^{\mathrm{adapt}}(s_1s_2)=4<2+4-1) showing why CS∪{s1}adaptC_{S\cup\{s_1\}}^{\mathrm{adapt}} cannot replace it.
  • The scope discipline is rare and valuable: Remark IV.18, Proposition IV.20, the "Positioning and scope" paragraph, and a Section V that reports a null result on three of four collections.

Recommendation

Major Revision for Theoretical Computer Science. Every theorem I checked is correct, including Theorem IV.10 in both directions, the extremal families of Propositions IV.11 and IV.14, and the recomputed examples of Remarks III.9, III.15 and IV.12; the logarithmic law and the sandwich are a genuine if narrow addition of the kind TCS publishes. Two things stand in the way. The empirical conclusion that self-reference matters only on tandem repeats, which the abstract and introduction both carry, is an artifact of the record lengths chosen rather than a property of the measure. And the novelty of Theorem IV.2 relative to [21] is left unresolved although greedy optimality is listed as a contribution. I would also expect a substantial shortening: the appendix and the codec-oriented material in Section V are not needed for the results the paper stands on.

Major Concerns

  1. The numerical finding about self-reference is an artifact of record length, and no repetitive collection is tested (Section V, Tables III–V; carried into the abstract and Section I). All four collections consist of very short records — mean lengths 287.4, 114.1, 190.4 and 200.0 symbols — parsed against delimiter-separated histories of 63 to 6,899 bytes (Table III). Within a 200-byte record the decoded prefix can offer at most 200 symbols of history while the dictionary offers up to 6,899, so the result in Section V(iii) that the decoded prefix "changes nothing on JSON (8.60 to 8.60), 3% on the Linux logs (12.95 to 12.55) and 1% on the real genomic records (38.82 to 38.31)" is largely a statement about the chosen record length, not about CSadaptC_S^{\mathrm{adapt}}. The one row where self-reference does something (factors 10.1, 8.3, 4.6) is the one collection built by the authors to contain tandem repeats.

    This matters because the abstract generalises it ("by at most 3% on the other three") and because the same design makes the sandwich ratios uninformative: with so little decoded prefix available, CSadaptC_S^{\mathrm{adapt}} and C∅adapt(⋅∣R#)C_\emptyset^{\mathrm{adapt}}(\cdot\mid R_\#) are almost forced to coincide, which is what Table IV reports. The standard collections for this literature — the Pizza&Chili repetitive corpus, or any set of long, highly repetitive strings — are absent. Add at least one such collection and report how the ratios of Table IV move as record length grows at fixed SS; failing that, restrict every statement of the form "self-reference matters only on tandem repeats" to the short-record regime in so many words.

  2. The novelty of Theorem IV.2 relative to [21] is not settled (Lemma IV.1, Theorem IV.2, Remark IV.3, Main Contribution 4). Crochemore, Langiu and Mignosi prove greedy phrase-count optimality for suffix-closed dynamic dictionaries, with the corollary that greedy parsing is optimal for any version of the LZ77 dictionary. The admissible set here, Ai(S,s)=Fact(S)∪Fact(s[1..i−1])A_i(S,s)=\mathrm{Fact}(S)\cup\mathrm{Fact}(s[1..i-1]), is closed under taking factors — hence suffix-closed — and is non-decreasing in ii; and the proof of Lemma IV.1 uses nothing else, beyond the observation recorded in Definition III.2 that admissibility depends on the decoded prefix as a string and not on its phrase boundaries. Section II credits [21] with establishing "conditions under which this property persists", and Remark IV.3 disclaims "a new general principle", but neither says whether those conditions are met here. Since the exactness of every count in Section V rests on Theorem IV.2, the authors should either derive it as a corollary of [21], reproducing the hypotheses and demoting the contribution accordingly, or name the hypothesis of [21] that fails for the hybrid rule.

Minor Comments

  1. Counterexample III.12 is unreadable as typeset ("s1=s2=b⊂Cs_1=s_2=b\subset C", "C⊃{s1}adaptC^{\mathrm{adapt}}_{\supset\{s_1\}}"); evidently s1=s2=bcs_1=s_2=bc and the subscript is S∪{s1}S\cup\{s_1\}.
  2. In Theorem IV.10, mm denotes both ∣S∣|S| in the statement and the number of preset-history blocks in the proof ("s=q1q2⋯qms=q_1q_2\cdots q_m, where m=C∅adapt(s∣R#)m=C_\emptyset^{\mathrm{adapt}}(s\mid R_\#)"); use a different letter.
  3. The display giving the form of a boundary-crossing source occurrence is missing from the proof of Theorem IV.10 ("the source occurrence has the form" is followed by nothing).
  4. In the proof of Proposition IV.14 the exponents are wrong as printed: "s=R2k−1s=R^{2k-1}" and "the jj-th block R2j−1R^{2j-1}" must be R2k−1R^{2^k-1} and R2j−1R^{2^{j-1}} to match the stated length m(2k−1)m(2^k-1).
  5. Section V refers to "Theolem IV.25" for the linear time and space bound; that is Theorem IV.23.
  6. LZ-End is named in "Scope of the correspondence" (Section IV-B) without a reference; cite S. Kreft and G. Navarro, "LZ77-like compression with fast random access," Data Compression Conference, 2010, pp. 239–248.
  7. The two synthetic collections cannot be regenerated from the text: the template and motif lengths of the synthetic genomic records and the schema of the synthetic JSON lines are not given.
  8. The one-page MDL paragraph describes the objective of a codec that is never defined and whose benchmark results (153/76/769 records) are never reported; since the theorems hold for every SS, reduce it to what reproduces Tables III–V.
  9. The only timing evidence for Theorem IV.23 is an unoptimised Python prototype up to n=2⋅105n=2\cdot10^5 with a log-log slope of 1.09, which cannot separate O(M+n)O(M+n) from O((M+n)log⁡σ)O((M+n)\log\sigma).
  10. Remark IV.16 gives the price of segmentation on the real genomic records as 4.5% while Table IV reports a mean relative reduction of 4.3% for that row; say which statistic is meant, since the two differ.
  11. Section II states that "the appropriate comparison is with conditional versions of these measures" but treats only znoz_{\mathrm{no}}; a sentence on why conditional δ\delta, γ\gamma and bb are not addressed would close the gap.
  12. The fixed-alphabet status of the constant 2 and of the unbounded ratio is restated in Proposition IV.11, Remarks IV.12, IV.15 and IV.18 and the Conclusion; state the open problem once.

Author response

All points are addressed in the revision.

Major 1: record length. The concern is partly justified, and we now test it.

We added a length sweep at fixed $S$ on a Pizza&Chili repetitive text (Escherichia_Coli). Records of length $L$ from $200$ to $4\cdot10^{6}$ symbols are parsed against the same dictionary (new Table, Section V). The ratio $C_S/C_S^{\mathrm{adapt}}$ grows from $1.00$ to $1.49$ as $L$ increases, so the effect of self-reference does depend on record length.
The sandwich ratio $C_S^{\mathrm{adapt}}/C_\emptyset(\cdot\mid R_\#)$ stays at $1.000$ over the whole range. The claim that the two counts nearly coincide is therefore not an artefact of short records.
The abstract, the introduction and Contribution 5 now say explicitly that the statements on tandem repeats and on the small effect of self-reference concern the short-record regime, and they report the sweep.
We also added dispersion over the 10 draws and per-record quantiles (new Table), and a $\lambda$-sensitivity analysis.

Major 2: novelty of Theorem IV.2 relative to [21]. The reviewer is right.

The admissible set $A_i(S,s)=\mathrm{Fact}(S)\cup\mathrm{Fact}(s[1..i-1])$ is factor-closed, hence suffix-closed in the sense of Definition 2.2 of Crochemore–Langiu–Mignosi, and it is non-decreasing in $i$.
Greedy optimality is now stated as a corollary of [21, Theorem 2.1]. Remark IV.3, Contribution 4 and Section II reproduce the hypotheses and verify them, including that admissibility depends on the decoded prefix as a string.
The only part we keep as ours is the verification for the hybrid two-source rule; we no longer present optimality as a new result.

Minor comments.

Counterexample III.12: the garbling was a typesetting artefact. The notation is now explicit, $C^{\mathrm{adapt}}_{S\cup\{s_1\}}(s_2)$ with $s_1=s_2=\texttt{bc}$.
Item 1: the number of blocks in the proof of Theorem IV.10 is now $p$.
Item 2: the display $uv$ was present in the source. It is now accompanied by the conditions on $u$ and $v$.
Item 3: the exponents are correct in the source ($R^{2^k-1}$, $R^{2^{j-1}}$); the garbling was a rendering artefact.
Item 4: the reference is generated by \ref and points to Theorem IV.23.
Item 5: Kreft and Navarro (DCC 2010) are now cited for LZ-End.
Item 6: the protocol now gives the generator parameters: a 52-letter template, a pool of 100 motifs of length 3–6, 4–100 repetitions, the JSON schema and the seeds.
Item 7: the MDL paragraph is reduced to what is needed to reproduce Tables III–V. It states that the theorems hold for every $S$ and that no codec result is reported.
Item 8: we now state that the timing is only a consistency check. It cannot separate $O(M+n)$ from $O((M+n)\log\sigma)$, and the bound rests on the proof of Theorem IV.23.
Item 9: the two statistics are now named. The ratio of means is $1.045$ (4.5%), and the mean per-record relative reduction is 4.3%.
Item 10: a sentence explains that conditional $\delta$, $\gamma$ and $b$ lack a parsing-based chain rule and are left aside.
Item 11: the fixed-alphabet open problem is stated once, in Remark IV.12, and the other places refer to it.

Version v5

XSci (AI review)

November 1, 2026

Summary

The paper studies the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s): the minimum number of contiguous blocks partitioning a string ss when each block is either a factor of one word of a fixed external dictionary SS or a factor of the already decoded prefix, with no self-overlapping copies. The author proves the tight bounds 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil \le C_S^{\text{adapt}}(s) \le C_S(s) (Theorem III.17), identifies C∅adaptC_\emptyset^{\text{adapt}} with the non-overlapping LZ77 phrase count znoz_{\text{no}} (Proposition IV.5), and compares the measure with preset-history LZ77: within a factor 2 for a delimiter-separated history (Theorem IV.10), unboundedly in mm against a plain concatenation (Proposition IV.13), and only up to (m+1)⌈log⁡2(n+1)⌉(m+1)\lceil\log_2(n+1)\rceil when that history also allows overlapping copies (Proposition IV.17). Greedy parsing is optimal (Theorem IV.2, a corollary of [3]) and computable in O(M+n)O(M+n) time and space for a constant alphabet with two suffix automata (Theorem IV.23). Section V measures the bounds on four collections and on a length sweep of one repetitive text.

Contribution and Significance

The core contribution is the exact accounting of two parsing resources — a word-segmented external dictionary and the decoded prefix — in one phrase-count measure, together with the worst-case constants separating that accounting from the preset-history formulations actually used. The most substantial part is not the logarithmic law but Propositions IV.11, IV.13 and IV.14: explicit families showing that the factor 2 of Theorem IV.10 is asymptotically sharp over alphabets that grow with the ratio, and that word segmentation costs a factor linear in mm relative to a plain concatenation, with a matching upper bound (m+1)k−1(m+1)k-1. Quantifying how delimiters and self-overlap each change a preset-dictionary phrase count is useful, and I have not found these statements elsewhere in this form.

What is new is narrower than the framing suggests. Theorem III.17's lower bound is the classical doubling argument of Lempel and Ziv ("On the complexity of finite sequences," IEEE Trans. Inf. Theory 22(1):75–81, 1976, not cited), generalized to a dictionary; Theorem IV.2 is a corollary of Crochemore, Langiu and Mignosi [3], as the author states; Proposition IV.8 is a weaker form of Kosolobov and Shur [15]; Proposition IV.20 shows the measure is exactly a restricted collage sequence length [2]; and Theorem IV.23 composes two standard indexes. The author is commendably explicit about all of this. The consequence, however, is that the paper's value rests almost entirely on the two-source accounting itself, and that is where it is weakest (Major Concerns 1 and 2).

Strengths

  • The proofs are correct. I checked Theorem III.17, Proposition III.14, Theorem IV.10, Propositions IV.8, IV.11, IV.13 and IV.14, Theorem IV.23 and Theorem A.12 step by step, and re-derived the examples of Remarks III.9 and IV.12 by hand, including the witness babbbbababbaabbab; all check out.
  • The extremal constructions are the real technical content: Proposition IV.11's family reaching (2k−1)/k(2k-1)/k on kk letters and Proposition IV.14's family reaching m+km+k against kk pin down both constants.
  • Remark IV.12 reports an exhaustive binary search (the pair counts 15,810 / 2,080,514 / 7,340,018 are exactly right for the stated ranges) and then states the fixed-alphabet sharpness question as open rather than asserting it.
  • Scope discipline is unusually good: Remarks IV.3, IV.9, IV.18 and IV.24 each remove credit the author could have claimed, and every number I recomputed from Tables III–VI matches the text, including the reduction factors 10.13 / 8.29 / 4.61 and the floors 8, 7, 6 derived from the mean static counts.

Recommendation

Major Revision for Theoretical Computer Science. The results are correct and the extremal families are worth publishing, but the stated justification for the two-source formulation does not hold as written (Concern 1), and the paper does not say what the formulation buys over the conditional count its own Theorem IV.10, Theorem A.12 and Tables IV and VI show it to be equal to (Concern 2). Both are repairable within the paper's own approach: settle the question of Concern 1, then reposition the results accordingly. Neither requires new machinery.

Major Concerns

  1. The static/adaptive comparison is not specific to the two-source model (Section II, "ReLZ" paragraph; Remark IV.16; Remark IV.18; Table I, row "Source Separation & Interaction"). The paper states that "preset-history LZ77 has no static count to compare with, so the law has no counterpart for zz or znoz_{\text{no}} with a preset history", and Remark IV.16 repeats that Theorem III.17 "has no counterpart for a single preset history". This is not correct. For a single history RR the static count is RLZ against RR, i.e. the minimum number of blocks in Fact(R)∪Σ\text{Fact}(R)\cup\Sigma — a quantity the paper itself uses in Section IV-C and cites as [4], [5]. The doubling argument then carries over with one extra case. Writing cj=C{R}(s[1..Pj])c_j = C_{\{R\}}(s[1..P_j]) for a preset-history parse, c1=1c_1 = 1; a later block is a factor of RR (cost 1), a factor of s[1..Pj]s[1..P_j] (cost ≤cj\le c_j, by Lemma III.8), or a straddling uvuv with uu a suffix of RR and vv a factor of s[1..Pj]s[1..P_j] (cost ≤1+cj\le 1+c_j); so cj+1≤2cj+1c_{j+1}\le 2c_j+1 by Proposition III.10, hence C∅adapt(s∣R)≥⌈log⁡2(C{R}(s)+1)⌉C_\emptyset^{\text{adapt}}(s\mid R)\ge\lceil\log_2(C_{\{R\}}(s)+1)\rceil, while C∅adapt(s∣R)≤C{R}(s)C_\emptyset^{\text{adapt}}(s\mid R)\le C_{\{R\}}(s) is immediate. The law therefore holds for the single-history model up to an additive 1. Since the ability to compare the static and adaptive counts is the paper's stated reason for keeping the two sources apart, this bears directly on the first claimed contribution. The author should either prove that no such counterpart exists — which I do not expect — or state it, and then give a different and defensible reason for the separation.

  2. What the measure adds is not established (Introduction, "Main Contributions" 1; Theorem IV.10; Proposition IV.20; Theorem A.12; Tables IV and VI). The paper's own results say that CSadaptC_S^{\text{adapt}} is exactly a restricted collage sequence length (Proposition IV.20); that it lies within a factor 2 of C∅adapt(s∣R#)C_\emptyset^{\text{adapt}}(s\mid R_\#) (Theorem IV.10); that the two coincide numerically, the ratio being 1.000 on five of the six rows of Table IV, 1.001 on the sixth, and 1.000 at every record length from 200 to 4⋅1064\cdot 10^6 in Table VI; and that a fixed finite dictionary does not change the leading term of the normalized phrase count at all (Theorem A.12). Section V (iii) concludes that "the model's distinctive content is largely absent at these record lengths". I agree with each statement individually; together, however, they leave the obvious question unanswered — what does CSadaptC_S^{\text{adapt}} tell us about a string that the conditional count zno(R#s)−zno(R#)z_{\text{no}}(R_\# s)-z_{\text{no}}(R_\#) does not? Order-independence and monotonicity in SS (Remark IV.18) are properties of indexing by a set rather than a string and would hold for word-segmented RLZ as well. A revision should answer this in the Introduction, and should present the results as what they are: a quantification of the cost of word segmentation and of the non-overlap convention, not a new measure with laws of its own.

Minor Comments

  1. Remark III.15 is misprinted: with s1=aas_1 = aa, $s_2 = bbaabbbb$ the concatenation is aabbaabbbbaabbaabbbb, not aabbbaabbbbaabbbaabbbb, and the stated lengths 1, 3, 4, 1 sum to 9; the parse is a ∣ abb ∣ aabb ∣ bba\,|\,abb\,|\,aabb\,|\,bb, lengths 1, 3, 4, 2 (the conclusion is right).
  2. In the proof of Proposition IV.14 the string should be s=R2k−1s = R^{2^k-1}, not R2k−1R^{2k-1}, as the stated length m(2k−1)m(2^k-1) and the recursions cj≤(2j−1)mc_j \le (2^j-1)m require.
  3. Counterexample III.12 prints the word as "bCb_C" and the concatenation as "bcbC\text{bcb}_C"; these should read bcbc and bcbcbcbc.
  4. The sentence "as the reviewer suspected" (Section V, "Record length") is a leftover from a response to referees and should be removed.
  5. The heading of Section IV-D reads "Relation to collagen systems"; it should be "collage".
  6. In Table VII, the pointer "fixed alphabet open (Thm. IV.10)" should be to Remark IV.12, and the factor-2 claim in the same cell should cite Theorem IV.10.
  7. In Section IV-C the preset-history model is defined with "each block is a factor of R≤[1..i−1]R \leq [1..i-1]", which should read R s[1..i−1]R\,s[1..i-1]; "(m+1)k−1)/k(m+1)k-1)/k" in Proposition IV.14 and Remark IV.15 has an unbalanced parenthesis.
  8. The lower-bound paragraph in the proof of Lemma A.10 is incomplete as printed ("The phrases starting before p0p_0 end before some finite position (cc) every later phrase has length at most ...") and cannot be followed.
  9. The log-log slope 1.09 observed from n=3⋅104n=3\cdot 10^4 to 2⋅1052\cdot 10^5 (Section V, "Running time and memory") is attributed to cache effects on the strength of disabling the garbage collector alone; a run in a compiled language, or a larger nn, would settle it.
  10. The collection on which self-reference matters at short lengths is one the author generated and which "contain[s], by construction, the structure the method exploits"; one external short-record repetitive collection would make point (iii) of Section V considerably more informative.
  11. The gain CS/CSadaptC_S/C_S^{\text{adapt}} in Table VI saturates at 1.49 and the author states he has "not checked how many genomes a record spans"; that check is cheap and would say whether the saturation reflects the measure or the repeat structure of the text.
  12. Two further works should be discussed: Lempel and Ziv (1976), cited above, for the doubling argument; and G. Navarro, C. Ochoa and N. Prezza, "On the approximation ratio of ordered parsings," IEEE Trans. Inf. Theory 67(2):1008–1026, 2021, which formalizes greedy and ordered parses in general and is the natural frame for Theorem IV.2 and Proposition IV.8.

Author response

Both major concerns are correct and led to changes in the framing of the paper; the minor comments are addressed one by one.

Major 1: the static/adaptive law is not specific to the two-source model.

The reviewer’s argument is correct and we have added it as a new Proposition IV.16, with a proof.
For a single history $R$ the static count is $C_{\{R\}}$. Bounding the cost of the three types of block (factor of $R$, factor of the decoded prefix, and a block $uv$ crossing the boundary) gives $c_{j+1}+1\le 2(c_j+1)$.
Hence $\lceil\log_2(C_{\{R\}}(s)+1)\rceil\le C_\emptyset^{\mathrm{adapt}}(s\mid R)\le C_{\{R\}}(s)$.
The lower bound is attained for $R=\texttt{a}$ and $s=\texttt{a}^n$, and it differs from Theorem III.17 by at most $1$.
Every statement that the law has no counterpart for a single preset history is removed. This covers the ReLZ paragraph of Section II, Remark IV.16, the “Source Separation & Interaction” row of Table I, and Contribution 2.
We no longer present the static/adaptive comparison as a reason for the separation. The word-segmented model is kept as a convenience, with order independence, monotonicity in $S$, and exact constants for arbitrary $S$.

Major 2: what the measure adds.

We agree with the reviewer’s reading and answer in a new paragraph of the Introduction, “What the measure adds, and what it does not”.
The measure lies within a factor $2$ of the conditional count (Theorem IV.10).
The ratio is $1.000$–$1.001$ on all collections and record lengths tested.
A fixed finite dictionary does not change the leading term (Theorem A.12).
The measure is a restricted collage sequence length (Proposition IV.20).
We explicitly do not claim that it reveals structure the conditional count misses.
Order independence and monotonicity in $S$ are acknowledged as properties of indexing by a set, which a word-segmented relative LZ would share (Remark IV.18).
The abstract, Contribution 1 and the Conclusion now present the results as a quantification of the cost of word segmentation and of the non-overlap convention, plus an exact treatment of one restricted model. They no longer present them as a new measure with laws of its own.
Against a delimiter-separated history the cost is at most a factor $2$.
Against a plain concatenation it is unbounded when the alphabet grows.
For non-overlap it is at most logarithmic.

Minor comments.

Remark III.15: the source reads $s_2=\texttt{bbaabbb}$, so $s_1s_2=\texttt{aabbaabbb}$, parsed $\texttt{a}|\texttt{abb}|\texttt{aabb}|\texttt{b}$ with lengths $1,3,4,1$ (sum $9$). We re-checked the three counts by dynamic programming ($2$, $4$, $4$). No change.
*Proposition IV.14, Counterexample III.12, Section IV-D heading, $R\,s[1..i-1]$, parentheses:* the source is correct ($s=R^{2^k-1}$, $\texttt{bc}$/$\texttt{bcbc}$, “collage”, balanced parentheses). The garbled forms are rendering artefacts. The Counterexample notation has also been made explicit.
“As the reviewer suspected”: removed.
Table VII: the pointer now reads Theorem IV.10 for the factor $2$ and Remark IV.12 for the open fixed-alphabet case.
Lemma A.10: the lower-bound paragraph is rewritten in full. A phrase starting at $p$ ends before $2p$, so the phrases before $p_0$ stop at $q_0=2p_0$, independent of $n$.
Running time: the text now says the cause of the slope $1.09$ is untested, that the data do not exclude a super-linear term, and that a compiled run or larger $n$ would settle it.
External repetitive short-record collection: we state this as a limitation. The two external collections (Linux logs, real genomic records) show no such structure, and point (iii) rests on one generated collection.
*Saturation at $1.49$:* the file has no recorded genome boundaries, so we could not align records on genomes. We give an argument from genome sizes ($4.6$–$5.5$ Mbp, so a record of $4\cdot10^6$ symbols lies mostly within one genome) and label it an expectation, not a verification.
Lempel–Ziv (1976) and Navarro–Ochoa–Prezza (2021): both are now cited, the first for the doubling argument and the second as the general frame for greedy and ordered parses. We do not recast our theorem in that frame.

Version v6

XSci (AI review)

November 1, 2026

Summary

The paper studies the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s): the least number of contiguous blocks partitioning a string ss when each block is a factor of a single word of a fixed external dictionary SS or a non-overlapping factor of the already decoded prefix. The authors prove a logarithmic law 1+⌈log⁡2CS(s)⌉≤CSadapt(s)≤CS(s)1+\lceil\log_2 C_S(s)\rceil\le C_S^{\text{adapt}}(s)\le C_S(s) (Theorem III.17), identify the measure with non-overlapping LZ77 when S=∅S=\emptyset (Proposition IV.5), and compare it with preset-history LZ77: within a factor 2 of a delimiter-separated history (Theorem IV.10), unboundedly worse than a plain concatenation over growing alphabets (Proposition IV.13), and within (m+1)⌈log⁡2(n+1)⌉(m+1)\lceil\log_2(n+1)\rceil of overlapping LZ77 on a plain concatenation (Proposition IV.19). Greedy parsing is optimal and runs in O(M+n)O(M+n) time with two suffix automata (Theorems IV.2, IV.25), and Section V measures the bounds on four collections.

Contribution and Significance

The core contribution is Theorem IV.10 together with Proposition IV.11: the price of indexing a preset dictionary by a set of words, so that no factor crosses a word boundary, rather than by one delimiter-separated history string, is at most a factor 2 in phrase count, and no constant below 2 will do once the alphabet may grow with the ratio. Propositions IV.13 and IV.14 give the complementary negative statement for a plain concatenation, where the ratio grows linearly in ∣S∣|S|. This is a precise and correct accounting of a modelling choice that the relative-compression literature usually makes silently, and it is the part of the paper I would want published.

What is new relative to the closest prior work is narrower than the framing suggests, and the authors say so themselves, in detail. Proposition IV.22 makes CSadaptC_S^{\text{adapt}} exactly the sequence length of a restricted class of collage systems [2]; Remark IV.3 makes Theorem IV.2 a corollary of Crochemore, Langiu and Mignosi [3]; Remark IV.9 makes Proposition IV.8 a weaker form of Kosolobov and Shur [15]; Remark IV.17 gives the logarithmic law a single-history counterpart and concludes that "neither separates the models"; Remark A.18 makes the hardness result Shortest Common Superstring restated; Theorem A.12 makes a fixed dictionary asymptotically irrelevant; and Section V finds the measure and the conditional count zno(R#s)−zno(R#)z_{\text{no}}(R_\#s)-z_{\text{no}}(R_\#) equal to three decimals everywhere. The residue is Theorem IV.10 and its companions, plus the two-index parser.

Strengths

  • Theorem IV.10 and Proposition IV.11 are new, correct and cleanly proved; the extremal family R=rk⋯r1R=r_k\cdots r_1, Pj=ujP1⋯Pj−1P_j=u_jP_1\cdots P_{j-1} is well chosen and the lower-bound argument on the first occurrence of rjr_j is convincing.
  • The proofs are complete and hold as written, including the ones that are easy to get wrong: the doubling recursion cj+1≤2cjc_{j+1}\le 2c_j in Theorem III.17, the boundary case of the chain rule in Proposition III.14, and the charging argument ℓS+ℓP+1≤3ℓ\ell_S+\ell_P+1\le3\ell in Theorem IV.25.
  • Section V is honestly reported: the leakage rate before filtering (2.2% on one collection), the dispersion across draws (Table V), the fact that two of the four collections are the authors' own generators, and an unexplained super-linear drift in the authors' own timings (log-log slope 1.09) are all stated rather than hidden.
  • Remark IV.27 is a genuinely useful practical observation: ISI_S is read-only during a parse, so NN records against the same SS cost O(M+∑ini)O(M+\sum_i n_i) rather than O(NM)O(NM).

Recommendation

Major Revision for Theoretical Computer Science. The mathematics is sound and Theorem IV.10 is a contribution the journal can take. What is missing is proportion and weight: thirty pages, seven tables and a long appendix are built around a kernel of a few elementary pages, and both quantitative separations are established only over alphabets growing with the instance, leaving the fixed-alphabet case open. The work this requires is within the authors' own approach and, on the evidence of Remark IV.12, close to done.

Major Concerns

  1. Both quantitative separations hold only over growing alphabets (Propositions IV.11, IV.13, IV.14; Remarks IV.12, IV.20). Proposition IV.11 reaches the ratio (2k−1)/k(2k-1)/k using kk distinct letters, and Proposition IV.13's unbounded ratio uses mm distinct letters with s=Rcats=R_{\text{cat}}, a one-line example. Over a fixed alphabet neither question is settled, as Remarks IV.12 and IV.20 concede. Yet every setting the paper appeals to has a small fixed alphabet: DNA (σ=4\sigma=4), JSON and Linux logs, and all six rows of Section V. The claim that word segmentation costs exactly a factor 2, and that plain concatenation can save an unbounded one, is therefore about a regime the paper never instantiates. Remark IV.12 shows the authors are close: a beam search with R=abR=ab produced binary witnesses attaining (2k−1)/k(2k-1)/k for every k≤7k\le7, i.e. up to 13/713/7. They should settle at least the factor-2 case over a binary alphabet or, failing that, state it as an explicit conjecture with that evidence, and demote the growing-alphabet statements accordingly in the abstract and in Contribution 3.

  2. Section V does not exhibit the regime it is built to exhibit. Its stated aim, in Contribution 5, is "to see where the factor 2 of Theorem IV.10 and the gap of Proposition IV.13 actually occur". It finds that they do not occur: the ratio CSadapt/C∅adapt(⋅∣R#)C_S^{\text{adapt}}/C_\emptyset^{\text{adapt}}(\cdot\mid R_\#) is 1.000 on five of six rows and 1.001 on the sixth (Table IV), with per-record maxima of at most 1.25; the ratio against RcatR_{\text{cat}} runs from 1.001 to 1.045 against a bound of order mm, with mm up to 639; and in Table VI the R#R_\# ratio is 1.000 at every record length from 200 to 4⋅1064\cdot10^6. The only collection on which the decoded prefix matters is a tandem-repeat generator the authors wrote, as they state: "The two synthetic generators are ours and contain, by construction, the structure the method exploits", and "point (iii) below rests on one generated collection". The empirical evidence for the model's distinctiveness is thus, by the authors' own measurement, evidence against it.

    The revision should either locate a regime where the constants bite — large alphabets, many short dictionary words, or long records against a small dictionary, all suggested by Propositions IV.13 and IV.14 — or reframe the section as the negative result it is and cut it accordingly.

  3. The manuscript's own accounting leaves a contribution too small for the length and the framing. Collecting the disclaimers listed above, the new material is Theorem IV.10, Propositions IV.11, IV.13, IV.14 and IV.19, and Theorem IV.25 — a few pages of elementary argument. Yet the abstract leads with the logarithmic law, Contribution 2 presents it as an "Exact Logarithmic Law", and Section III builds to it as the paper's centrepiece, although Proposition IV.16 and Remark IV.17 establish that it is the Lempel–Ziv doubling argument [19] and separates nothing. The effect is a paper that argues against itself for thirty pages. The remedy is to restructure around Theorem IV.10: state the segmentation cost as the result, keep Theorem III.17 and Proposition IV.16 together as a short preliminary, move the collage reformulation, the counting bound, the asymptotics and the Shortest Common Superstring remark to a supplementary section or drop them, and let the algorithm and a reduced Section V follow.

Minor Comments

  1. Remark III.15's example cannot be right as printed — with s2=bbas_2=\text{bba} the claimed CS∪{s1}adapt(s2)=4C_{S\cup\{s_1\}}^{\text{adapt}}(s_2)=4 exceeds ∣s2∣=3|s_2|=3, contradicting Proposition III.6; s1s2=aa⋅bbas_1s_2=\text{aa}\cdot\text{bba} has five symbols, not the eight of the stated "aabbaabb"; and the exhibited block lengths 1, 3, 4, 1 cover nine — and since the remark is the sole justification for stating the chain rule contextually, it must be corrected (s2=bbaabbbs_2=\text{bbaabbb} repairs it).
  2. In the proof of Proposition IV.14, "s=R2k−1s=R^{2k-1}" and "the jj-th block R2j−1R^{2j-1}" are inconsistent with the stated length m(2k−1)m(2^k-1) and should read R2k−1R^{2^k-1} and R2j−1R^{2^{j-1}}; the Section IV-D heading reads "collagen systems".
  3. Theorem A.12 assumes h(X)>0h(X)>0 and the case h(X)=0h(X)=0 is left untreated, but that is precisely the regime of highly repetitive sources for which preset dictionaries are used, and it is the one case where a fixed dictionary might plausibly affect the leading term.
  4. The timing study reports a per-symbol cost rising from 0.77 to 1.01 μ\mus with log-log slope 1.09, which the authors say "does not exclude a super-linear term"; a run in a compiled language would settle it cheaply.
  5. Proposition IV.19 shows each of the two factors necessary separately but leaves open whether the product is attained; a matching family, or an improved bound, would make the proposition worth keeping.
  6. The MDL dictionary-selection objective is defined only up to "the entropy model behind D(S)D(S)", which is deferred to the released code, although λ\lambda and the resulting ∣S∣|S| determine three of the six rows of Tables III–V.
  7. Remark III.9 (the failure of monotonicity under taking contiguous factors) is a sensitivity phenomenon and should be related to Akagi, Funakoshi and Inenaga, "Sensitivity of string compressors and repetitiveness measures", Information and Computation 291:104999, 2023.
  8. The length sweep rests on one text (E. coli) and one dictionary of 300 randomly sampled 64-symbol words; another repetitive collection, and a selected rather than sampled dictionary, would show whether the saturation at 1.49 reflects the text or the measure.
  9. The comparison with ReLZ [16] is entirely verbal; a phrase-count bound in either direction, or a separating example, would make the claimed complementarity concrete.
  10. The abstract is one paragraph of roughly five hundred words carrying most of the paper's caveats; those belong in the body, and the abstract should lead with the segmentation-cost result.