The setting
Fix an alphabet , and write for the set of finite words and for the set of bi-infinite words over . To segment bi-infinite words into canonical factors over using local marker rules, one selects an origin shifted by a lag and takes the block beginning there as the seed. A nearby marker can determine the endpoint, and when the marker search returns no position, the first mismatch with a periodic continuation of the seed can determine it. The complete episode language collects the finite words long enough to witness all required inspections up to the endpoint.
Word factors
Two bi-infinite words agree on the half-open interval , for integers , if for every satisfying .✦ A bi-infinite word realizes a finite word of length at if equals the letter of at zero-based index for every integer .✦ For a word of length , write for its letter at zero-based index . A word period of is a natural number such that for all zero-based indices satisfying .✦
Local marker rules
For a separation bound and a block length , a local marker rule over consists of an integer radius and a marker map satisfying separation, locality, translation invariance, and markerless periodicity for all and .✦ Separation requires for distinct . Locality requires if and only if whenever and agree on . For the shifted word , translation invariance requires if and only if . Markerless periodicity requires that if contains no point of , then the length- block () has a word period with .
Marker searches
Given integers , the offset-dependent eligibility radius at displacement is , where is the integer remainder of modulo .✦ For a marker set , parameters , and an origin , a position is eligible if and .✦ The eligible marker set is the finite set of all eligible positions satisfying .✦ Write for the return when the search finds no eligible marker. For a marker set , parameters , and an origin , the leftmost eligible marker search returns when is nonempty, and otherwise.✦
Episode endpoints
Given a period bound and a block length , a bi-infinite word is a short-period continuation of the length- block starting at in if agrees with on and has a period with , meaning for all .✦ For bi-infinite words , a seed start , and a seed length , a position is the first mismatch of with after the seed if , , and agrees with on .✦
When the marker search returns no position, a finite word supplies no complete episode until a mismatch with the seed’s periodic continuation occurs. Given , a tail length , a bi-infinite word , an origin , and a search return , a position satisfies the endpoint condition if either (with end anchor ) and , or and there exists a short-period continuation of the length- block starting at in with period bound such that the end anchor is the first mismatch of with after the seed.✦
Canonical episode parameters
A tuple of canonical episode parameters over is a septuple consisting of integers , , , and , natural numbers and , and a local marker rule over with separation and block length .✦ The uniform marker search radius associated with canonical episode parameters is the integer , and for any and , the canonical marker search is .✦
For canonical episode parameters with uniform marker search radius and rule radius , seed and search window visibility is the condition on a start , an end cut , and an origin , with , that the inequalities in (1) are satisfied. (1)✦
The definition
Definition. Let be canonical episode parameters over , and let be an integer lag. With origin , the complete episode language is (2)✦ where is the visibility condition (1) and is the endpoint condition.
In the paper, an episode beginning at with a shift from its start has origin (with in place of ) and endpoint , where in the markerless branch the end anchor is the first mismatch at or beyond the right end of the seed.
What is checked
The definition (2) of the complete episode language is stated over an alphabet , an integer lag , canonical episode parameters with , , , , , and a local marker rule of radius , together with word realization, seed and search window visibility (1), leftmost eligible marker search, and the endpoint condition.