Skip to content

Almost sure asymptotics of the longest common substring

Saeed Shaabanian

math.DS

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 Fn,κ(n)F_{n,κ(n)} of pairs of sequences of lengths nn and κ(n)κ(n) that share a common substring longer than a threshold knk_n. We establish conditions on (kn)n(k_n)_n under which the sets lim inf⁡Fn,κ(n)\liminf F_{n,κ(n)} and lim sup⁡Fn,κ(n)\limsup F_{n,κ(n)} 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.

Create a lesson