OctoInform Beta

OpenAI preprint, September 2026 · §10. Component expressions and the final remainder · §10

Proposition 10.2 (suffix languages): With a positive clock period, the bound holds for outer suffix languages and for inner suffix languages over finite rings with nonnegative shift bound

Star height at most one for suffix languages.

Hover over a blue or green term in the text, or a node in the graph, to find it in the other. Select it to read its declaration both in Lean and in words.

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 Σ\Sigma and write Σ*\Sigma^* for the monoid of finite words over Σ\Sigma. In the notation for generalized regular expressions over Σ\Sigma, the constants are 00 and 11, the letters are a∈Σa \in \Sigma, and for expressions PP and QQ the operations of union, concatenation, complement, and Kleene closure are written P∪QP \cup Q, PQPQ, ¬P\neg P, and P*P^*.✦

For a generalized regular expression PP over Σ\Sigma, its language L(P)⊆Σ*L(P) \subseteq \Sigma^* is determined by L(0)=0L(0) = 0, L(1)=1L(1) = 1, L(a)={a}L(a) = \{a\}, L(P∪Q)=L(P)∪L(Q)L(P \cup Q) = L(P) \cup L(Q), L(PQ)=L(P)L(Q)L(PQ) = L(P)L(Q), L(¬P)=Σ*\L(P)L(\neg P) = \Sigma^* \setminus L(P), and L(P*)=L(P)*L(P^*) = L(P)^*, where 00 on the right denotes the empty language and 11 the language containing only the empty word.✦

The star height h(P)h(P) of a generalized regular expression PP over Σ\Sigma is the nonnegative integer determined by the recursion in (1). h(0)=h(1)=h(a)=0,h(P∪Q)=h(PQ)=max⁡{h(P),h(Q)},h(¬P)=h(P),h(P*)=1+h(P).h(0) = h(1) = h(a) = 0, \qquad h(P \cup Q) = h(PQ) = \max\{h(P), h(Q)\}, \qquad h(\neg P) = h(P), \qquad h(P^*) = 1 + h(P).(1)✦ For a nonnegative integer nn, a language L⊆Σ*L \subseteq \Sigma^* has generalized star height at most nn, written h(L)≤nh(L) \le n, if L=L(P)L = L(P) for some generalized regular expression PP over Σ\Sigma with h(P)≤nh(P) \le n as in (1).✦

Stream tests

For a finite word w∈Σ*w \in \Sigma^* of length nn, write wiw_i for its letter at position ii, counting from zero. The word ww occurs at position s∈ℤs \in \mathbb{Z} in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma if f(s+i)=wif(s + i) = w_i for every index 0≤i<n0 \le i < n.✦ For s∈ℤs \in \mathbb{Z} and n∈ℕn \in \mathbb{N}, the length-nn factor of ff at ss is the word f(s)f(s+1)⋯f(s+n−1)f(s)f(s+1)\cdots f(s+n-1)✦, and for cuts s,t∈ℤs, t \in \mathbb{Z}, the word factor f[s,t)f[s, t) is the factor of length max⁡(t−s,0)\max(t - s, 0) starting at ss, which is empty when t≤st \le s.✦

Let MM be a monoid and let T:Σ*→MT : \Sigma^* \to M be a monoid morphism. For a bi-infinite word ff and cuts s,t∈ℤs, t \in \mathbb{Z}, the interval product is ΠT(f;s,t)=T(f[s,t))=∏s≤i<tT(f(i)),\Pi_T(f; s, t) = T(f[s, t)) = \prod_{s \le i < t} T(f(i)),(2)✦ where the factors in (2) are multiplied in increasing order of ii.

A bi-infinite word is called a stream. The language LR⊆Σ*L_R \subseteq \Sigma^* induced by a predicate R(f,b)R(f, b) on streams ff and end cuts b∈ℤb \in \mathbb{Z} is given by LR={w∈Σ*:∃f∈Σℤ,w occurs at 0 in f and R(f,|w|)}.L_R = \{w \in \Sigma^* : \exists f \in \Sigma^{\mathbb{Z}},\ w \text{ occurs at } 0 \text{ in } f \text{ and } R(f, |w|)\}.(3)✦

Local marker rules

For integer cuts l1l_1 and l2l_2, two bi-infinite words f,f′:ℤ→Σf, f' : \mathbb{Z} \to \Sigma agree on [l1,l2)[l_1, l_2) if f(x)=f′(x)f(x) = f'(x) for every x∈ℤx \in \mathbb{Z} with l1≤x<l2l_1 \le x < l_2.✦ A word v∈Σ*v \in \Sigma^* of length KseedK_{\mathrm{seed}} has period a∈ℕa \in \mathbb{N} if vi=vjv_i = v_j whenever i+a=ji + a = j.✦

A local marker rule RlocR_{\mathrm{loc}} over Σ\Sigma with separation d∈ℕd \in \mathbb{N} and seed length Kseed∈ℕK_{\mathrm{seed}} \in \mathbb{N} consists of an integer radius rloc≥Kseedr_{\mathrm{loc}} \ge K_{\mathrm{seed}} and a marker assignment sending each f:ℤ→Σf : \mathbb{Z} \to \Sigma to a set ℳ(f)⊆ℤ\mathcal{M}(f) \subseteq \mathbb{Z}. Distinct x,y∈ℳ(f)x, y \in \mathcal{M}(f) satisfy |x−y|≥d|x - y| \ge d. For streams ff and f′f' and a position xx, if ff and f′f' agree on [x−rloc,x+rloc)[x - r_{\mathrm{loc}}, x + r_{\mathrm{loc}}), then x∈ℳ(f)⇔x∈ℳ(f′)x \in \mathcal{M}(f) \iff x \in \mathcal{M}(f'). At any position xx and for every a∈ℤa \in \mathbb{Z}, x∈ℳ(i↦f(i+a))x \in \mathcal{M}(i \mapsto f(i + a)) holds if and only if x+a∈ℳ(f)x + a \in \mathcal{M}(f). For an integer center zz, if [z−d,z+d]∩ℳ(f)=∅[z - d, z + d] \cap \mathcal{M}(f) = \emptyset, the length-KseedK_{\mathrm{seed}} factor f[z,z+Kseed)f[z, z + K_{\mathrm{seed}}) has a period aa with 0<a<d0 < a < d.

For a stream ff and a position zz, the length-KseedK_{\mathrm{seed}} seed is the factor of ff of that length starting at zz. A short-period continuation v:ℤ→Σv : \mathbb{Z} \to \Sigma of that seed with period bound dd is a bi-infinite word with a positive period a<da < d that agrees with ff on [z,z+Kseed)[z, z + K_{\mathrm{seed}}).✦

Episode endpoints

For bi-infinite words ff and vv and a seed of length KseedK_{\mathrm{seed}} starting at zz, the first mismatch q0q_0 after the seed is the integer position satisfying q0≥z+Kseedq_0 \ge z + K_{\mathrm{seed}}, agreement of ff and vv on [z,q0)[z, q_0), and f(q0)≠v(q0)f(q_0) \ne v(q_0).✦

For a stream ff with a seed of length KseedK_{\mathrm{seed}} starting at zz, period bound dd, tail length τtail∈ℤ\tau_{\mathrm{tail}} \in \mathbb{Z}, and optional position η0∈ℤ∪{⊥}\eta_0 \in \mathbb{Z} \cup \{\bot\}, where ⊥\bot denotes absence, a cut b∈ℤb \in \mathbb{Z} satisfies the episode endpoint condition if either η0=q0∈ℤ\eta_0 = q_0 \in \mathbb{Z} is the end anchor and b=q0+τtailb = q_0 + \tau_{\mathrm{tail}}, or η0=⊥\eta_0 = \bot and some short-period continuation vv of the seed at zz in ff has first mismatch q0q_0 after the seed with b=q0+τtailb = q_0 + \tau_{\mathrm{tail}}.✦

For modulus BB, step SstepS_{\mathrm{step}}, and base radius aa, the offset-dependent eligibility radius at displacement x∈ℤx \in \mathbb{Z} is a+(xmod⁡B)Sstepa + (x \bmod B) S_{\mathrm{step}}.✦ Given a marker set ℳ⊆ℤ\mathcal{M} \subseteq \mathbb{Z} and center z∈ℤz \in \mathbb{Z}, a position m∈ℳm \in \mathcal{M} is eligible if |m−z|≤a+((m−z)mod⁡B)Sstep|m - z| \le a + ((m - z) \bmod B)S_{\mathrm{step}}✦, and the eligible marker set consists of all eligible positions in the closed interval [z−(a+(B−1)Sstep),z+(a+(B−1)Sstep)][z - (a + (B - 1)S_{\mathrm{step}}), z + (a + (B - 1)S_{\mathrm{step}})].✦ The leftmost eligible marker search search⁡(ℳ,B,Sstep,a,z)\operatorname{search}(\mathcal{M}, B, S_{\mathrm{step}}, a, z) returns the minimum of the eligible marker set when it is nonempty, and ⊥\bot otherwise.✦ At center zz with shift bound wendw_{\mathrm{end}}, the search search⁡(ℳ,B,Sstep,a,z)\operatorname{search}(\mathcal{M}, B, S_{\mathrm{step}}, a, z) on marker set ℳ\mathcal{M} with modulus BB, step SstepS_{\mathrm{step}}, and base radius aa is unstable under shifts if some v∈ℤv \in \mathbb{Z} with B∣vB \mid v and |v|≤wend|v| \le w_{\mathrm{end}} satisfies search⁡(ℳ,B,Sstep,a,z)≠search⁡(ℳ,B,Sstep,a,z+v)\operatorname{search}(\mathcal{M}, B, S_{\mathrm{step}}, a, z) \ne \operatorname{search}(\mathcal{M}, B, S_{\mathrm{step}}, a, z + v).✦

Canonical episode parameters

A system of canonical episode parameters CendC_{\mathrm{end}} over Σ\Sigma specifies a modulus B>0B > 0, a step Sstep≥0S_{\mathrm{step}} \ge 0, a separation dend≥2d_{\mathrm{end}} \ge 2, a seed length Kend>3dend2K_{\mathrm{end}} > 3 d_{\mathrm{end}}^2, a seed offset δ∈ℤ\delta \in \mathbb{Z}, a tail length τtail>0\tau_{\mathrm{tail}} > 0, and a local marker rule RendR_{\mathrm{end}} over Σ\Sigma with separation dendd_{\mathrm{end}}, seed length KendK_{\mathrm{end}}, radius rendr_{\mathrm{end}}, and marker assignment ℳend\mathcal{M}_{\mathrm{end}}.✦

The uniform marker search radius WradW_{\mathrm{rad}} of canonical episode parameters CendC_{\mathrm{end}} is the distance bound Wrad=3dend+(B−1)SstepW_{\mathrm{rad}} = 3 d_{\mathrm{end}} + (B - 1)S_{\mathrm{step}}.✦ For a stream ff and canonical episode parameters CendC_{\mathrm{end}}, write CC for the parameter system in the subscripts of the canonical marker search ηC(f,z)\eta_C(f, z) and the large-radius marker search ζC(f,z)\zeta_C(f, z), which are the leftmost eligible marker searches on ℳend(f)\mathcal{M}_{\mathrm{end}}(f) at center z∈ℤz \in \mathbb{Z} with modulus BB, step SstepS_{\mathrm{step}}, and base radii dendd_{\mathrm{end}} and 3dend3 d_{\mathrm{end}}, respectively. The seed and search window are visible at zz within [s,b)[s, b) when s≤z−Wrad−rends \le z - W_{\mathrm{rad}} - r_{\mathrm{end}}, z+Wrad+rend≤bz + W_{\mathrm{rad}} + r_{\mathrm{end}} \le b, s≤zs \le z, and z+Kend≤bz + K_{\mathrm{end}} \le b.✦

Given a finite set O⊆ℤO \subseteq \mathbb{Z} and a reference position t0∈ℤt_0 \in \mathbb{Z}, the endpoint transfer guard on ff across [s,b)[s, b) holds if t0∈Ot_0 \in O and, writing zt=t+δz_t = t + \delta, for every t∈Ot \in O the seed and search window are visible at ztz_t within [s,b)[s, b), ηC(f,zt)=ηC(f,zt0)\eta_C(f, z_t) = \eta_C(f, z_{t_0}), and ζC(f,zt)=ζC(f,zt0)\zeta_C(f, z_t) = \zeta_C(f, z_{t_0}), and moreover bb satisfies the episode endpoint condition for ff at zt0z_{t_0} with optional marker ηC(f,zt0)\eta_C(f, z_{t_0}) and parameters (dend,Kend,τtail)(d_{\mathrm{end}}, K_{\mathrm{end}}, \tau_{\mathrm{tail}}).✦

Robust tag clocks

Write 𝕋=ℝ/ℤ\mathbb{T} = \mathbb{R}/\mathbb{Z} for the additive circle of real numbers modulo one, and equip a product torus 𝒯=𝕋C\mathcal{T} = \mathbb{T}^C indexed by a finite coordinate set CC with the supremum metric dist\operatorname{dist}.✦

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 Λ\Lambda, vertices 𝒫\mathcal{P}, and coordinates CC, a robust tag clock 𝒦\mathcal{K} specifies windows Iα,Jα⊆𝒯I_\alpha, J_\alpha \subseteq \mathcal{T} for α∈Λ\alpha \in \Lambda, an exceptional set W⊆𝒯W \subseteq \mathcal{T}, points vp∈𝒯v_p \in \mathcal{T} for p∈𝒫p \in \mathcal{P}, and constants ρcl>0\rho_{\mathrm{cl}} > 0 and ηcl>0\eta_{\mathrm{cl}} > 0 with three properties: ℰz={(γ,ν)∈Λ2:z∈Iγ+Jν} lies in the diagonal or is a singleton {(α,λ)} with α≠λ.\mathcal{E}_z = \{(\gamma, \nu) \in \Lambda^2 : z \in I_\gamma + J_\nu\} \text{ lies in the diagonal or is a singleton } \{(\alpha, \lambda)\} \text{ with } \alpha \ne \lambda.(4) The compatibility relation in (4) has the stated form at every z∈𝒯z \in \mathcal{T}. At a phase z∉Wz \notin W, each tag α∈Λ\alpha \in \Lambda has a center i∈𝒯i \in \mathcal{T} such that every x∈𝒯x \in \mathcal{T} with dist⁡(x,i)<ρcl\operatorname{dist}(x, i) < \rho_{\mathrm{cl}} satisfies x∈Iαx \in I_\alpha and z−x∈Jαz - x \in J_\alpha. For a perturbation v′:𝒫→𝒯v' : \mathcal{P} \to \mathcal{T} satisfying dist⁡(vp′,vp)<ηcl\operatorname{dist}(v'_p, v_p) < \eta_{\mathrm{cl}} at every p∈𝒫p \in \mathcal{P} and any a∈𝒯a \in \mathcal{T}, the number of ordered pairs (p,q)∈𝒫2(p,q) \in \mathcal{P}^2 such that p≠qp \ne q and a+vq′−vp′∈Wa + v'_q - v'_p \in W is at most 107log⁡(2|Λ|)10^7 \log(2|\Lambda|).

Exceptional origins

For a marker set ℳ⊆ℤ\mathcal{M} \subseteq \mathbb{Z} and endpoints l1,l2∈ℤl_1, l_2 \in \mathbb{Z}, the first marker in the closed window [l1,l2][l_1, l_2] is min⁡(ℳ∩[l1,l2])\min(\mathcal{M} \cap [l_1, l_2]) when this intersection is nonempty, and ⊥\bot otherwise.✦ Given start zz, horizon HvalH_{\mathrm{val}}, shift bound w0w_0, and extension EextE_{\mathrm{ext}}, an inner search failure occurs on ℳ\mathcal{M} if either some v∈ℤv \in \mathbb{Z} with |v|≤w0|v| \le w_0 changes the first marker from [z,z+Hval][z, z + H_{\mathrm{val}}] to [z+v,z+Hval+v][z + v, z + H_{\mathrm{val}} + v], or the search on [z,z+Hval][z, z + H_{\mathrm{val}}] returns ⊥\bot while ℳ∩[z,z+Hval+Eext]\mathcal{M} \cap [z, z + H_{\mathrm{val}} + E_{\mathrm{ext}}] is nonempty.✦

For alphabet Σ\Sigma, boundary index set JJ, and clock coordinate set CC, a system of exceptional origin parameters 𝒜\mathcal{A} specifies canonical episode parameters CendC_{\mathrm{end}} of modulus B>0B > 0, an inner local marker rule RinR_{\mathrm{in}} with separation dind_{\mathrm{in}}, seed length KinK_{\mathrm{in}}, radius rinr_{\mathrm{in}}, and marker assignment ℳin\mathcal{M}_{\mathrm{in}}, boundary offsets o:J→ℤo : J \to \mathbb{Z}, residue-indexed horizons Hhor:{0,…,B−1}→ℤH_{\mathrm{hor}} : \{0, \ldots, B-1\} \to \mathbb{Z}, an end shift bound wend∈ℤw_{\mathrm{end}} \in \mathbb{Z}, an inner shift bound w0∈ℤw_0 \in \mathbb{Z}, a window extension Eext∈ℤE_{\mathrm{ext}} \in \mathbb{Z}, an additive homomorphism φ:ℤ→𝕋C\varphi : \mathbb{Z} \to \mathbb{T}^C, and an exceptional set W⊆𝕋CW \subseteq \mathbb{T}^C.✦

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 q0q_0. Given a stream ff, end anchor q0∈ℤq_0 \in \mathbb{Z}, and origin t∈ℤt \in \mathbb{Z}, the clock anchor q𝒜(f,q0,t)q_{\mathcal{A}}(f, q_0, t) equals ζCend(f,t+δ)\zeta_{C_{\mathrm{end}}}(f, t + \delta) when that search returns a position, and q0q_0 otherwise.✦

For exceptional origin parameters 𝒜\mathcal{A}, a stream ff, a boundary index j∈Jj \in J, a residue u∈{0,…,B−1}u \in \{0, \ldots, B-1\}, and an origin t∈ℤt \in \mathbb{Z}, the single inner marker search inner⁡𝒜(f,j,u,t)\operatorname{inner}_{\mathcal{A}}(f, j, u, t) returns the first marker of ℳin(f)\mathcal{M}_{\mathrm{in}}(f) in [t+oj,t+oj+Hhor(u)][t + o_j, t + o_j + H_{\mathrm{hor}}(u)], or ⊥\bot if there is none.✦ For exceptional origin parameters 𝒜\mathcal{A}, the inner window at boundary index jj, residue uu, and origin tt is visible within [s,b)[s, b) if s≤t+oj−rins \le t + o_j - r_{\mathrm{in}} and t+oj+Hhor(u)+rin≤bt + o_j + H_{\mathrm{hor}}(u) + r_{\mathrm{in}} \le b.✦ For the positive modulus BB and an integer z∈ℤz \in \mathbb{Z}, write res⁡B(z)∈{0,…,B−1}\operatorname{res}_B(z) \in \{0, \ldots, B-1\} for the remainder of zz modulo BB.✦

An origin t∈ℤt \in \mathbb{Z} satisfies the end instability condition Z(f,t)Z(f, t) if ℳend(f)\mathcal{M}_{\mathrm{end}}(f) is unstable under shifts at t+δt + \delta with modulus BB, step SstepS_{\mathrm{step}}, shift bound wendw_{\mathrm{end}}, and base radius either dendd_{\mathrm{end}} or 3dend3 d_{\mathrm{end}}.✦ For exceptional origin parameters 𝒜\mathcal{A}, the clock or inner failure condition Star⁡(f,t,q)\operatorname{Star}(f, t, q) on a stream ff at origin tt with clock anchor qq holds if either φ(q−t)∈W\varphi(q - t) \in W or some j∈Jj \in J gives an inner search failure on ℳin(f)\mathcal{M}_{\mathrm{in}}(f) at start t+ojt + o_j, horizon Hhor(res⁡B(q−t))H_{\mathrm{hor}}(\operatorname{res}_B(q - t)), shift bound w0w_0, and extension EextE_{\mathrm{ext}}.✦ An origin tt is exceptional on ff with clock anchor qq if Z(f,t)Z(f, t) or Star⁡(f,t,q)\operatorname{Star}(f, t, q) holds.✦

End and inner window visibility within [s,b)[s, b) at (t,q)(t, q) requires three conditions: the seed and search window of CendC_{\mathrm{end}} are visible at t+δt + \delta within [s,b)[s, b); for every v∈ℤv \in \mathbb{Z} with B∣vB \mid v and |v|≤wend|v| \le w_{\mathrm{end}}, both s≤t+δ+v−Wrad−rends \le t + \delta + v - W_{\mathrm{rad}} - r_{\mathrm{end}} and t+δ+v+Wrad+rend≤bt + \delta + v + W_{\mathrm{rad}} + r_{\mathrm{end}} \le b hold; and for every j∈Jj \in J, s≤t+oj−w0−rins \le t + o_j - w_0 - r_{\mathrm{in}} and t+oj+Hhor(res⁡B(q−t))+max⁡(Eext,w0)+rin≤bt + o_j + H_{\mathrm{hor}}(\operatorname{res}_B(q - t)) + \max(E_{\mathrm{ext}}, w_0) + r_{\mathrm{in}} \le b.✦

Homogeneous clock lifts

Let KK be a commutative semiring, let SS be a KK-module, let L:S→SL : S \to S be a KK-linear endomorphism, and let b∈Sb \in S. The homogeneous lift of the affine map x↦Lx+bx \mapsto Lx + b is the KK-linear endomorphism fˆ:S×K→S×K\widehat{f} : S \times K \to S \times K given by fˆ(x,c)=(Lx+cb,c).\widehat{f}(x, c) = (Lx + cb, c).(5)✦

For g∈ℕg \in \mathbb{N}, a boundary factor tuple (A,e,C)(A, e, C) over MM consists of A,C∈MA, C \in M and interior factors e=(e0,…,eg−1)∈Mge = (e_0, \ldots, e_{g-1}) \in M^g.✦ An interval product snapshot DsnapD_{\mathrm{snap}} over MM with gg interior slots records a total product m∈Mm \in M and an optional boundary factor tuple (A,e,C)(A, e, C) satisfying m=Ae0⋯eg−1Cm = A e_0 \cdots e_{g-1} C whenever the tuple is present.✦ A tail product with boundaries DD over MM consists likewise of a tail product p∈Mp \in M and an optional boundary factor tuple satisfying p=Ae0⋯eg−1Cp = A e_0 \cdots e_{g-1} C when present✦; substituting a prefix product m∈Mm \in M into DD produces the interval product snapshot D[m]D[m] with total product mpmp and, when DD carries (A,e,C)(A, e, C), boundary tuple (mA,e,C)(mA, e, C).✦

The defaulted positions of a search family σ:{0,…,g}→ℤ∪{⊥}\sigma : \{0, \ldots, g\} \to \mathbb{Z} \cup \{\bot\} are pi=σip_i = \sigma_i when σi∈ℤ\sigma_i \in \mathbb{Z} and pi=0p_i = 0 otherwise.✦ A search family σ:{0,…,g}→ℤ∪{⊥}\sigma : \{0, \ldots, g\} \to \mathbb{Z} \cup \{\bot\} has ordered markers within cuts ss and bb if every search returns its defaulted position σi=pi\sigma_i = p_i and s≤p0≤⋯≤pg≤bs \le p_0 \le \cdots \le p_g \le b.✦ The optional boundary factorization of a stream ff on [s,b)[s, b) under the monoid morphism TT for a search family σ\sigma with defaulted positions pip_i is a boundary factor tuple present exactly when σ\sigma has ordered markers within cuts ss and bb.✦ Its left factor is ΠT(f;s,p0)\Pi_T(f; s, p_0), its interior factors are ΠT(f;pi,pi+1)\Pi_T(f; p_i, p_{i+1}) for 0≤i<g0 \le i < g, and its right factor is ΠT(f;pg,b)\Pi_T(f; p_g, b). For a stream ff, cuts aa and bb, a search family σ\sigma, and a monoid morphism TT, the stream tail snapshot later⁡T(f,a,b,σ)\operatorname{later}_T(f, a, b, \sigma) is the tail product with boundaries consisting of the interval product ΠT(f;a,b)\Pi_T(f; a, b) and the optional boundary factorization of ff on [a,b)[a, b) under TT for σ\sigma.✦

Given a robust tag clock 𝒦\mathcal{K} on tags Λ\Lambda and phase z∈𝕋Cz \in \mathbb{T}^C, a clock compatibility edge from a∈Λa \in \Lambda to b∈Λb \in \Lambda is a pair (a,b)∈ℰz(a, b) \in \mathcal{E}_z from (4).✦ The off-diagonal edge choice off⁡(z)\operatorname{off}(z) selects one compatibility edge (a,b)(a, b) at zz with a≠ba \ne b if one exists, and returns ⊥\bot otherwise.✦ Given any function ρ:M→End⁡K(S)\rho : M \to \operatorname{End}_K(S), tag maps X,Y:Λ→SX, Y : \Lambda \to S, and a boundary correction β:M×M×Mg→S\beta : M \times M \times M^g \to S, the affine translation term shift⁡(z,Dsnap)∈S\operatorname{shift}(z, D_{\mathrm{snap}}) \in S for a snapshot DsnapD_{\mathrm{snap}} with product mm is shift⁡(z,Dsnap)={Y(b)−ρ(m)(X(a)),if off⁡(z)=(a,b),β(A,C,e),if off⁡(z)=⊥ and Dsnap has tuple (A,e,C),0,if off⁡(z)=⊥ and Dsnap has no tuple.\operatorname{shift}(z, D_{\mathrm{snap}}) = \begin{cases} Y(b) - \rho(m)(X(a)), & \text{if } \operatorname{off}(z) = (a, b), \\ \beta(A, C, e), & \text{if } \operatorname{off}(z) = \bot \text{ and } D_{\mathrm{snap}} \text{ has tuple } (A, e, C), \\ 0, & \text{if } \operatorname{off}(z) = \bot \text{ and } D_{\mathrm{snap}} \text{ has no tuple}. \end{cases}(6)✦

The hypothetical clock lift records, across all hypothetical prefix products in MM, the lifted affine action on S×KS \times K induced by a tail product with boundaries at clock phase zz. At clock phase zz, the hypothetical clock lift Ψˆ(z,D):M→End⁡K(S×K)\widehat{\Psi}(z, D) : M \to \operatorname{End}_K(S \times K) of a tail product with boundaries DD and total tail product pp sends m∈Mm \in M to the homogeneous lift of x↦ρ(mp)x+shift⁡(z,D[m])x \mapsto \rho(mp)x + \operatorname{shift}(z, D[m]), with shift⁡(z,Dsnap)\operatorname{shift}(z, D_{\mathrm{snap}}) defined by (6).✦

Outer suffix languages

For g∈ℕg \in \mathbb{N} and a slot j∈{0,…,g−1}j \in \{0, \ldots, g-1\}, a family of factors excluding slot jj assigns an element of MM to each i∈{0,…,g−1}i \in \{0, \ldots, g-1\} with i≠ji \ne j.✦ A main cut tag α\alpha for monoid MM, state space VV, and modulus B>0B > 0 consists of a slot j∈{0,…,g−1}j \in \{0, \ldots, g-1\}, a residue u∈{0,…,B−1}u \in \{0, \ldots, B-1\}, boundary factors A,C∈MA, C \in M, factors ei∈Me_i \in M for i≠ji \ne j, and states in⁡(α),out⁡(α)∈V\operatorname{in}(\alpha), \operatorname{out}(\alpha) \in V.✦ A periodic cut tag α\alpha for a monoid MM, state space VV, modulus B>0B > 0, and gg blocks consists of an index j∈{0,…,g}j \in \{0, \ldots, g\}, a residue u∈{0,…,B−1}u \in \{0, \ldots, B-1\}, a prefix product ppre∈Mp_{\mathrm{pre}} \in M, and states in⁡(α),out⁡(α)∈V\operatorname{in}(\alpha), \operatorname{out}(\alpha) \in V.✦ For a monoid MM, state space VV, modulus B>0B > 0, and gg blocks, the outer cut tags are the main cut tags and the periodic cut tags for those data✦; each such tag α\alpha has input state in⁡(α)\operatorname{in}(\alpha), output state out⁡(α)\operatorname{out}(\alpha), and residue res⁡(α)=u\operatorname{res}(\alpha) = u, where uu is the residue recorded in the tag. When MM and VV are finite, the periodic cut tags form a finite set.

An outer cut schedule HH for gg blocks and modulus BB assigns main base offsets hmain(j)∈ℤh_{\mathrm{main}}(j) \in \mathbb{Z} (0≤j<g0 \le j < g) and periodic base offsets hper(j,u)∈ℤh_{\mathrm{per}}(j, u) \in \mathbb{Z} (0≤j≤g0 \le j \le g, 0≤u<B0 \le u < B), together with repetition counts R>0R > 0 and N>0N > 0.✦ Each cut role of HH is either a main role jj (with base offset hmain(j)h_{\mathrm{main}}(j) and count RR) or a periodic role (j,u)(j, u) (with base offset hper(j,u)h_{\mathrm{per}}(j, u) and count NN). For each cut role of an outer cut schedule HH, write hroleh_{\mathrm{role}} for its base offset. The outer cut offset set of HH consists of all hrole+aBh_{\mathrm{role}} + aB over the cut roles and integers 0≤a0 \le a less than the corresponding role’s count✦, and the candidate origins at cut k∈ℤk \in \mathbb{Z} are the integers k−hk - h for hh in this offset set.✦

For a stream ff and exceptional origin parameters 𝒜\mathcal{A} with boundary index set J={0,…,g}J = \{0, \ldots, g\}, the family of inner marker searches σ𝒜(f,u,t)\sigma_{\mathcal{A}}(f, u, t) at residue uu and origin tt assigns inner⁡𝒜(f,i,u,t)\operatorname{inner}_{\mathcal{A}}(f, i, u, t) to each 0≤i≤g0 \le i \le g.✦ For a main cut tag α\alpha with slot jj, right factor CC, and factors eie_i (i≠ji \ne j), a search family η:{0,…,g}→ℤ∪{⊥}\eta : \{0, \ldots, g\} \to \mathbb{Z} \cup \{\bot\} with defaulted positions pip_i yields an observed main suffix on a stream ff ending at bb if ηi\eta_i exists for every boundary index i>ji > j, ΠT(f;pg,b)=C\Pi_T(f; p_g, b) = C, and ΠT(f;pi,pi+1)=ei\Pi_T(f; p_i, p_{i+1}) = e_i for every i>ji > j with i<gi < g.✦ A search family η\eta yields a bounded ordered main suffix for a main cut tag α\alpha with slot jj on a stream ff from kk to bb if it yields an observed main suffix for α\alpha ending at bb and its defaulted positions pip_i satisfy k≤pi≤bk \le p_i \le b for all boundary indices i>ji > j and pi≤pi+1p_i \le p_{i+1} for all i>ji > j with i<gi < g.✦

For a main cut tag α\alpha with slot jj and residue uu, write ta=k−hmain(j)−aBt_a = k - h_{\mathrm{main}}(j) - aB. A stream ff satisfies the main suffix condition with stable markers from kk to bb if for every 0≤a<R0 \le a < R and every i>ji > j, the inner window at (ta,i,u)(t_a, i, u) is visible within [k,b)[k, b) and inner⁡𝒜(f,i,u,ta)=inner⁡𝒜(f,i,u,t0)\operatorname{inner}_{\mathcal{A}}(f, i, u, t_a) = \operatorname{inner}_{\mathcal{A}}(f, i, u, t_0), and σ𝒜(f,u,t0)\sigma_{\mathcal{A}}(f, u, t_0) yields a bounded ordered main suffix for α\alpha from kk to bb.✦

The suffix clock anchor for exceptional origin parameters 𝒜\mathcal{A}, a stream ff, cuts kk and bb, and a reference offset h*∈ℤh_* \in \mathbb{Z} is the integer position qsuf(h*,k,b,f)=q𝒜(f,b−τtail,k−h*)q_{\mathrm{suf}}(h_*, k, b, f) = q_{\mathcal{A}}(f, b - \tau_{\mathrm{tail}}, k - h_*).✦ For exceptional origin parameters 𝒜\mathcal{A}, an outer cut schedule HH, a robust tag clock 𝒦\mathcal{K} on outer cut tags, a monoid morphism TT, any function ρ:M→End⁡K(V)\rho : M \to \operatorname{End}_K(V) (including functions that fail to preserve the identity or multiplication), and a reference offset h*h_*, the tagged suffix condition on a stream ff for an outer cut tag α\alpha between cuts kk and bb requires k≤bk \le b and the endpoint transfer guard on ff across [k,b)[k, b) for the candidate origins of HH at kk with reference origin k−h*k - h_*. With q=qsuf(h*,k,b,f)q = q_{\mathrm{suf}}(h_*, k, b, f), it also requires φ(q−k)∈Jα\varphi(q - k) \in J_\alpha and res⁡B(q−k)=res⁡(α)\operatorname{res}_B(q - k) = \operatorname{res}(\alpha). For a main cut tag, the stream must satisfy the main suffix condition with stable markers from kk to bb. For a periodic cut tag with prefix product pprep_{\mathrm{pre}}, it must satisfy out⁡(α)=ρ(ppreΠT(f;k,b))(in⁡(α))\operatorname{out}(\alpha) = \rho(p_{\mathrm{pre}} \, \Pi_T(f; k, b))(\operatorname{in}(\alpha)). For output y∈Vy \in V, the outer suffix language Lout(h*,y)⊆Σ*L_{\mathrm{out}}(h_*, y) \subseteq \Sigma^* is the union over all outer cut tags α\alpha with out⁡(α)=y\operatorname{out}(\alpha) = y of the languages induced by the stream test checking this tagged suffix condition from 00 to |w||w| on ff.✦

Inner suffix languages

Let SS be a KK-module and g′∈ℕg' \in \mathbb{N}. 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 κ\kappa with an omitted factor, over a monoid MM and a KK-module SS with g′g' slots, consists of an omitted slot j∈{0,…,g′−1}j \in \{0, \ldots, g'-1\}, input and output states in⁡(κ),out⁡(κ)∈S\operatorname{in}(\kappa), \operatorname{out}(\kappa) \in S, recorded factors ei∈Me_i \in M for i≠ji \ne j, and a hypothetical action ψκ:M→End⁡K(S)\psi_\kappa : M \to \operatorname{End}_K(S).✦ For multiplicity μ=1\mu = 1, each split type κ\kappa has a single split roster entry (κ,0)(\kappa, 0). A split roster entry for multiplicity μ∈ℕ\mu \in \mathbb{N} is a pair (κ,c)(\kappa, c) consisting of a split type κ\kappa and a copy index 0≤c<μ0 \le c < \mu.✦ Given boundaries c0,…,cg′∈ℤc_0, \ldots, c_{g'} \in \mathbb{Z} and an action ψ:M→End⁡K(S)\psi : M \to \operatorname{End}_K(S), a stream ff matches the later products and hypothetical action for κ\kappa if ΠT(f;ci,ci+1)=ei\Pi_T(f; c_i, c_{i+1}) = e_i for every i>ji > j and ψ=ψκ\psi = \psi_\kappa.✦

For a finite index set 𝒫\mathcal{P} with offsets p:𝒫→ℤp : \mathcal{P} \to \mathbb{Z}, lag ℓ∈ℤ\ell \in \mathbb{Z}, and cut k∈ℤk \in \mathbb{Z}, the candidate origin of i∈𝒫i \in \mathcal{P} is τi=k+ℓ−pi\tau_i = k + \ell - p_i.✦ For exceptional origin parameters 𝒜\mathcal{A}, a stream ff ending at cut bb, and each candidate index i∈𝒫i \in \mathcal{P}, write qi=q𝒜(f,b−τtail,τi)q_i = q_{\mathcal{A}}(f, b - \tau_{\mathrm{tail}}, \tau_i) for the clock anchor at its candidate origin. Let r*∈𝒫r_* \in \mathcal{P} be the reference index and r∈𝒫r \in \mathcal{P} the decoded index. The suffix decoding test on ff from kk to bb requires four conditions: end and inner window visibility within [k,b)[k, b) at (τi,qi)(\tau_i, q_i) for every i∈𝒫i \in \mathcal{P}; whenever ζCend(f,τi+δ)=⊥\zeta_{C_{\mathrm{end}}}(f, \tau_i + \delta) = \bot for some i∈𝒫i \in \mathcal{P}, then ηCend(f,τi+δ)=⊥\eta_{C_{\mathrm{end}}}(f, \tau_i + \delta) = \bot for all i∈𝒫i \in \mathcal{P} and the episode endpoint condition holds at bb for (τr*+δ,⊥)(\tau_{r_*} + \delta, \bot); rr is the unique index i∈𝒫i \in \mathcal{P} that is exceptional on ff with clock anchor qiq_i at origin τi\tau_i; and the episode endpoint condition holds at bb for (τr+δ,ηCend(f,τr+δ))(\tau_r + \delta, \eta_{C_{\mathrm{end}}}(f, \tau_r + \delta)).✦

Take S=V×KS = V \times K for a KK-module VV, any finite clock vertex set 𝒫\mathcal{P} chosen independently of the split roster that indexes pp and r*r_*, a robust tag clock 𝒦\mathcal{K} on outer cut tags Λ\Lambda (with tag input and output maps in⁡,out⁡:Λ→V\operatorname{in}, \operatorname{out} : \Lambda \to V) and vertices 𝒫\mathcal{P}, any function ρ:M→End⁡K(V)\rho : M \to \operatorname{End}_K(V) (with no requirement that it preserve the identity or multiplication), a boundary correction β:M×M×Mg→V\beta : M \times M \times M^g \to V taking the gg interior factors from the outer boundaries (where the outer block count gg and the inner slot count g′g' may differ), and early cut offsets eearly:{0,…,g′}→ℤe_{\mathrm{early}} : \{0, \ldots, g'\} \to \mathbb{Z}. For stream ff, cuts s,bs, b, and origin tt, setting q=q𝒜(f,b−τtail,t)q = q_{\mathcal{A}}(f, b - \tau_{\mathrm{tail}}, t) and D=later⁡T(f,s+eearly(g′),b,σ𝒜(f,res⁡B(q−t),t))D = \operatorname{later}_T(f, s + e_{\mathrm{early}}(g'), b, \sigma_{\mathcal{A}}(f, \operatorname{res}_B(q - t), t)), the hypothetical stream lift Ψˆin(f,s,b,t)\widehat{\Psi}_{\mathrm{in}}(f, s, b, t) is Ψˆ(φ(q−t),D):M→End⁡K(V×K)\widehat{\Psi}(\varphi(q - t), D) : M \to \operatorname{End}_K(V \times K).✦

A stream ff has a decoder-checked inner suffix on [k,b)[k, b) for reference r*r_* and candidate r=(κ,c)r = (\kappa, c) if the suffix decoding test holds for rr relative to r*r_* at origins τi=k+ℓ−pi\tau_i = k + \ell - p_i, and κ\kappa matches the later products at boundaries k−pr+eearly(i)k - p_r + e_{\mathrm{early}}(i) (0≤i≤g′0 \le i \le g') and the hypothetical stream lift Ψˆin(f,k−pr,b,k−pr+ℓ)\widehat{\Psi}_{\mathrm{in}}(f, k - p_r, b, k - p_r + \ell).✦ For output y′∈V×Ky' \in V \times K, the output-indexed inner suffix language Lin(r*,y′)⊆Σ*L_{\mathrm{in}}(r_*, y') \subseteq \Sigma^* is the union over all split roster entries r=(κ,c)r = (\kappa, c) with out⁡(κ)=y′\operatorname{out}(\kappa) = y' of the languages induced by the stream test checking this decoder-checked inner suffix condition from 00 to |w||w| on ff.✦

The claim

Proposition. Let Σ\Sigma be a finite alphabet, MM a finite monoid, VV a finite vector space over a field KK (with VV an abelian group under addition), and CC a finite coordinate set, with boundary index set J={0,…,g}J = \{0, \ldots, g\} indexing the boundaries of the gg outer blocks. Fix exceptional origin parameters 𝒜\mathcal{A} over (Σ,J,C)(\Sigma, J, C) with clock homomorphism φ\varphi, a monoid morphism T:Σ*→MT : \Sigma^* \to M, an arbitrary function ρ:M→End⁡K(V)\rho : M \to \operatorname{End}_K(V), and an integer n>0n > 0 such that φ(n)=0\varphi(n) = 0.

For any outer cut schedule HH, any robust tag clock 𝒦\mathcal{K} on the outer cut tags, any reference offset h*∈ℤh_* \in \mathbb{Z}, and any output state y∈Vy \in V, the outer suffix language satisfies h(Lout(h*,y))≤1.h\bigl(L_{\mathrm{out}}(h_*, y)\bigr) \le 1.(7)✦

For the inner bound, suppose further that KK is a finite field. Assume w0≥0w_0 \ge 0 and fix a robust tag clock 𝒦′\mathcal{K}' on the outer cut tags with finite vertex set 𝒫\mathcal{P}, a boundary correction β:M×M×Mg→V\beta : M \times M \times M^g \to V whose third argument gives the gg interior factors between the g+1g+1 outer boundaries, early offsets eearlye_{\mathrm{early}}, roster offsets pp, a lag ℓ\ell, and a reference split roster entry r*r_*. For every output state y′∈V×Ky' \in V \times K, the inner suffix language satisfies the star height bound in (8). h(Lin(r*,y′))≤1.h\bigl(L_{\mathrm{in}}(r_*, y')\bigr) \le 1.(8)✦

What is checked

The outer suffix bound (7) is stated over a finite alphabet, exceptional origin parameters with a positive integer nn in the kernel of φ\varphi, an outer cut schedule, a robust tag clock, a monoid morphism TT, an action ρ\rho on VV, a reference offset, and an output state in VV; the inner suffix bound (8) is stated under the additional assumption w0≥0w_0 \ge 0 over a boundary correction, early offsets, roster offsets, a lag, a reference split roster entry, and an output state in V×KV \times K.