On the piecewise complexity of words and periodic words
arXiv:2311.15431
Abstract
The piecewise complexity of a word is the minimal length of subwords needed to exactly characterise . Its piecewise minimality index is the smallest length such that is minimal among its order- class in Simon's congruence. We study these two measures and provide efficient algorithms for computing and . We also provide efficient algorithms for the case where is a periodic word, of the form