Substring Complexity in Sublinear Space
Abstract
Shannon's entropy is a definitive lower bound for statistical compression. Unfortunately, no such clear measure exists for the compressibility of repetitive strings. Thus, ad hoc measures are employed to estimate the repetitiveness of strings, e.g., the size of the Lempel-Ziv parse or the number of equal-letter runs of the Burrows-Wheeler transform. A more recent one is the size of a smallest string attractor. Let be a string of length . A string attractor of is a set of positions of capturing the occurrences of all the substrings of . Unfortunately, Kempa and Prezza [STOC 2018] showed that computing is NP-hard. Kociumaka et al. [LATIN 2020] considered a new measure of compressibility that is based on the function counting the number of distinct substrings of length of , also known as the substring complexity of . This new measure is defined as and lower bounds all the relevant ad hoc measures previously considered. In particular, always holds and can be computed in time using working space. Kociumaka et al. showed that one can construct an -sized representation of supporting efficient direct access and efficient pattern matching queries on . Given that for highly compressible strings, is significantly smaller than , it is natural to pose the following question: Can we compute efficiently using sublinear working space? We address this algorithmic challenge by showing the following bounds to compute : time using space, for any , in the comparison model; or time using space, for any , in the word RAM model.
Cite
@article{arxiv.2007.08357,
title = {Substring Complexity in Sublinear Space},
author = {Giulia Bernardini and Gabriele Fici and Paweł Gawrychowski and Solon P. Pissis},
journal= {arXiv preprint arXiv:2007.08357},
year = {2023}
}
Comments
Accepted to ISAAC 2023. Abstract abridged to satisfy arXiv requirements