arXiv:2610.26021cs.ITOct 2026

Manuscript Offprint

arXiv:2610.26021

On the Adaptive Covering Complexity of Strings: Unifying Relative and Self-Referential Compression

Pierre-Fran{\c c}ois Marteau

Abstract

We introduce and study the adaptive covering complexity CSadapt(s)C_S^{\text{adapt}}(s), defined as the minimum number of contiguous factor blocks required to partition a string ss when each block is either a factor of a fixed external dictionary SS or a factor of the target's already decoded prefix. This hybrid admissibility model formalizes the structural interaction between static dictionary matching and dynamic non-overlapping self-referencing.

Our main theoretical result is the exact 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), which is tight and proves that dynamic self-reference can reduce phrase count by at most an exponential factor over static dictionary covering alone. We establish structural equivalences showing that the measure bridges word-segmented Relative Lempel–Ziv and non-overlapping LZ77, and we prove exact preset-history LZ77 sandwich bounds. Furthermore, we establish the optimality of the longest-match greedy parse via an exchange lemma and present an optimal implementation based on dual suffix automata running in O(M+n)O(M + n) time and space for a constant alphabet. These analytical results are complemented by counting bounds, stationary-ergodic asymptotic invariance, a dictionary-selection NP-hardness result, and a concise empirical illustration.

Index Terms

Adaptive covering complexity, Lempel-Ziv parsing, relative dictionary compression, suffix automata, string matching, entropy, minimum description length (MDL).

References (26)