OctoInform Beta

OpenAI preprint, September 2026 · §10. Component expressions and the final remainder · §10 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 8.3 · Generalized Star Height at Most Four, Lemma 7.3

Lemma 10.3 (remainder fibers): Every finite monoid homomorphism fiber of words over a nonempty finite alphabet without complete episode prefixes, with seeds and search windows inside episodes

Generalized star height at most one.

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

Fix a nonempty finite alphabet Σ\Sigma, a finite monoid MM, and a monoid homomorphism T:Σ*→MT : \Sigma^* \to M multiplying letter images in the order in which the letters are read. A remainder word ww for a language E⊆Σ*E \subseteq \Sigma^* of complete episodes is a word in Σ*\Sigma^* having no member of EE as a prefix, where episode endpoints are determined by marker search and by mismatches with short-period continuations when the search returns no position. When every episode contains the block used as the seed for periodic continuation and all the positions required for the marker search, how small a generalized star height suffices for the intersection of the remainder language with the fiber of TT over any element m0∈Mm_0 \in M?

Generalized star height

A generalized regular expression PP over Σ\Sigma is an expression built from the letters σ∈Σ\sigma \in \Sigma and the constants 00 for the empty language and 11 for the language consisting only of the empty word, by finitely many applications of union, concatenation, complement in Σ*\Sigma^*, and Kleene closure.✦

The denoted language L(P)⊆Σ*L(P) \subseteq \Sigma^* of a generalized regular expression PP over Σ\Sigma is given recursively for expressions P,QP, Q over Σ\Sigma and letters σ∈Σ\sigma \in \Sigma by L(0)=0,L(1)=1,L(σ)={σ},L(P∪Q)=L(P)∪L(Q),L(PQ)=L(P)L(Q),L(¬P)=Σ*\L(P),L(P*)=L(P)*.\begin{aligned} L(0) &= 0, & L(1) &= 1, & L(\sigma) &= \{\sigma\}, \\ L(P \cup Q) &= L(P) \cup L(Q), & L(PQ) &= L(P)L(Q), \\ L(\neg P) &= \Sigma^* \setminus L(P), & L(P^*) &= L(P)^*. \end{aligned}(1)✦

The expression star height h(P)h(P) of a generalized regular expression PP over Σ\Sigma is the natural number that gives the maximum nesting depth of Kleene stars in PP, as specified by the following recursion. h(0)=h(1)=h(σ)=0,h(P∪Q)=h(PQ)=max⁡{h(P),h(Q)},h(¬P)=h(P),h(P*)=1+h(P).\begin{aligned} h(0) = h(1) = h(\sigma) &= 0, & h(P \cup Q) = h(PQ) &= \max\{h(P), h(Q)\}, \\ h(\neg P) &= h(P), & h(P^*) &= 1 + h(P). \end{aligned}(2)✦

For a natural number nn, a language L⊆Σ*L \subseteq \Sigma^* has generalized star height at most nn, written hΣ(L)≤nh_\Sigma(L) \le n, if there exists a generalized regular expression PP over Σ\Sigma with L(P)=LL(P) = L under (1) and h(P)≤nh(P) \le n under (2).✦

Remainder languages

For a language E⊆Σ*E \subseteq \Sigma^*, the remainder language R(E)⊆Σ*R(E) \subseteq \Sigma^* is the set of words w∈Σ*w \in \Sigma^* having no word of EE as a prefix.

Local marker rules

With w[j]w[j] denoting the letter at index jj in a finite word w∈Σ*w \in \Sigma^* of length nn, indexed from zero, ww occurs at an integer position ss in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma if f(s+j)=w[j]f(s + j) = w[j] for every index j∈{0,…,n−1}j \in \{0, \ldots, n - 1\}.✦

Two bi-infinite words f,g:ℤ→Σf, g : \mathbb{Z} \to \Sigma agree on [x0,x1)[x_0, x_1), for integers x0x_0 and x1x_1, if f(x)=g(x)f(x) = g(x) for every integer xx with x0≤x<x1x_0 \le x < x_1.✦

A period pp of a finite word uu of length KK over Σ\Sigma is a natural number for which u[i]=u[j]u[i] = u[j] for all indices i,j∈{0,…,K−1}i, j \in \{0, \ldots, K - 1\} with i+p=ji + p = j.✦

A local marker rule distinguishes regions without a short period in a word by placing dd-separated markers within distance dd of every block of length KK that lacks a period smaller than dd. For natural numbers dd and KK, a local marker rule ℛ\mathcal{R} over Σ\Sigma with separation dd and block length KK consists of an integer radius r≥Kr \ge K and a marker assignment Λℛ\Lambda_{\mathcal{R}} sending each bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma to a set Λℛ(f)⊆ℤ\Lambda_{\mathcal{R}}(f) \subseteq \mathbb{Z} with the following properties.✦ Any two distinct markers x,y∈Λℛ(f)x, y \in \Lambda_{\mathcal{R}}(f) satisfy |x−y|≥d|x - y| \ge d. For any bi-infinite word g:ℤ→Σg : \mathbb{Z} \to \Sigma and integer position xx, if ff and gg agree on [x−r,x+r)[x - r, x + r), then x∈Λℛ(f)x \in \Lambda_{\mathcal{R}}(f) if and only if x∈Λℛ(g)x \in \Lambda_{\mathcal{R}}(g). For all c,x∈ℤc, x \in \mathbb{Z}, x∈Λℛ(i↦f(i+c))x \in \Lambda_{\mathcal{R}}(i \mapsto f(i + c)) if and only if x+c∈Λℛ(f)x + c \in \Lambda_{\mathcal{R}}(f). For each integer center zz, if the closed interval [z−d,z+d][z - d, z + d] contains no marker of Λℛ(f)\Lambda_{\mathcal{R}}(f), then the word i↦f(z+i)i \mapsto f(z + i) of length KK has a word period pp with 0<p<d0 < p < d.

A bi-infinite word v:ℤ→Σv : \mathbb{Z} \to \Sigma is a short-period continuation of the block of length KK starting at z∈ℤz \in \mathbb{Z} in f:ℤ→Σf : \mathbb{Z} \to \Sigma, with period bound dd, if vv agrees with ff on [z,z+K)[z, z + K) and satisfies v(x+p)=v(x)v(x + p) = v(x) for all x∈ℤx \in \mathbb{Z} for some integer period 0<p<d0 < p < d.✦

Marker search

For an integer modulus BB, an integer step SS, and an integer baseline radius ρ\rho, the offset-dependent eligibility radius at displacement x∈ℤx \in \mathbb{Z} is given by ΔB,S,ρ(x)=ρ+(xmod⁡B)S\Delta_{B,S,\rho}(x) = \rho + (x \bmod B)S.✦ Given a marker set Λ⊆ℤ\Lambda \subseteq \mathbb{Z}, integers B,S,ρB, S, \rho, and a center z∈ℤz \in \mathbb{Z}, a position y∈ℤy \in \mathbb{Z} satisfies the marker eligibility condition at zz if y∈Λy \in \Lambda and |y−z|≤ΔB,S,ρ(y−z)|y - z| \le \Delta_{B,S,\rho}(y - z).✦

The eligible marker set F(Λ,B,S,ρ,z)F(\Lambda, B, S, \rho, z) for Λ⊆ℤ\Lambda \subseteq \mathbb{Z} and integers B,S,ρ,zB, S, \rho, z is the finite set of positions yy in the closed integer interval [z−(ρ+(B−1)S),z+(ρ+(B−1)S)][z - (\rho + (B - 1)S),\, z + (\rho + (B - 1)S)] satisfying the marker eligibility condition for (Λ,B,S,ρ)(\Lambda, B, S, \rho) at zz. The leftmost eligible marker search is the rule that, for Λ⊆ℤ\Lambda \subseteq \mathbb{Z} and integers B,S,ρ,zB, S, \rho, z, returns the least element of F(Λ,B,S,ρ,z)F(\Lambda, B, S, \rho, z) when that set is nonempty and returns no position otherwise.✦

Canonical episodes

A system CC of canonical episode parameters over Σ\Sigma specifies an integer modulus B>0B > 0, an integer step S≥0S \ge 0, a marker separation d∈ℕd \in \mathbb{N} with d≥2d \ge 2, a seed length K∈ℕK \in \mathbb{N} with K>3d2K > 3d^2, an integer seed offset δ\delta, an integer tail length t>0t > 0, and a local marker rule ℛ\mathcal{R} over Σ\Sigma with separation dd and block length KK.✦

The uniform marker search radius measures a fixed half-width around a search center that covers the interval searched by the leftmost eligible marker search when its baseline radius is the separation dd. For canonical episode parameters CC with marker separation dd, modulus BB, and step SS, the uniform marker search radius WW is the integer given by W=3d+(B−1)SW = 3d + (B - 1)S.✦

For canonical episode parameters CC with rule ℛ\mathcal{R}, modulus BB, step SS, and separation dd, a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, and a center z∈ℤz \in \mathbb{Z}, the canonical marker search ηC(f,z)\eta_C(f, z) returns the result of the leftmost eligible marker search on (Λℛ(f),B,S,d,z)(\Lambda_{\mathcal{R}}(f), B, S, d, z).✦

For canonical episode parameters CC with uniform marker search radius WW, seed length KK, and rule radius rr, and for integer cuts ss and bb, the seed and search window are visible at z∈ℤz \in \mathbb{Z} in [s,b)[s, b) if both [z,z+K)[z, z + K) and [z−W−r,z+W+r)[z - W - r, z + W + r) lie in [s,b)[s, b).✦

For bi-infinite words f,v:ℤ→Σf, v : \mathbb{Z} \to \Sigma, a seed start z∈ℤz \in \mathbb{Z}, and a seed length K∈ℕK \in \mathbb{N}, an integer position q0q_0 is the first mismatch after the seed if z+K≤q0z + K \le q_0, ff and vv agree on [z,q0)[z, q_0), and f(q0)≠v(q0)f(q_0) \ne v(q_0).✦

Given separation dd, seed length KK, tail length tt, a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, a seed start z∈ℤz \in \mathbb{Z}, and a search result η\eta that gives an integer position or no position, a cut b∈ℤb \in \mathbb{Z} satisfies the episode endpoint condition at (d,K,t,f,z,η)(d, K, t, f, z, \eta) if either η\eta gives an end anchor q0q_0 and b=q0+tb = q_0 + t, or η\eta gives no position and there exists a short-period continuation vv of the block of length KK at zz in ff, with period bound dd, whose first mismatch after the seed with ff is at b−tb - t.✦

For canonical episode parameters CC with separation dd, seed length KK, seed offset δ\delta, and tail length tt, and an integer lag ℓ\ell, the language of complete episodes E(C,ℓ)⊆Σ*E(C, \ell) \subseteq \Sigma^* is the set of words ww of length bb for which there exists a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma such that ww occurs at 00 in ff, the seed and search window are visible at z=ℓ+δz = \ell + \delta in [0,b)[0, b), and bb satisfies the episode endpoint condition at (d,K,t,f,z,ηC(f,z))(d, K, t, f, z, \eta_C(f, z)).✦

The claim

Lemma. Let Σ\Sigma be a nonempty finite alphabet, MM a finite monoid, T:Σ*→MT : \Sigma^* \to M a monoid homomorphism, CC a system of canonical episode parameters over Σ\Sigma with separation dd, seed length KK, seed offset δ\delta, and tail length tt, and ℓ∈ℤ\ell \in \mathbb{Z} a lag. Assume that for every bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma and every integer cut bb satisfying the episode endpoint condition at (d,K,t,f,ℓ+δ,ηC(f,ℓ+δ))(d, K, t, f, \ell + \delta, \eta_C(f, \ell + \delta)), the seed and search window are visible at ℓ+δ\ell + \delta in [0,b)[0, b). Then for every m0∈Mm_0 \in M, hΣ({w∈R(E(C,ℓ)):T(w)=m0})≤1.h_\Sigma\bigl(\{w \in R(E(C, \ell)) : T(w) = m_0\}\bigr) \le 1.(3)✦

In the paper, the result reads: for every m0∈Mm_0 \in M, the language Nend∩T−1({m0})N_{\mathrm{end}} \cap T^{-1}(\{m_0\}) has height at most 11 over Σ\Sigma, where NendN_{\mathrm{end}} stands for R(E(C,ℓ))R(E(C, \ell)).

What is checked

The claim (3) is stated over a nonempty finite alphabet Σ\Sigma, a finite monoid MM, a monoid homomorphism T:Σ*→MT : \Sigma^* \to M, an element m0∈Mm_0 \in M, a system CC of canonical episode parameters over Σ\Sigma with lag ℓ∈ℤ\ell \in \mathbb{Z} satisfying the visibility condition on every cut bb meeting the episode endpoint condition, the complete episode language E(C,ℓ)E(C, \ell), the remainder language R(E(C,ℓ))R(E(C, \ell)), and the generalized star height bound on generalized regular expressions.