Abstract 1 Introduction 2 Preliminaries 3 Interference-Free Morphisms 4 Occurrence-Preserving Morphisms 5 Applications of Occurrence-Preserving Morphisms 6 Conclusion and Future Work References

On Occurrence-Preserving Morphisms

Kaisei Kishi Department of Information Science and Technology, Kyushu University, Fukuoka, Japan    Peaker Guo ORCID M&D Data Science Center, Institute of Integrated Research, Institute of Science Tokyo, Japan    Cristian Urbina ORCID Faculty of Mathematics, Informatics and Mechanics, University of Warsaw, Poland
Center for Biotechnology and Bioengineering (CeBiB), Santiago, Chile
   Hideo Bannai ORCID M&D Data Science Center, Institute of Integrated Research, Institute of Science Tokyo, Japan
Abstract

A morphism is a mapping that transforms words through letter-wise substitution, where each symbol is consistently replaced by a fixed word. In the field of combinatorics on words, one topic that has attracted considerable attention is the characterization of morphisms that preserve specific properties, such as overlap-freeness, square-freeness, lexicographic order, and primitivity. Continuing this direction, we initiate the study on occurrence-preserving morphisms, which address the following fundamental question: given a morphism ϕ, two words u and v, and k1, under what conditions does the number of occurrences of u in v equal the number of occurrences of ϕk(u) in ϕk(v)? To answer this question, we introduce the notion of interference-free morphisms, examine their properties, and uncover a connection to recognizable morphisms. We then present a precise characterization of occurrence-preserving morphisms in terms of interference-freeness. As applications of our characterization, we first show that there exists a bijection between the starting positions of the occurrences of u in v and those of ϕk(u) in ϕk(v). We then apply the characterization to the Fibonacci and Thue-Morse words to identify their minimal unique substrings (MUSs). Finally, we exploit the connection between MUSs and net occurrences to simplify existing proofs on net occurrences in these words.

Keywords and phrases:
Property-preserving morphisms, interference-free morphisms, recognizable morphisms, injective morphisms, Fibonacci words, Thue-Morse words, minimal unique substrings (MUSs), net occurrences
Funding:
Cristian Urbina: Polish National Science Center, grant no. 2022/46/E/ST6/00463; Basal Funds FB0001 and AFB240001, ANID, Chile; and FONDECYT Project 1-230755, ANID, Chile.
Hideo Bannai: JSPS KAKENHI Grant Number JP24K02899.
Copyright and License:
[Uncaptioned image] © Kaisei Kishi, Peaker Guo, Cristian Urbina, and Hideo Bannai; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Mathematics of computing Combinatorics on words
Related Version:
Full Version: https://arxiv.org/abs/2605.18034
Editors:
Philip Bille and Nicola Prezza

1 Introduction

A morphism is a structure-preserving mapping, where the preserved structure is concatenation in the context of combinatorics on words. More precisely, it is a mapping that transforms words through letter-wise substitution, with each symbol consistently replaced by a fixed image word. Morphisms are fundamental objects that have been used to define infinite sequences and generate repetitive patterns [33, 27]. Notable classes of morphisms include injective morphisms, which play an important role in coding theory, and recognizable morphisms, which have been extensively studied in dynamical systems and formal language theory [1]. More recently, the study of morphisms in relation to repetitiveness measures has gained considerable attention [11, 10, 9, 6].

A recurring theme in the literature on morphisms is identifying properties that remain preserved under repeated applications of a morphism. Such studies are particularly useful for generating infinite words that guarantee desired combinatorial properties. For example, Berstel and Séébold [3] showed that a morphism h maps overlap-free words to overlap-free words if and only if h(abbabaab) is overlap-free. Subsequent work on overlap-free morphisms includes [31, 32]. Other morphism-preserved properties have also been studied, such as lexicographic order [30], palindromic richness [8], Abelian power-freeness [7, 20], square-freeness [16], primitivity [15, 17], BWT runs [10], and Sturmian words [4]. Continuing this line of research, we initiate the study of occurrence-preserving morphisms, which address the following fundamental question: given a morphism ϕ, two words u and v, and k1,

under what conditions does the number of occurrences of u in v equal the number of occurrences of ϕk(u) in ϕk(v)?

Understanding this question has direct applications in proving properties that are constrained by the number of occurrences of factors (substrings), such as minimal unique substrings (MUSs) and net occurrences. A MUS is a unique substring whose every proper substring is repeated, whereas a net occurrence is an occurrence of a repeated substring whose every proper super-string is unique. Both notions have been extensively studied for their combinatorial properties and efficient algorithms: see, for example, [18, 22, 25, 24] for MUSs, and [12, 29, 14, 19, 23, 21] for net occurrences.

Our results.

In this work, we make three main contributions. First, to answer the above question, we introduce the notion of interference-free morphisms, analyze their properties, and uncover a connection to recognizable morphisms (Theorem 19). Second, we provide a precise characterization of occurrence-preserving morphisms in terms of interference-freeness (Theorem 22). Third, as an application, we apply this characterization to the Fibonacci and Thue-Morse words to identify their minimal unique substrings (MUSs) (Theorem 32 and Theorem 34). We further exploit the connection between MUSs and net occurrences [23] to simplify existing proofs on net occurrences in these words [13]. In the process, we establish new properties of these morphisms and words that may have independent interest.

2 Preliminaries

Basics.

Let Σ be an ordered alphabet. We assume Σ={𝚊,𝚋} when |Σ|=2. A word (or string) is an element of Σ. The length of a word w is denoted as |w|. Let ε denote the empty word of length 0. We use w[i] to denote the ith character of a word w. Let uv=uv denote the concatenation of two words, u and v. A factor (or substring) of a word w of length n, starting at position i and ending at position j, is written as w[ij]. A factor w[1j] is called a prefix of w, while w[in] is called a suffix of w. A factor u of w is a proper factor if uw. For two words u and w, let occw(u)={i|w[ii+|u|1]=u} be the set of (starting positions of) occurrences of u in w, and let #occw(u)=|occw(u)|. When convenient, we identify an occurrence ioccw(u) with its corresponding interval [i,i+|u|1] in w. For convenience, we treat the empty word ε as occurring |w|+1 times in w: before position 1, between positions i and i+1 for 1i|w|, and after position |w|. We represent the ith such occurrence by the interval [i,i1] for 1i|w|+1. For a word w, let wR=w[|w|]w[1] denote the reverse of w. For a non-empty word w, a sequence of non-empty words (xk)k=1m is referred to as a factorization of w if w=x1xm. For a word w, a word of the form w[i|w|]w[1i1], for some 1i|w|, is called a rotation of w. Let (w) denote the multiset of all |w| rotations of w. For a word w with |w|2, let w=w[1|w|1] denote its longest proper prefix.

Morphisms.

Let Σ and Γ be two alphabets. A morphism is a map ϕ:ΣΓ such that ϕ(uv)=ϕ(u)ϕ(v) for all u,vΣ. For each cΣ, ϕ(c) is called an image111In this paper, we use the term image only for ϕ(c) with cΣ, and not for ϕ(u) with uΣ. of ϕ, and let Im(ϕ)={ϕ(c)|cΣ} be the set of images of ϕ. Letting Σ={α1,,ασ}, ϕ can be equivalently specified by α1ϕ(α1),,ασϕ(ασ). Let ϕ0(u)=u and let ϕi(u)=ϕ(ϕi1(u)) for each i1. Further, ϕ is non-erasing if ϕ(a)ε for all aΣ; ϕ is injective222Note that this defines a stronger notion of injectivity than simply requiring that for all ccΣ, ϕ(c)ϕ(c). if ϕ(u)ϕ(v) for all uvΣ; ϕ is -uniform if |ϕ(a)|= for all aΣ. For a binary word w, let w¯ denote the word obtained by applying the morphism 𝚊𝚋,𝚋𝚊.

Fibonacci and Thue-Morse morphisms and words.

Let φ denote the Fibonacci morphism defined by φ(a)=ab and φ(b)=a. Let μ denote the Thue-Morse morphism defined by μ(a)=ab and μ(b)=ba. For each i1, let Fi=φi1(b) be the (finite) Fibonacci word of order i. For each i1, let 𝒯i=μi1(a) be the (finite) Thue-Morse word of order i. The Fibonacci and Thue-Morse words can also be obtained as follows: F1=b,F2=a, and Fi=Fi1Fi2 for each i3; 𝒯1=a and 𝒯i=𝒯i1𝒯i1¯ for each i2. Further, for each i1, let fi=|Fi|, which equals the ith Fibonacci number, and let τi=|𝒯i|=2i1. We next review the following known properties of Fibonacci words.

Observation 1 ([26, 13]).

The following hold for Fi.

  • Neither aaa nor bb occurs in any Fi.

  • Let Δ0=ba, Δ1=ab, and Δi=Δ(imod2) for i2. Define Gi=Fi[1fi2] for each i3. Then, Fi=GiΔi and occFi(Gi1)={1,fi2+1} for each i7.

MUSs and net occurrences.

Consider a string w and a unique substring u of w. Let [i,j] be the only occurrence of u in w. We say u is a minimal unique substring (MUS) of w if both strings w[i+1j] and w[ij1] are repeated in w. Let MUS(w) denote the set of MUSs of w. An occurrence [i,j] in w is a net occurrence if the corresponding string w[ij] is repeated, while both left extension w[i1j] and right extension w[ij+1] are unique. When i=1, w[i1j] is assumed to be unique; when j=|w|, w[ij+1] is assumed to be unique. Let NO(w) denote the set of net occurrences in w.

3 Interference-Free Morphisms

To fully characterize occurrence-preserving morphisms, we first introduce the notion of interference-free morphisms and establish some of their key properties in this section. To motivate the definition, we begin with an example illustrating that, after applying a morphism ϕ to words u and v, the occurrences of u in v may fail to be preserved when certain forms of “interference” take place between ϕ(u) and images of ϕ.

Example 2.

In (1) and (2) of Figure 1, we have #occv(u)=#occϕ(v)(ϕ(u))=2, and #occv(u)=2<3=#occϕ(v)(ϕ(u)). A third occurrence of ϕ(u) (underlined in red in (2)) emerges in ϕ(v) because ϕ(u)=𝚊𝚋𝚊 and 𝚊 is a proper prefix of ϕ(𝚊)=𝚊𝚋. In (3) and (4) of Figure 1, we have #occv(u)=1<2=#occϕ(v)(ϕ(u)), and #occv(u)=#occϕ(v)(ϕ(u))=1. A second occurrence of ϕ(u) (underlined in red in (3)) emerges in ϕ(v) because ϕ(u)=𝚊𝚋𝚊𝚋, 𝚊 is a proper suffix of ϕ(𝚋)=𝚋𝚊, and 𝚋 is a proper prefix of ϕ(𝚋)=𝚋𝚊.

Figure 1: Illustration of Example 2. In each of (1)–(4), we show v at the top, ϕ(v) at the bottom, and in the middle, arrows indicate the mapping from each v[i] to ϕ(v[i]); the substring u in v, and the corresponding ϕ(u) in ϕ(v), are highlighted in green. Specifically, in (1) and (2), u=𝚊𝚋 and v=abaab, whereas in (3) and (4), u=𝚊𝚊 and v=aabbb. Moreover, ϕ:𝚊𝚊𝚋,𝚋𝚋𝚊 in (1) and (3); ϕ:𝚊𝚊𝚋,𝚋𝚊 in (2) and (4).

To start formalizing the idea from the motivating example, we first define the following and review a key property of injective morphisms.

Definition 3 (Image Factorizations).

Let ϕ:ΣΓ be a morphism and let wΓ be a word. We say w admits a ϕ-image factorization if w=X1Xn, where each XiIm(ϕ). When the morphism is clear from context, we simply say that w admits an image factorization.

Lemma 4 ([2]).

Let ϕ:ΣΓ be a morphism and let uΣ be a word. If ϕ is injective, then ϕ(u) admits a unique image factorization.

A set X of words is a code if each non-empty word wX admits a unique factorization into words of X. The above lemma implies that if ϕ is injective, then Im(ϕ) forms a code.

We now give precise definitions of what was previously referred to as “interference”.

Definition 5 (Interfered Image Factorizations).

Let ϕ:ΣΓ be a morphism and let wΓ be a word. We say w admits an interfered ϕ-image factorization if w=xyz, where x is a proper suffix of some image in Im(ϕ), y admits an image factorization, z is a proper prefix of some image in Im(ϕ), and xzε. When the morphism is clear from context, we simply say that w admits an interfered image factorization.

In Example 2, 𝚊𝚋𝚊 is an interfered image factorization of φ(𝚊𝚋) and 𝚊𝚋𝚊𝚋 is an interfered image factorization of μ(𝚊𝚊). Beyond the cases illustrated in Example 2 and formalized in Definition 8, another type of “interference” can occur. We give an example and then formalize this notion below.

Example 6.

Let ϕ be a variant of the Thue-Morse morphism [28, A036577] defined as ϕ(𝚊)=𝚊𝚋𝚌, ϕ(𝚋)=𝚊𝚌, ϕ(𝚌)=𝚋; let u=𝚌, and v=𝚌𝚊. Then, ϕ(u)=𝚋, ϕ(v)=𝚋𝚊𝚋𝚌, and #occv(u)=1<2=#occϕ(v)(ϕ(u)).

Definition 7 (Inner Image Factor).

Let ϕ:ΣΓ be a morphism and let wΓ be a word. We say w is an inner ϕ-image factor if w is a proper factor of an image ϕ(c) for some cΣ, but is neither a prefix nor a suffix of ϕ(c). When the morphism is clear from context, we simply say that w is an inner image factor.

In Example 6, 𝚋 is a proper factor of ϕ(𝚊)=𝚊𝚋𝚌, but is neither a prefix nor a suffix of 𝚊𝚋𝚌. Hence 𝚋 is an inner image factor. Having formalized the two types of “interference”, we are now ready to define interference-free morphisms.

Definition 8 (Interference-Free Morphisms).

Let ϕ:ΣΓ be an injective morphism and let Σ. We say ϕ is interference-free on if for every non-empty word u,

  • ϕ(u) does not admit an interfered image factorization, and

  • ϕ(u) is not an inner image factor.

If =Σ, we say that ϕ is strongly interference-free.

The definition is illustrated on the left of Figure 3. (The case where ϕ(u) is an inner image factor can be regarded as an edge case that does not affect the intuition, and thus omitted from the figure.) We now observe the following on the Fibonacci morphism.

Observation 9.

φ is not interference-free on {Fi:i5 and i is odd}

Proof.

Let n=|Fi| and consider the factorization of φ(Fi)=Fi+1=X1Xn where each Xj=φ(Fi[j])Im(φ) for 1jn. Note that i+1 is even. By Observation 1, 𝚊𝚋𝚊 is a suffix of even Fibonacci words. Thus, Xn1=φ(𝚊)=𝚊𝚋 and Xn=φ(𝚋)=𝚊. It follows that φ(Fi) admits an interfered image factorization φ(Fi)=xyz with x=ε, y=X1Xn1, and z=Xn=𝚊 being a proper prefix of φ(𝚊)=𝚊𝚋. Therefore, φ is not interference-free on the desired set. This, combined with μ not being interference-free on {𝚊𝚊} (Example 2), gives the following.

Observation 10.

The Fibonacci morphism φ and Thue-Morse morphism μ are not strongly interference-free.

3.1 Properties of Interference-Free Morphisms

Figure 2: Illustration of Case (1) in the proof of Lemma 11.

In this subsection, we examine several key properties of interference-free morphisms. When proving interference-freeness, it is often more convenient to use the following lemma rather than verify the definition directly. In what follows, bL and bR serve as the left and right interference “barriers”.

Lemma 11.

Let ϕ:ΣΓ be an injective morphism and let uΣ. If there exist bL,q,bRΣ such that u=bLqbR and ϕ is interference-free on {bL,bR}, then ϕ is interference-free on {u}.

Proof.

We proceed by contrapositive and assume that ϕ is not interference-free on {u}. Then one of the following two cases occurs.

  1. (1)

    ϕ(u)=ϕ(bL)ϕ(q)ϕ(bR) admits an interfered image factorization ϕ(u)=Y1Ym, where Y1 is a proper suffix of ϕ(c) for some cΣ, YiIm(ϕ) for each 2im1, Ym is a proper prefix of ϕ(c) for some cΣ, and Y1Ymε; or

  2. (2)

    ϕ(u) is an inner image factor.

In Case (1), if ϕ(u) admits an interfered image factorization, see Figure 2 for an illustration of this case. Let l be the smallest index such that ϕ(bL) is a prefix of Y1Yl, and let r be the largest index such that ϕ(bR) is a suffix of YrYm. (Note that these do not have to be proper prefix/suffix relations; the non-proper case corresponds to the situation where the blue vertical lines are aligned in Figure 2.) Since at least one of Y1 and Ym is non-empty, when Y1ε, ϕ is not interference-free on {bL}; when Ymε, ϕ is not interference-free on {bR}. In Case (2), if ϕ(u) is an inner image factor, then ϕ(bL) and ϕ(bR) are also inner image factors, since both are factors of ϕ(u). Therefore, we have shown by contrapositive that ϕ is interference-free on {u}.

With Lemma 11, one can often verify that ϕ is interference-free on {u} simply by examining suitable choices of bL and bR. We next demonstrate the usefulness of Lemma 11 through the following corollaries.

Corollary 12.

φ is interference-free on F={Fi:i4 and i is even}.

Proof.

First note that, for any i2, 𝚊𝚋 is a prefix of φ(Fi). Next, for each FiF, φ(Fi)=Fi+1 is an odd Fibonacci word. Thus, by Observation 1, 𝚊𝚋 is also a suffix of φ(Fi). Since φ is interference-free on {𝚊𝚋} by definition, it follows from Lemma 11 that φ is also interference-free on F.

Corollary 13.

μ is interference-free on 𝒯={𝒯i:i4}.

Proof.

For each 𝒯i𝒯, μ(𝒯i)=𝒯i+1. Observe that abba is a prefix of μ(𝒯i), baab is a suffix of μ(𝒯i) if i is odd, and abba is a suffix of μ(𝒯i) if i is even. Since μ is interference-free on {abba,baab} by definition, it follows from Lemma 11 that μ is interference-free on 𝒯.

Lemma 11 also leads to the following simple yet powerful characterization.

Lemma 14.

An injective morphism ϕ:ΣΓ is strongly interference-free if and only if ϕ is interference-free on Σ.

Proof.

() If ϕ is strongly interference-free, then ϕ is interference-free on Σ, in particular, ϕ is interference-free on Σ. () If ϕ is interference-free on Σ, then, for each uΣ, we know that ϕ is interference-free on {u[1],u[|u|]}. It follows that, by Lemma 11, ϕ is interference-free on {u}. Thus, ϕ is strongly interference-free.

With Lemma 14, we can alternatively prove Observation 10 by showing that the Fibonacci morphism φ is not interference-free on {𝚋} and the Thue-Morse morphism μ is not interference-free on {𝚊}. Further, the following result also follows directly from Lemma 14.

Corollary 15.

The following injective morphisms are strongly interference-free:

  • Mephisto-Waltz [28, A064990]: 𝚊𝚊𝚊𝚋, 𝚋𝚋𝚋𝚊;

  • Thue-Morse-Morse [28, A189718]: 𝚊𝚊𝚋𝚋, 𝚋𝚋𝚊𝚊;

  • Last nonzero digit [28, A080846]: 𝚊𝚊𝚋𝚊, 𝚋𝚊𝚋𝚋.

3.2 Interference-Free and Recognizable Morphisms

In this subsection, we uncover a connection between interference-free and recognizable morphisms. We adapt the definition from [10], while extracting the core idea as follows.

Definition 16 (Circular Image Factorization).

Let ϕ:ΣΓ be a morphism and let wΓ be a word. We say w admits a circular ϕ-image factorization if w=qrp, where r admits an image factorization, pq=ϕ(c) for some cΣ, and333The condition pε is necessary for uniqueness of circular image factorizations. Otherwise, any image factorization w=X1Xn would always yield at least two distinct circular image factorizations, by setting q=ε, r=X1Xn1, and p=Xn; or q=X1, r=X2Xn, and p=ε. pε. When the morphism is clear from the context, we simply say that w admits a circular image factorization.

Definition 17 (Recognizable Morphisms).

Let ϕ:ΣΓ be an injective morphism and let Σ. We say ϕ is recognizable on if for every non-empty word u and every rotation w(w), where w=ϕ(u), w admits a unique circular image factorization. If =Σ, we simply say that ϕ is recognizable.

Figure 3: Various illustrations of concepts and results from Section 3. Each unlabeled solid rectangle or annular sector represents an image of ϕ. Left: for Lemma 4 and Definition 8. If ϕ is injective, then ϕ(u) admits the unique image factorization =ϕ(u[1])ϕ(u[|u|]), and no alternative image factorization is possible. If, moreover, ϕ is interference-free on {u}, then no interfered image factorization ′′ is possible either. Right: for Definition 17. Given a rotation w and a circular image factorization of w, by folding the (linear) word and connecting its two ends (marked in green and red), we obtain the circular word shown in the middle. Middle: for Remark 18.
 Remark 18.

The intuition behind Theorem 19 is illustrated in Figure 3. If ϕ is interference-free on {u}, then by folding the (linear) word ϕ(u) and connecting its two ends (marked in blue and yellow on the left), we obtain the circular word shown in the middle. Crucially, regardless of how the circular word is rotated, producing different rotations in (ϕ(u)), the condition for recognizability remains satisfied. Hence, with interference-freeness, each unique (linear) image factorization induces a unique circular image factorization.  

Theorem 19.

Let ϕ:ΣΓ be an injective morphism and let Σ. If ϕ is interference-free on , then ϕ is recognizable on .

Proof.

We proceed by contrapositive and prove that, for each non-empty word u, if ϕ is not recognizable on {u}, then ϕ is not interference-free on {u}.

Let w=ϕ(u). We have assumed that ϕ is not recognizable on {u}, which means there exist some w(w) such that either w does not admit a circular image factorization, or its factorization is not unique. We first show that each w(w) does admit a circular image factorization. Let w=X1Xn be an image factorization. Since w is a rotation of w, there exists an index 1cn such that w=Xc𝑠𝑢𝑓Xc+1XnX1Xc1Xc𝑝𝑟𝑒𝑓, where Xc𝑝𝑟𝑒𝑓ε and Xc𝑝𝑟𝑒𝑓Xc𝑠𝑢𝑓=Xc. Setting q=Xc𝑠𝑢𝑓, r=Xc+1XnX1Xc1, and p=Xc𝑝𝑟𝑒𝑓, we have shown that w admits a circular image factorization.

Since such a factorization exists for each w(w), our assumption implies that there must exist w whose circular image factorization is not unique. Hence, consider one such factorization of w, given by w=Y1𝑠𝑢𝑓Y2YmY1𝑝𝑟𝑒𝑓, where YiIm(ϕ) for 1im and Y1𝑝𝑟𝑒𝑓Y1𝑠𝑢𝑓=Y1. Further, define index 1km, words Yk𝑝𝑟𝑒𝑓 and Yk𝑠𝑢𝑓 such that Yk𝑝𝑟𝑒𝑓Yk𝑠𝑢𝑓=Yk, and Y1𝑠𝑢𝑓Y2Yk𝑝𝑟𝑒𝑓=Xc𝑠𝑢𝑓Xc+1Xn. Now, rotating w back to w gives w=Yk𝑠𝑢𝑓Yk+1YmY1Yk1Yk𝑝𝑟𝑒𝑓. We now prove that ϕ is not interference-free on {u} by considering this factorization of w in three cases.

  1. (1)

    Yk𝑝𝑟𝑒𝑓=Yk and Yk𝑠𝑢𝑓=ε. In this case, w=X1Xn=Yk+1YmY1Yk1Yk. The injectivity of ϕ implies that the factorizations for w must be equivalent, contradicting that the two factorizations for w were distinct.

  2. (2)

    Yk𝑝𝑟𝑒𝑓=ε and Yk𝑠𝑢𝑓=Yk. By a symmetric argument, ϕ is again not injective.

  3. (3)

    Yk𝑝𝑟𝑒𝑓ε and Yk𝑠𝑢𝑓ε. In this case, let x=Yk𝑠𝑢𝑓, y=Yk+1YmY1Yk1, and z=Yk𝑝𝑟𝑒𝑓. Then, ϕ is not interference-free on {u} since x is a proper suffix of YkIm(ϕ), yIm(ϕ), z is a proper prefix of YkIm(ϕ), and xz=Ykε. Thus, w=ϕ(u) admits an interfered image factorization.

Therefore, we have shown that if ϕ is not recognizable on {u}, then ϕ is not interference-free on {u}. This completes the proof.

Figure 4: Illustration of the proof of Theorem 19.

Theorem 19 naturally extends to the following, more general result.

Corollary 20.

Every strongly interference-free morphism is recognizable.

Having established that interference-freeness implies recognizability, it is natural to ask whether the converse also holds. In [1], the Fibonacci morphism was shown to be recognizable. Together with Observation 9, this implies a morphism φ and an infinite family of words such that φ is recognizable on but not interference-free on . Thus, recognizability does not imply interference-freeness. We summarize the resulting strict hierarchy below.

 Remark 21.

The following inclusion relation among morphisms holds:

𝙸𝙽𝚃𝙴𝚁𝙵𝙴𝚁𝙴𝙽𝙲𝙴_𝙵𝚁𝙴𝙴𝚁𝙴𝙲𝙾𝙶𝙽𝙸𝚉𝙰𝙱𝙻𝙴𝙸𝙽𝙹𝙴𝙲𝚃𝙸𝚅𝙴.

Moreover, the Thue-Morse morphism is injective but not recognizable, whereas the Fibonacci morphism is recognizable but not strongly interference-free.  

4 Occurrence-Preserving Morphisms

After introducing and discussing interference-free morphisms, we are ready to present the main result, which establishes sufficient conditions under which factor occurrences are preserved.

Theorem 22.

Let ϕ:ΣΓ be an injective morphism, let u,vΣ be two words, and let k1 be an integer. If ϕ is interference-free on i=0k1{ϕi(u)}, then,

#occv(u)=#occϕk(v)(ϕk(u)).

To prove this theorem, we first observe that it suffices to establish the case k=1. The general case then follows by induction on k, using an argument analogous to that for the base case k=1. Accordingly, we aim to show the following.

Proposition 23.

Let ϕ:ΣΓ be an injective morphism and let u,vΣ be two words. If ϕ is interference-free on {u}, then #occv(u)=#occϕ(v)(ϕ(u)).

We begin with the following lemma, which intuitively states that applying a non-erasing morphism cannot “eliminate” existing factor occurrences.

Lemma 24.

Let ϕ:ΣΓ be a non-erasing morphism and let u,vΣ be two words. Then #occv(u)#occϕ(v)(ϕ(u)).

Proof.

For each occurrence of u in v, there exist words v𝑝𝑟𝑒𝑓,v𝑠𝑢𝑓Σ such that v=v𝑝𝑟𝑒𝑓uv𝑠𝑢𝑓. Applying ϕ to both sides gives ϕ(v)=ϕ(v𝑝𝑟𝑒𝑓)ϕ(u)ϕ(v𝑠𝑢𝑓). Hence, each occurrence of u in v yields an occurrence of ϕ(u) in ϕ(v). Moreover, distinct occurrences of u in v yield distinct occurrences of ϕ(u) in ϕ(v), since they correspond to different prefixes v𝑝𝑟𝑒𝑓. Therefore, #occv(u)#occϕ(v)(ϕ(u)).

Note that the non-erasing condition is not explicitly stated in Theorem 22; the following observation shows that it is already implied by injectivity.

Observation 25.

Let ϕ:ΣΓ be a morphism. If ϕ is injective then ϕ is non-erasing.

Proof.

We proceed by contrapositive. If ϕ is erasing, then there exists cΣ such that ϕ(c)=ε. Then, ϕ(cc)=ϕ(c)=ε but ccc, which means ϕ is not injective.

Figure 5: Left: illustration of Lemma 26. Right: illustration of the proof of Proposition 23.

The next lemma traces occurrences of ϕ(u) in ϕ(v) back to the corresponding occurrences in v, identifying the only two possible cases, illustrated on the left of Figure 5.

Lemma 26.

Let ϕ:ΣΓ be an injective morphism and let u,vΣ be two words. If ϕ(u) is a factor of ϕ(v), then at least one of the following two cases holds:

  1. (i)

    u is a factor of v, or

  2. (ii)

    there exists a factor q of v such that qu and ϕ(u) is a proper factor of ϕ(q).

Proof.

Assume, for contradiction, that ϕ(u) is a factor of ϕ(v) while neither Case (i) nor Case (ii) holds. Since u is not a factor of v, the only possible way for ϕ(u) to be a factor of ϕ(v) is that there exists a factor q of v such that qu and ϕ(q)=ϕ(u). However, this contradicts the injectivity of ϕ.

 Remark 27.

In the context of Proposition 23, Case (i) corresponds to the situation in which the occurrence count is preserved. In contrast, Case (ii) corresponds to the situation in which “interference” causes an occurrence-count violation. In Lemma 26, only the injectivity of ϕ is assumed. In the proof of Proposition 23, we show that imposing the interference-free condition rules out the undesirable Case (ii).  

Proof of Proposition 23.

We aim to show that #occv(u)#occϕ(v)(ϕ(u)). We follow the two cases described in Lemma 26. In particular, we prove that Case (ii) is impossible and only Case (i) is possible under the interference-free condition in Theorem 22. Recall that q was introduced in Lemma 26. First observe that if |q|=1, i.e., q is a symbol, then Case (ii) is impossible, as it would force one of the following two contradictions. For any 1i|v|,

  • if ϕ(u) is a proper prefix or a proper suffix of ϕ(v[i]), then ϕ(u) admits an interfered image factorization where x=y=ε and z is a proper prefix of ϕ(v[i]), or x is a proper suffix of ϕ(v[i]) and y=z=ε;

  • if ϕ(u) is a proper factor of ϕ(v[i]) but is neither a prefix nor a suffix of ϕ(v[i]), then ϕ(u) is an inner image factor.

Thus, we know that |q|>1. We now show that if ϕ is interference-free on {u} then Case (ii) is impossible. We proceed by contrapositive: assume Case (ii) does occur, and we will show that ϕ is not interference-free on {u}. Let ϕ(q)=Y1Y|q| where YiIm(ϕ) for 1i|q|. If ϕ(u) is a proper factor of ϕ(q), then there exists a factor of ϕ(q) of the form YcYd (for some 1c<d|q|) such that ϕ(u) is a proper factor of YcYd and Yc+1Yd1 is a proper factor of ϕ(u). (We define Yc+1Yd1 to be ε when d=c+1.) Hence, we have ϕ(u)=xYc+1Yd1z, where x is a suffix of Yc, z is a prefix of Yd, and xzYcYd (illustrated on the right of Figure 5). Now we are ready to show that ϕ is not interference-free on {u} by constructing an interfered image factorization of ϕ(u)=xyz, where

x={ε if x=Yc,x otherwise;z={ε if z=Yd,z otherwise;y={Yc+1Yd1 if x=x and z=z,YcYd1 if x=ε and z=z,Yc+1Yd if x=x and z=ε.

Thus, we have proved by contrapositive that Case (ii) is impossible when ϕ is interference-free on {u}. Therefore, only Case (i) is possible under the conditions in Theorem 22. In other words, we have shown that if ϕ(u) is a factor of ϕ(v), then u is a factor of v. This implies that #occv(u)#occϕ(v)(ϕ(u)). Combining with Lemma 24, we conclude that #occv(u)=#occϕ(v)(ϕ(u)).

Finally, Theorem 22 follows from Proposition 23 by induction.

5 Applications of Occurrence-Preserving Morphisms

In this section, we present several applications of the characterization of occurrence-preserving morphisms established in the previous section. As an immediate consequence of Theorem 22, occurrence preservation holds at a more granular level: not only is the number of occurrences preserved, but there also exists a bijection between the starting positions of the occurrences of u in v and those of ϕk(u) in ϕk(v).

Lemma 28.

Let ϕ:ΣΓ be an injective morphism, let u,vΣ be two words, and let k1 be an integer. If ϕ is interference-free on i=0k1{ϕi(u)}, then, poccv(u) if and only if |ϕk(v[1p1])|+1occϕk(v)(ϕk(u)).

Proof.

() If u occurs at position p in v, then v can be factorized as v=v[1p1]uy for yΣ. It follows that ϕk(v)=ϕk(v[1p1])ϕk(u)ϕk(y), and thus ϕk(u) occurs at position |ϕk(v[1p1])|+1 in ϕk(v).

() From the “” direction we can infer that #occv(u)#occϕk(v)(ϕk(u)). By Theorem 22, we know that #occv(u)=#occϕk(v)(ϕk(u)). Thus, there does not exist an occurrence p of ϕk(u) in ϕk(v) such that p|ϕk(v[1p1])|+1 for any poccv(u). Therefore, the “” direction also holds.

Note that if ϕ is -uniform, then |ϕk(v[1p1])|+1=k(p1)+1.

MUSs of Fibonacci and Thue-Morse Words

In this subsection, as another application of Theorem 22, we identify the minimal unique substrings (MUSs) of Fibonacci and Thue-Morse words.

MUSs of Fibonacci words.

We first state two observations on Fi=Fi[1fi1].

Observation 29.

For ik4, #occFi(Fk)=#occFi(Fk).

Proof.

First observe that each occurrence of Fk is followed by either 𝚊 or 𝚋. Hence #occFi(Fk)=#occFi(Fk𝚊)+#occFi(Fk𝚋). By Observation 1, when k is even, Fk ends with 𝚊𝚋𝚊, so Fk ends with 𝚊𝚋 and Fk𝚊=Fk. Further, by Observation 1, 𝚋𝚋 does not occur in Fi, which means #occFi(Fk𝚋)=0. Thus, #occFi(Fk)=#occFi(Fk𝚊)=#occFi(Fk). The case where k is odd can be proved analogously using the facts that 𝚊𝚊𝚊 does not occur in Fi and Fk ends with 𝚊𝚊𝚋.

Observation 30.

φ is interference-free on {Fi:i4 and i is odd}.

Proof.

Since i is odd, Fi ends with 𝚊𝚋 and Fi+1 ends with 𝚋𝚊 by Observation 1. With Fi=Fi𝚋, applying φ, we obtain Fi+1=φ(Fi)=φ(Fi)φ(𝚋)=φ(Fi)𝚊. Since φ(𝚋)=𝚊, we have φ(Fi)=Fi+1. The claim then follows using a similar argument for Corollary 12 and the fact that 𝚊𝚋 is both a prefix and a suffix of φ(Fi).

Occurrences of smaller-order Fibonacci words (i.e., occurrences of Fk in Fi for k<i) have been studied previously [13]. Using our characterization of occurrence-preserving morphisms, we show that #occFi(Fid) is independent of i once the offset d is fixed.

Lemma 31.

For i,j,d with ij and jd4, #occFi(Fid)=#occFj(Fjd).

Proof.

It suffices to prove the case j=i1, i.e., #occFi(Fid)=#occFi1(Fi1d), and the result then follows. When id is even, the desired equality holds by Corollary 12 and Theorem 22. For odd id4, we have

#occFi(Fid)=#occFi(Fid)=#occFi1(Fi1d)=#occFi1(Fi1d),

where the first and last equalities hold by Observation 29, while the second equality holds by Observation 30 and Theorem 22. This completes the proof.

Figure 6: Illustration of Theorem 32. In the top two factorizations of Fi, each MUS is highlighted in a red rectangle. In the bottom three factorizations of Fi, each net occurrence is colored. Moreover, the colors of the two consecutive net occurrences together are used as the colors to highlight the occurrence of the MUS they correspond to. The uncolored factorization is used in the proof.
Theorem 32.

For each i6, let αi=𝚊 if i is even, and αi=𝚋 if i is odd. Then, MUS(Fi)={αiGi3αi,αi¯Gi2αi¯}.

Proof.

We proceed to show the set equality by proving subset relations in both directions.

We first show that αi¯Gi2αi¯MUS(Fi). Its unique occurrence is outlined in red in Figure 6. By Lemma 31, we have #occFi(Fi2)=#occF6(F4)=3. The factorizations Fi=Fi2Fi2Fi5Fi4 and Fi=Fi2Fi3Fi2 reveal all three occurrences of Fi2. (In Figure 6, these two factorizations correspond to Fi=Fi2αiFi2αiFi5Fi4 and Fi=Gi2ΔiFi3Fi2.) Moreover, by Observation 29, we have #occFi(Fi2)=#occFi(Fi2)=3. Among the three occurrences of Fi2=Gi2αi¯ in Fi, exactly one is preceded by αi¯ (namely the one corresponding to the occurrence of Fi2 highlighted in yellow in Figure 6). Hence, αi¯Gi2αi¯ is unique in Fi. Further, αi¯Gi2 is not unique in Fi, since it is a substring of Gi1, which occurs twice in Fi (by Observation 1). Now, since αi¯Gi2αi¯ is unique, while both Gi2αi¯ and αi¯Gi2 are repeated, we have shown that αi¯Gi2αi¯ is a MUS. By an analogous argument, αiGi3αiMUS(Fi) can be proved similarly.

We next show MUS(Fi){αiGi3αi,αi¯Gi2αi¯}. Let [s,e] be an occurrence of a substring P=Fi[se] of Fi such that [s,e] is not a proper sub-occurrence of [fi2,fi11] or [fi1,fi1], which are the occurrences of αiGi3αi and αi¯Gi2αi¯, respectively. We claim that P is repeated and thus cannot be a MUS. We consider the following cases.

  • When efi12, P is contained in the repeated substring Fi[1fi12]=Gi1, highlighted in blue in Figure 6.

  • When fi2+1sfi11 and fi1efi2, P is a contained in the repeated substring Fi[fi2+1fi2]=Gi1, highlighted in green in Figure 6.

  • When fi1+1s and e=fi, P is contained in the repeated substring Fi[fi1+1fi]=Fi2, highlighted in yellow in Figure 6.

In all cases, P is repeated in Fi and thus cannot be a MUS. Therefore, we conclude that MUS(Fi)={αiGi3αi,αi¯Gi2αi¯}.

MUSs of Thue-Morse words.

Before proving the MUSs of Thue-Morse words, we first state the following lemma, which serves as the Thue-Morse analogue of Lemma 31.

Lemma 33.

For each ij and jd2, we have #occ𝒯i(𝒯id)=#occ𝒯j(𝒯jd) and #occ𝒯i(𝒯id¯)=#occ𝒯j(𝒯jd¯).

Proof.

The first equality follows directly from Corollary 13 and Theorem 22. For the second equality, note that μ is interference-free on {𝒯i¯:i4}, as can be shown by an argument analogous to Corollary 13; combining this with Theorem 22 yields the desired result.

Figure 7: Illustration of Theorem 34, following the conventions of Figure 6. Let x=𝚋 for even i and x=𝚊 for odd i.
Theorem 34.

For a word w, let EXT(w)={𝚊w𝚊,𝚊w𝚋,𝚋w𝚊,𝚋w𝚋} be the set of extensions of w. Then, for each i5, MUS(𝒯i)=EXT(𝒯i3)EXT(𝒯i3¯).

Proof.

As in the proof of Theorem 32, we establish the set equality by proving both inclusions. We first show that EXT(𝒯i3)MUS(𝒯i). By Lemma 33, we have #occ𝒯i(𝒯i3)=#occ𝒯5(𝒯2)=4. Consider the four occurrences of 𝒯i3 in 𝒯i. Each occurrence is preceded and followed by either 𝒯i4 or 𝒯i4¯. More precisely, across the four occurrences, all four possible combinations occur: 𝒯i4𝒯i3𝒯i4, 𝒯i4¯𝒯i3𝒯i4¯, 𝒯i4𝒯i3𝒯i4¯, and 𝒯i4¯𝒯i3𝒯i4. Since 𝒯i4 and 𝒯i4¯ have different first and last letters, It follows that each uEXT(𝒯i3) is unique. Further, since 𝒯i4𝒯i3, 𝒯i4¯𝒯i3, 𝒯i3𝒯i4¯, and 𝒯i3𝒯i4 all occur twice in 𝒯i, it follows that 𝚊𝒯i3, 𝚋𝒯i3, 𝒯i3𝚊, and 𝒯i3𝚋 also all occur twice in 𝒯i. Therefore, EXT(𝒯i3)MUS(𝒯i). With a similar argument, it can be shown that EXT(𝒯i3¯)MUS(𝒯i). All these eight MUSs are outlined in red in Figure 7.

We next prove MUS(𝒯i)EXT(𝒯i3)EXT(𝒯i3¯). Let [s,e] be an occurrence of a substring P=𝒯i[se] of 𝒯i such that [s,e] is not a proper sub-occurrence of any occurrences of substrings in EXT(𝒯i3)EXT(𝒯i3¯). We claim that P is repeated and thus cannot be a MUS. We consider the following cases.

  • When sτi31 and eτi2, P is contained in the repeated substring 𝒯i[1τi2]=𝒯i2, highlighted in green on the left of Figure 7.

  • When τi3+1sτi3+τi41 and τi2+1eτi2+τi4, P is contained in the repeated substring 𝒯i[τi3+1τi2+τi4]=𝒯i4¯𝒯i3, highlighted in pink on the left of Figure 7.

  • When τi3+τi4+1sτi21 and τi2+τi4+1eτi2+τi3, P is contained in the repeated substring 𝒯i[τi3+τi4+1τi2+τi3]=𝒯i4𝒯i3¯, highlighted in yellow on the left of Figure 7.

  • When τi2+1sτi2+τi31 and τi2+τi3+1eτi1, P is contained in the repeated substring 𝒯i[τi2+1τi1]=𝒯i2¯, highlighted in blue on the left of Figure 7.

  • When τi2+τi3+1sτi11 and τi1+1eτi1+τi3, P is contained in the repeated substring 𝒯i[τi2+τi3+1τi1+τi3]=𝒯i2, highlighted in green in the middle of Figure 7.

The remaining four cases can be proved analogously, and are illustrated by the blue, yellow, pink, and green substrings on the right of Figure 7. In all cases, P is repeated in 𝒯i and thus cannot be a MUS. Therefore, we conclude that MUS(𝒯i)=EXT(𝒯i3)EXT(𝒯i3¯).

Finally, with the two theorems above, we can exploit the connection between MUSs and net occurrences (Lemma 35) to simplify existing proofs on net occurrences in these words [13] (Corollary 36). These results are also illustrated in Figure 6 and Figure 7.

Lemma 35 ([23, 18]).

For a string w, let [i1,j1],[i2,j2],,[im,jm] be the sequence of MUS occurrences in w, ordered by increasing starting position. Then, NO(w)={[1,j11],[i1+1,j21],,[im1+1,jm1],[im+1,|w|]}.

Corollary 36 ([13]).

For each i7, NO(Fi) consists of the two occurrences of Gi1 and the last occurrence of Fi2. For each i5, NO(𝒯i) consists of all occurrences of each of the following substrings: 𝒯i2, 𝒯i2¯, 𝒯i4𝒯i3¯, and 𝒯i4¯𝒯i3.

6 Conclusion and Future Work

In this work, we investigated morphisms that preserve factor occurrences. We introduced the notion of interference-free morphisms and studied their key properties. Building on this notion, we established sufficient conditions for occurrence-preserving morphisms and applied these conditions to identify the MUSs of the Fibonacci and Thue-Morse words. We now outline several directions for future work.

First, one could consider improving the conditions in Theorem 22 so that they are both sufficient and necessary. A key observation is that interference-freeness is defined with respect to a morphism ϕ and a single word u, whereas occurrence-preservation concerns ϕ and two words u and v. Thus, extending the definition of interference-freeness to involve the two words may lead to a tighter characterization. (A natural starting point would be to restrict attention to cases where #occv(u)>0, since when #occv(u)=0, occurrences can be trivially preserved even if interference-freeness does not hold.) Furthermore, it would be interesting to examine the class of morphisms that lie between recognizable and strongly interference-free morphisms in the inclusion hierarchy (Remark 21). Another natural direction is to investigate the class of infinite words generated as fixed points of strongly interference-free morphisms.

A second line of future work is algorithmic. For example, in Section 3.2 of [5], a particular class of morphisms is used in an algorithm for the inverse problem of overlap-graph construction. Since their morphisms are defined for a specific algorithmic setting, the assumptions on the morphisms are naturally more restrictive: for example, they require the morphisms to be uniform. Further, their definition explicitly excludes Case (ii) in our Lemma 26; in contrast, we do not impose such a restriction directly, but instead capture the essential behavior through the conditions in our Theorem 22. It would be worthwhile to explore other algorithmic settings in which interference-free morphisms may prove useful.

References

  • [1] Marie-Pierre Béal, Dominique Perrin, and Antonio Restivo. Recognizability of morphisms. Ergod. Th. & Dynam. Sys., 43(11):3578–3602, 2023. doi:10.1017/etds.2022.109.
  • [2] Jean Berstel, Dominique Perrin, and Christophe Reutenauer. Codes and Automata, volume 129 of Encyclopedia of mathematics and its applications. Cambridge University Press, 2010.
  • [3] Jean Berstel and Patrice Séébold. A characterization of overlap-free morphisms. Discret. Appl. Math., 46(3):275–281, 1993. doi:10.1016/0166-218X(93)90107-Y.
  • [4] Jean Berstel and Patrice Séébold. A characterization of Sturmian morphisms. In Andrzej M. Borzyszkowski and Stefan Sokolowski, editors, Mathematical Foundations of Computer Science 1993, 18th International Symposium, MFCS’93, Gdansk, Poland, August 30 - September 3, 1993, Proceedings, volume 711 of Lecture Notes in Computer Science, pages 281–290. Springer, 1993. doi:10.1007/3-540-57182-5_20.
  • [5] Marília D. V. Braga and Joao Meidanis. An algorithm that builds a set of strings given its overlap graph. In Sergio Rajsbaum, editor, LATIN 2002: Theoretical Informatics, 5th Latin American Symposium, Cancun, Mexico, April 3-6, 2002, Proceedings, volume 2286 of Lecture Notes in Computer Science, pages 52–63. Springer, 2002. doi:10.1007/3-540-45995-2_10.
  • [6] Srecko Brlek, Andrea Frosini, Ilaria Mancini, Elisa Pergola, and Simone Rinaldi. Burrows-Wheeler Transform of words defined by morphisms. In Charles J. Colbourn, Roberto Grossi, and Nadia Pisanti, editors, Combinatorial Algorithms - 30th International Workshop, IWOCA 2019, Pisa, Italy, July 23-25, 2019, Proceedings, volume 11638 of Lecture Notes in Computer Science, pages 393–404. Springer, 2019. doi:10.1007/978-3-030-25005-8_32.
  • [7] Arturo Carpi. On Abelian power-free morphisms. Int. J. Algebra Comput., 3(2):151–168, 1993. doi:10.1142/S0218196793000123.
  • [8] Francesco Dolce and Edita Pelantová. On morphisms preserving palindromic richness. Fundam. Informaticae, 185(1):1–25, 2022. doi:10.3233/FI-222102.
  • [9] Gabriele Fici, Giuseppe Romana, Marinella Sciortino, and Cristian Urbina. On the impact of morphisms on BWT-runs. In Laurent Bulteau and Zsuzsanna Lipták, editors, 34th Annual Symposium on Combinatorial Pattern Matching, CPM 2023, June 26-28, 2023, Marne-la-Vallée, France, volume 259 of LIPIcs, pages 10:1–10:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2023. doi:10.4230/LIPIcs.CPM.2023.10.
  • [10] Gabriele Fici, Giuseppe Romana, Marinella Sciortino, and Cristian Urbina. Morphisms and BWT-run sensitivity. In Pawel Gawrychowski, Filip Mazowiecki, and Michal Skrzypczak, editors, 50th International Symposium on Mathematical Foundations of Computer Science, MFCS 2025, August 25-29, 2025, Warsaw, Poland, volume 345 of LIPIcs, pages 49:1–49:18. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.MFCS.2025.49.
  • [11] Andrea Frosini, Ilaria Mancini, Simone Rinaldi, Giuseppe Romana, and Marinella Sciortino. Logarithmic equal-letter runs for BWT of purely morphic words. In Volker Diekert and Mikhail V. Volkov, editors, Developments in Language Theory - 26th International Conference, DLT 2022, Tampa, FL, USA, May 9-13, 2022, Proceedings, volume 13257 of Lecture Notes in Computer Science, pages 139–151. Springer, 2022. doi:10.1007/978-3-031-05578-2_11.
  • [12] Peaker Guo, Patrick Eades, Anthony Wirth, and Justin Zobel. Exploiting new properties of string net frequency for efficient computation. In Shunsuke Inenaga and Simon J. Puglisi, editors, 35th Annual Symposium on Combinatorial Pattern Matching, CPM 2024, June 25-27, 2024, Fukuoka, Japan, volume 296 of LIPIcs, pages 16:1–16:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2024. doi:10.4230/LIPIcs.CPM.2024.16.
  • [13] Peaker Guo and Kaisei Kishi. Net occurrences in Fibonacci and Thue-Morse words. In Paola Bonizzoni and Veli Mäkinen, editors, 36th Annual Symposium on Combinatorial Pattern Matching, CPM 2025, June 17-19, 2025, Milan, Italy, volume 331 of LIPIcs, pages 16:1–16:22. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.CPM.2025.16.
  • [14] Peaker Guo, Seeun William Umboh, Anthony Wirth, and Justin Zobel. Online computation of string net frequency. In Zsuzsanna Lipták, Edleno Silva de Moura, Karina Figueroa, and Ricardo Baeza-Yates, editors, String Processing and Information Retrieval - 31st International Symposium, SPIRE 2024, Puerto Vallarta, Mexico, September 23-25, 2024, Proceedings, volume 14899 of Lecture Notes in Computer Science, pages 159–173. Springer, 2024. doi:10.1007/978-3-031-72200-4_12.
  • [15] Stepan Holub and Martin Raska. Binary codes that do not preserve primitivity. Arch. Formal Proofs, 2023, 2023. doi:10.1007/s10817-023-09674-2.
  • [16] H.K. Hsiao, Y.T. Yeh, and S.S. Yu. Square-free-preserving and primitive-preserving homomorphisms. Acta Mathematica Hungarica, 101(1):113–130, 2003. doi:10.1023/B:AMHU.0000003896.79824.c8.
  • [17] C. C. Huang and S. S. Yu. Prefix-primitivity-preserving homomorphisms. Discret. Math., 308(7):1025–1032, 2008. doi:10.1016/J.DISC.2007.03.057.
  • [18] Lucian Ilie and William F. Smyth. Minimum unique substrings and maximum repeats. Fundam. Informaticae, 110(1-4):183–195, 2011. doi:10.3233/FI-2011-536.
  • [19] Shunsuke Inenaga. Faster and simpler online computation of string net frequency. CoRR, 2024. doi:10.48550/arXiv.2410.06837.
  • [20] Veikko Keränen. A powerful abelian square-free substitution over 4 letters. Theor. Comput. Sci., 410(38-40):3893–3900, 2009. doi:10.1016/J.TCS.2009.05.027.
  • [21] Kotaro Kimura and Tomohiro I. R-enum revisited: Speedup and extension for context-sensitive repeats and net frequencies. In Philip Bille and Nicola Prezza, editors, 37th Annual Symposium on Combinatorial Pattern Matching, CPM 2026, June 15-17, 2026, Copenhagen, Denmark, LIPIcs. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2026. doi:10.48550/arXiv.2511.11057.
  • [22] Takuya Mieno, Yuta Fujishige, Yuto Nakashima, Shunsuke Inenaga, Hideo Bannai, and Masayuki Takeda. Computing minimal unique substrings for a sliding window. Algorithmica, 84(3):670–693, 2022. doi:10.1007/S00453-021-00864-1.
  • [23] Takuya Mieno and Shunsuke Inenaga. Space-efficient online computation of string net occurrences. In Paola Bonizzoni and Veli Mäkinen, editors, 36th Annual Symposium on Combinatorial Pattern Matching, CPM 2025, June 17-19, 2025, Milan, Italy, volume 331 of LIPIcs, pages 23:1–23:13. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.CPM.2025.23.
  • [24] Takuya Mieno, Shunsuke Inenaga, Hideo Bannai, and Masayuki Takeda. Shortest unique substring queries on run-length encoded strings. In Piotr Faliszewski, Anca Muscholl, and Rolf Niedermeier, editors, 41st International Symposium on Mathematical Foundations of Computer Science, MFCS 2016, August 22-26, 2016 - Kraków, Poland, volume 58 of LIPIcs, pages 69:1–69:11. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2016. doi:10.4230/LIPIcs.MFCS.2016.69.
  • [25] Takuya Mieno, Shunsuke Inenaga, Hideo Bannai, and Masayuki Takeda. Tight bounds on the maximum number of shortest unique substrings. In Juha Kärkkäinen, Jakub Radoszewski, and Wojciech Rytter, editors, 28th Annual Symposium on Combinatorial Pattern Matching, CPM 2017, July 4-6, 2017, Warsaw, Poland, volume 78 of LIPIcs, pages 24:1–24:11. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2017. doi:10.4230/LIPIcs.CPM.2017.24.
  • [26] Gonzalo Navarro, Carlos Ochoa, and Nicola Prezza. On the approximation ratio of ordered parsings. IEEE Trans. Inf. Theory, 67(2):1008–1026, 2021. doi:10.1109/TIT.2020.3042746.
  • [27] Gonzalo Navarro and Cristian Urbina. Repetitiveness measures based on string morphisms. Theoretical Computer Science, 1043:115259, 2025. doi:10.1016/j.tcs.2025.115259.
  • [28] OEIS Foundation Inc. The On-Line Encyclopedia of Integer Sequences. Founded by Neil J. A. Sloane. URL: https://oeis.org.
  • [29] Enno Ohlebusch, Thomas Büchler, and Jannik Olbrich. Faster computation of Chinese frequent strings and their net frequencies. In Zsuzsanna Lipták, Edleno Silva de Moura, Karina Figueroa, and Ricardo Baeza-Yates, editors, String Processing and Information Retrieval - 31st International Symposium, SPIRE 2024, Puerto Vallarta, Mexico, September 23-25, 2024, Proceedings, volume 14899 of Lecture Notes in Computer Science, pages 249–256. Springer, 2024. doi:10.1007/978-3-031-72200-4_19.
  • [30] Gwénaël Richomme. On morphisms preserving infinite Lyndon words. Discret. Math. Theor. Comput. Sci., 9(2), 2007. doi:10.46298/DMTCS.411.
  • [31] Gwénaël Richomme and Patrice Séébold. Characterization of test-sets for overlap-free morphisms. Discret. Appl. Math., 98(1-2):151–157, 1999. doi:10.1016/S0166-218X(99)00118-3.
  • [32] Gwénaël Richomme and Francis Wlazinski. Overlap-free morphisms and finite test-sets. Discret. Appl. Math., 143(1-3):92–109, 2004. doi:10.1016/J.DAM.2003.10.005.
  • [33] G. Rozenberg and A. Salomaa. The mathematical theory of L systems. In Julius T. Tou, editor, Advances in Information Systems Science: Volume 6, pages 161–206. Springer US, Boston, MA, 1976. doi:10.1007/978-1-4615-8249-6_4.