The setting
Given a finite alphabet, generalized regular expressions build languages from the empty language, the empty-word language, and single letters using union, concatenation, complement, and Kleene star✦, and their star height counts the maximum nesting of stars.✦ In a bi-infinite word over the alphabet, marker searches delimit stretches called episodes. The searches and clock phases in a product of circles split the episodes into prefix and suffix pieces for recognition through a monoid morphism and a linear action on a finite module.
Each split piece defines an outer or inner suffix language over the alphabet, indexed by an output state.
Generalized star height
Fix a finite alphabet and write for the monoid of finite words over . In the notation for generalized regular expressions over , the constants are and , the letters are , and for expressions and the operations of union, concatenation, complement, and Kleene closure are written , , , and .✦
For a generalized regular expression over , its language is determined by , , , , , , and , where on the right denotes the empty language and the language containing only the empty word.✦
The star height of a generalized regular expression over is the nonnegative integer determined by the recursion in (1). (1)✦ For a nonnegative integer , a language has generalized star height at most , written , if for some generalized regular expression over with as in (1).✦
Stream tests
For a finite word of length , write for its letter at position , counting from zero. The word occurs at position in a bi-infinite word if for every index .✦ For and , the length- factor of at is the word ✦, and for cuts , the word factor is the factor of length starting at , which is empty when .✦
Let be a monoid and let be a monoid morphism. For a bi-infinite word and cuts , the interval product is (2)✦ where the factors in (2) are multiplied in increasing order of .
A bi-infinite word is called a stream. The language induced by a predicate on streams and end cuts is given by (3)✦
Local marker rules
For integer cuts and , two bi-infinite words agree on if for every with .✦ A word of length has period if whenever .✦
A local marker rule over with separation and seed length consists of an integer radius and a marker assignment sending each to a set . Distinct satisfy . For streams and and a position , if and agree on , then . At any position and for every , holds if and only if . For an integer center , if , the length- factor has a period with .
For a stream and a position , the length- seed is the factor of of that length starting at . A short-period continuation of that seed with period bound is a bi-infinite word with a positive period that agrees with on .✦
Episode endpoints
For bi-infinite words and and a seed of length starting at , the first mismatch after the seed is the integer position satisfying , agreement of and on , and .✦
For a stream with a seed of length starting at , period bound , tail length , and optional position , where denotes absence, a cut satisfies the episode endpoint condition if either is the end anchor and , or and some short-period continuation of the seed at in has first mismatch after the seed with .✦
For modulus , step , and base radius , the offset-dependent eligibility radius at displacement is .✦ Given a marker set and center , a position is eligible if ✦, and the eligible marker set consists of all eligible positions in the closed interval .✦ The leftmost eligible marker search returns the minimum of the eligible marker set when it is nonempty, and otherwise.✦ At center with shift bound , the search on marker set with modulus , step , and base radius is unstable under shifts if some with and satisfies .✦
Canonical episode parameters
A system of canonical episode parameters over specifies a modulus , a step , a separation , a seed length , a seed offset , a tail length , and a local marker rule over with separation , seed length , radius , and marker assignment .✦
The uniform marker search radius of canonical episode parameters is the distance bound .✦ For a stream and canonical episode parameters , write for the parameter system in the subscripts of the canonical marker search and the large-radius marker search , which are the leftmost eligible marker searches on at center with modulus , step , and base radii and , respectively. The seed and search window are visible at within when , , , and .✦
Given a finite set and a reference position , the endpoint transfer guard on across holds if and, writing , for every the seed and search window are visible at within , , and , and moreover satisfies the episode endpoint condition for at with optional marker and parameters .✦
Robust tag clocks
Write for the additive circle of real numbers modulo one, and equip a product torus indexed by a finite coordinate set with the supremum metric .✦
A robust tag clock realizes a bounded-error compatibility graph on finite tag and vertex sets over a finite-dimensional torus with an absolute constant in its bad-pair bound. For finite sets of tags , vertices , and coordinates , a robust tag clock specifies windows for , an exceptional set , points for , and constants and with three properties: (4) The compatibility relation in (4) has the stated form at every . At a phase , each tag has a center such that every with satisfies and . For a perturbation satisfying at every and any , the number of ordered pairs such that and is at most .
Exceptional origins
For a marker set and endpoints , the first marker in the closed window is when this intersection is nonempty, and otherwise.✦ Given start , horizon , shift bound , and extension , an inner search failure occurs on if either some with changes the first marker from to , or the search on returns while is nonempty.✦
For alphabet , boundary index set , and clock coordinate set , a system of exceptional origin parameters specifies canonical episode parameters of modulus , an inner local marker rule with separation , seed length , radius , and marker assignment , boundary offsets , residue-indexed horizons , an end shift bound , an inner shift bound , a window extension , an additive homomorphism , and an exceptional set .✦
For a fixed complete episode, if the large-radius marker search finds no marker at one of the decoding origins under consideration, the seeds at those origins share a periodic continuation and the same first mismatch . Given a stream , end anchor , and origin , the clock anchor equals when that search returns a position, and otherwise.✦
For exceptional origin parameters , a stream , a boundary index , a residue , and an origin , the single inner marker search returns the first marker of in , or if there is none.✦ For exceptional origin parameters , the inner window at boundary index , residue , and origin is visible within if and .✦ For the positive modulus and an integer , write for the remainder of modulo .✦
An origin satisfies the end instability condition if is unstable under shifts at with modulus , step , shift bound , and base radius either or .✦ For exceptional origin parameters , the clock or inner failure condition on a stream at origin with clock anchor holds if either or some gives an inner search failure on at start , horizon , shift bound , and extension .✦ An origin is exceptional on with clock anchor if or holds.✦
End and inner window visibility within at requires three conditions: the seed and search window of are visible at within ; for every with and , both and hold; and for every , and .✦
Homogeneous clock lifts
Let be a commutative semiring, let be a -module, let be a -linear endomorphism, and let . The homogeneous lift of the affine map is the -linear endomorphism given by (5)✦
For , a boundary factor tuple over consists of and interior factors .✦ An interval product snapshot over with interior slots records a total product and an optional boundary factor tuple satisfying whenever the tuple is present.✦ A tail product with boundaries over consists likewise of a tail product and an optional boundary factor tuple satisfying when present✦; substituting a prefix product into produces the interval product snapshot with total product and, when carries , boundary tuple .✦
The defaulted positions of a search family are when and otherwise.✦ A search family has ordered markers within cuts and if every search returns its defaulted position and .✦ The optional boundary factorization of a stream on under the monoid morphism for a search family with defaulted positions is a boundary factor tuple present exactly when has ordered markers within cuts and .✦ Its left factor is , its interior factors are for , and its right factor is . For a stream , cuts and , a search family , and a monoid morphism , the stream tail snapshot is the tail product with boundaries consisting of the interval product and the optional boundary factorization of on under for .✦
Given a robust tag clock on tags and phase , a clock compatibility edge from to is a pair from (4).✦ The off-diagonal edge choice selects one compatibility edge at with if one exists, and returns otherwise.✦ Given any function , tag maps , and a boundary correction , the affine translation term for a snapshot with product is (6)✦
The hypothetical clock lift records, across all hypothetical prefix products in , the lifted affine action on induced by a tail product with boundaries at clock phase . At clock phase , the hypothetical clock lift of a tail product with boundaries and total tail product sends to the homogeneous lift of , with defined by (6).✦
Outer suffix languages
For and a slot , a family of factors excluding slot assigns an element of to each with .✦ A main cut tag for monoid , state space , and modulus consists of a slot , a residue , boundary factors , factors for , and states .✦ A periodic cut tag for a monoid , state space , modulus , and blocks consists of an index , a residue , a prefix product , and states .✦ For a monoid , state space , modulus , and blocks, the outer cut tags are the main cut tags and the periodic cut tags for those data✦; each such tag has input state , output state , and residue , where is the residue recorded in the tag. When and are finite, the periodic cut tags form a finite set.
An outer cut schedule for blocks and modulus assigns main base offsets () and periodic base offsets (, ), together with repetition counts and .✦ Each cut role of is either a main role (with base offset and count ) or a periodic role (with base offset and count ). For each cut role of an outer cut schedule , write for its base offset. The outer cut offset set of consists of all over the cut roles and integers less than the corresponding role’s count✦, and the candidate origins at cut are the integers for in this offset set.✦
For a stream and exceptional origin parameters with boundary index set , the family of inner marker searches at residue and origin assigns to each .✦ For a main cut tag with slot , right factor , and factors (), a search family with defaulted positions yields an observed main suffix on a stream ending at if exists for every boundary index , , and for every with .✦ A search family yields a bounded ordered main suffix for a main cut tag with slot on a stream from to if it yields an observed main suffix for ending at and its defaulted positions satisfy for all boundary indices and for all with .✦
For a main cut tag with slot and residue , write . A stream satisfies the main suffix condition with stable markers from to if for every and every , the inner window at is visible within and , and yields a bounded ordered main suffix for from to .✦
The suffix clock anchor for exceptional origin parameters , a stream , cuts and , and a reference offset is the integer position .✦ For exceptional origin parameters , an outer cut schedule , a robust tag clock on outer cut tags, a monoid morphism , any function (including functions that fail to preserve the identity or multiplication), and a reference offset , the tagged suffix condition on a stream for an outer cut tag between cuts and requires and the endpoint transfer guard on across for the candidate origins of at with reference origin . With , it also requires and . For a main cut tag, the stream must satisfy the main suffix condition with stable markers from to . For a periodic cut tag with prefix product , it must satisfy . For output , the outer suffix language is the union over all outer cut tags with of the languages induced by the stream test checking this tagged suffix condition from to on .✦
Inner suffix languages
Let be a -module and . For an output-indexed inner suffix language, a split type records the suffix block products beyond one omitted slot and the hypothetical stream lift matched by a stream. A split type with an omitted factor, over a monoid and a -module with slots, consists of an omitted slot , input and output states , recorded factors for , and a hypothetical action .✦ For multiplicity , each split type has a single split roster entry . A split roster entry for multiplicity is a pair consisting of a split type and a copy index .✦ Given boundaries and an action , a stream matches the later products and hypothetical action for if for every and .✦
For a finite index set with offsets , lag , and cut , the candidate origin of is .✦ For exceptional origin parameters , a stream ending at cut , and each candidate index , write for the clock anchor at its candidate origin. Let be the reference index and the decoded index. The suffix decoding test on from to requires four conditions: end and inner window visibility within at for every ; whenever for some , then for all and the episode endpoint condition holds at for ; is the unique index that is exceptional on with clock anchor at origin ; and the episode endpoint condition holds at for .✦
Take for a -module , any finite clock vertex set chosen independently of the split roster that indexes and , a robust tag clock on outer cut tags (with tag input and output maps ) and vertices , any function (with no requirement that it preserve the identity or multiplication), a boundary correction taking the interior factors from the outer boundaries (where the outer block count and the inner slot count may differ), and early cut offsets . For stream , cuts , and origin , setting and , the hypothetical stream lift is .✦
A stream has a decoder-checked inner suffix on for reference and candidate if the suffix decoding test holds for relative to at origins , and matches the later products at boundaries () and the hypothetical stream lift .✦ For output , the output-indexed inner suffix language is the union over all split roster entries with of the languages induced by the stream test checking this decoder-checked inner suffix condition from to on .✦
The claim
Proposition. Let be a finite alphabet, a finite monoid, a finite vector space over a field (with an abelian group under addition), and a finite coordinate set, with boundary index set indexing the boundaries of the outer blocks. Fix exceptional origin parameters over with clock homomorphism , a monoid morphism , an arbitrary function , and an integer such that .
For any outer cut schedule , any robust tag clock on the outer cut tags, any reference offset , and any output state , the outer suffix language satisfies (7)✦
For the inner bound, suppose further that is a finite field. Assume and fix a robust tag clock on the outer cut tags with finite vertex set , a boundary correction whose third argument gives the interior factors between the outer boundaries, early offsets , roster offsets , a lag , and a reference split roster entry . For every output state , the inner suffix language satisfies the star height bound in (8). (8)✦
What is checked
The outer suffix bound (7) is stated over a finite alphabet, exceptional origin parameters with a positive integer in the kernel of , an outer cut schedule, a robust tag clock, a monoid morphism , an action on , a reference offset, and an output state in ; the inner suffix bound (8) is stated under the additional assumption over a boundary correction, early offsets, roster offsets, a lag, a reference split roster entry, and an output state in .