Almost sure asymptotics of the longest common substring
Abstract
The behaviour of the longest common substring of two sequences in a symbolic system has been studied in [BLR] in connection with Rényi entropy. In this work, we investigate how fast the required matching length can grow while still ensuring that such matches occur almost surely, either eventually or infinitely often. More precisely, we consider the set of pairs of sequences of lengths and that share a common substring longer than a threshold . We establish conditions on under which the sets and have measure zero or one. The zero measure result requires no mixing assumptions, whereas the full measure result requires either exponential -mixing or polynomial -mixing. We also carry out a similar analysis for a single sequence.