OctoInform Beta

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

Proposition 10.2 (episode languages): For complete episode languages and exceptional episode domains over finite alphabets, with nonnegative shift bound and positive clock period

Episode languages have 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 finite alphabet Σ\Sigma. At a fixed lag, the exceptional episode domain selects the complete episode words that can occur with an exceptional origin.✦ The question is whether the complete episode language and its exceptional episode domain both have generalized star height at most one over Σ\Sigma.

Generalized star height

Write 00 for the empty language and 11 for the language containing only the empty word. A generalized regular expression over Σ\Sigma is an expression built from 00, 11, and the letters a∈Σa \in \Sigma by finitely many applications of union, concatenation, complement, and Kleene closure.✦ For generalized regular expressions PP and QQ, these operations are written P∪QP \cup Q, PQPQ, ¬P\neg P, and P*P^*.

The denoted language L(P)⊆Σ*L(P) \subseteq \Sigma^* and star height h(P)∈ℕh(P) \in \mathbb{N} of a generalized regular expression PP are defined recursively by L(0)=0,L(1)=1,L(a)={a},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(a) &= \{a\}, \\ 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)✦ and h(0)=h(1)=h(a)=0,h(¬P)=h(P),h(P∪Q)=h(PQ)=max⁡{h(P),h(Q)},h(P*)=1+h(P).\begin{aligned} h(0) &= h(1) = h(a) = 0, & h(\neg P) &= h(P), \\ h(P \cup Q) &= h(PQ) = \max\{h(P), h(Q)\}, & h(P^*) &= 1 + h(P). \end{aligned}(2)✦ For a natural number kk, a language L⊆Σ*L \subseteq \Sigma^* has generalized star height at most kk, written hΣ(L)≤kh_\Sigma(L) \le k, if there exists a generalized regular expression PP over Σ\Sigma such that L(P)=LL(P) = L and h(P)≤kh(P) \le k, with L(P)L(P) and h(P)h(P) given by (1) and (2).✦

Local marker rules

A finite word y∈Σ*y \in \Sigma^* of length bb occurs at position ss in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma if f(s+i)=yif(s + i) = y_i for every zero-based index 0≤i<b0 \le i < b.✦

For integer cuts ss and bb, two bi-infinite words f,g:ℤ→Σf, g : \mathbb{Z} \to \Sigma agree on [s,b)[s, b) if f(i)=g(i)f(i) = g(i) for every integer ii with s≤i<bs \le i < b.✦

A natural number pp is a word period of a word y∈ΣKy \in \Sigma^K of length KK if yi=yjy_i = y_j for all indices 0≤i,j<K0 \le i, j < K with i+p=ji + p = j.✦

Fix natural numbers dd and KK. A local marker rule RR over Σ\Sigma with marker separation dd and seed length KK consists of an integer radius r≥Kr \ge K and a marker assignment sending each bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma to a set MR(f)⊆ℤM_R(f) \subseteq \mathbb{Z} subject to four conditions.✦ Distinct x1,x2∈MR(f)x_1, x_2 \in M_R(f) satisfy |x1−x2|≥d|x_1 - x_2| \ge d. If ff and another bi-infinite word f′:ℤ→Σf' : \mathbb{Z} \to \Sigma agree on [k−r,k+r)[k - r, k + r) for an integer position kk, then k∈MR(f)k \in M_R(f) if and only if k∈MR(f′)k \in M_R(f'). For every integer position kk and every τ∈ℤ\tau \in \mathbb{Z}, k∈MR(i↦f(i+τ))k \in M_R(i \mapsto f(i + \tau)) if and only if k+τ∈MR(f)k + \tau \in M_R(f). If the closed interval [z−d,z+d][z - d, z + d] about an integer position zz contains no point of MR(f)M_R(f), then the block i↦f(z+i)i \mapsto f(z + i) (0≤i<K0 \le i < K) of length KK has a word period pp with 0<p<d0 < p < d.

A short-period continuation of the seed [z,z+K)[z, z + K) in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma with period bound dd is a bi-infinite word g:ℤ→Σg : \mathbb{Z} \to \Sigma that agrees with ff on [z,z+K)[z, z + K) and satisfies g(i+p)=g(i)g(i + p) = g(i) for all i∈ℤi \in \mathbb{Z} for some natural number pp with 0<p<d0 < p < d.✦

End searches

The offset-dependent eligibility radius for integers BB, SS, and aa at displacement x∈ℤx \in \mathbb{Z} is a+(xmod⁡B)Sa + (x \bmod B)S.✦ For a marker set M⊆ℤM \subseteq \mathbb{Z}, integer modulus BB, step SS, and base radius aa, a position m∈ℤm \in \mathbb{Z} is eligible at a center z∈ℤz \in \mathbb{Z} if m∈Mm \in M and |m−z|≤a+((m−z)mod⁡B)S|m - z| \le a + ((m - z) \bmod B)S.✦ The eligible marker set ℰ(M,B,S,a,z)\mathcal{E}(M, B, S, a, z) is the finite set of all eligible positions in the closed interval [z−(a+(B−1)S),z+(a+(B−1)S)][z - (a + (B - 1)S),\, z + (a + (B - 1)S)].✦

For a marker set M⊆ℤM \subseteq \mathbb{Z}, integer modulus BB, step SS, base radius aa, and center z∈ℤz \in \mathbb{Z}, the leftmost eligible marker search σ(M,B,S,a,z)\sigma(M, B, S, a, z) is the operation that returns the least element of ℰ(M,B,S,a,z)\mathcal{E}(M, B, S, a, z) when that set is nonempty and the symbol ⊥\bot for no marker otherwise.✦

The leftmost eligible marker search σ(M,B,S,a,z)\sigma(M, B, S, a, z) for a marker set M⊆ℤM \subseteq \mathbb{Z}, integer modulus BB, step SS, and base radius aa is unstable under shifts at a center z∈ℤz \in \mathbb{Z} with shift bound w∈ℤw \in \mathbb{Z} if there exists an integer vv divisible by BB with |v|≤w|v| \le w such that σ(M,B,S,a,z+v)≠σ(M,B,S,a,z)\sigma(M, B, S, a, z + v) \ne \sigma(M, B, S, a, z).✦

Complete episodes

A system of canonical episode parameters CC over Σ\Sigma specifies integers B>0B > 0 (modulus), S≥0S \ge 0 (step), δ\delta (seed offset), and Ltail>0L_{\mathrm{tail}} > 0 (tail length), natural numbers d≥2d \ge 2 (marker separation) and K>3d2K > 3d^2 (seed length), and a local marker rule RR over Σ\Sigma with separation dd and seed length KK.✦ The uniform marker search radius UU of canonical episode parameters CC with modulus BB, step SS, and marker separation dd is the integer given by U=3d+(B−1)SU = 3d + (B - 1)S.✦

For canonical episode parameters CC over Σ\Sigma with modulus BB, step SS, marker separation dd, and local marker rule RR, the canonical marker search η(f,z)\eta(f, z) and the large-radius marker search ζ(f,z)\zeta(f, z) at a center z∈ℤz \in \mathbb{Z} in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma return a marker position or ⊥\bot as follows η(f,z)=σ(MR(f),B,S,d,z),ζ(f,z)=σ(MR(f),B,S,3d,z).\eta(f, z) = \sigma(M_R(f), B, S, d, z), \qquad \zeta(f, z) = \sigma(M_R(f), B, S, 3d, z).(3)

For canonical episode parameters CC with seed length KK, uniform marker search radius UU, and local marker rule RR of radius rr, the seed and search window at z∈ℤz \in \mathbb{Z} are visible in [s,b)[s, b) if s≤z−U−rs \le z - U - r, z+U+r≤bz + U + r \le b, s≤zs \le z, and z+K≤bz + K \le b.✦

A position q0∈ℤq_0 \in \mathbb{Z} is the first mismatch after the seed [z,z+K)[z, z + K) between bi-infinite words f,g:ℤ→Σf, g : \mathbb{Z} \to \Sigma if z+K≤q0z + K \le q_0, ff and gg agree on [z,q0)[z, q_0), and f(q0)≠g(q0)f(q_0) \ne g(q_0).✦

For a bi-infinite word ff, a seed start zz, a period bound dd, a seed length KK, a tail length LtailL_{\mathrm{tail}}, and a marker search result α∈ℤ∪{⊥}\alpha \in \mathbb{Z} \cup \{\bot\}, the episode endpoint condition holds at a cut b∈ℤb \in \mathbb{Z} if either the end anchor is the returned marker position α=q0∈ℤ\alpha = q_0 \in \mathbb{Z} and b=q0+Ltailb = q_0 + L_{\mathrm{tail}}, or α=⊥\alpha = \bot and a short-period continuation gg of [z,z+K)[z, z + K) in ff with period bound dd has its first mismatch with ff after the seed at the end anchor b−Ltailb - L_{\mathrm{tail}}.

For canonical episode parameters CC and an integer lag ℓ\ell, the complete episode language EE of CC at lag ℓ\ell is the language of all finite words y∈Σ*y \in \Sigma^* of length bb for which there exists a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma such that yy occurs at 00 in ff, the seed and search window are visible at z=ℓ+δz = \ell + \delta in [0,b)[0, b), and the episode endpoint condition holds at cut bb for ff, zz, and search result η(f,z)\eta(f, z).✦

Inner marker searches

For a marker set M⊆ℤM \subseteq \mathbb{Z} and inclusive endpoints s0,b0∈ℤs_0, b_0 \in \mathbb{Z}, the first marker in the window [s0,b0][s_0, b_0], written μ(M,s0,b0)\mu(M, s_0, b_0), is the least element of M∩[s0,b0]M \cap [s_0, b_0] when this intersection is nonempty, and ⊥\bot otherwise.✦

An inner search failure for a marker set M⊆ℤM \subseteq \mathbb{Z}, window start z∈ℤz \in \mathbb{Z}, horizon H∈ℤH \in \mathbb{Z}, shift bound w0∈ℤw_0 \in \mathbb{Z}, and window extension Hext∈ℤH_{\mathrm{ext}} \in \mathbb{Z} occurs if either μ(M,z+v,z+H+v)≠μ(M,z,z+H)\mu(M, z + v, z + H + v) \ne \mu(M, z, z + H) for some integer vv with |v|≤w0|v| \le w_0, or μ(M,z,z+H)=⊥\mu(M, z, z + H) = \bot while M∩[z,z+H+Hext]≠∅M \cap [z, z + H + H_{\mathrm{ext}}] \ne \emptyset.✦

Exceptional origins

Let ℝ/ℤ\mathbb{R}/\mathbb{Z} denote the additive circle, the group of real numbers under addition modulo 11.✦

For a positive integer modulus BB, the residue modulo BB of an integer zz is its remainder res⁡B(z)∈{0,…,B−1}\operatorname{res}_B(z) \in \{0, \ldots, B - 1\} on division by BB, the same remainder written with mod\operatorname{mod} in the eligibility radius.✦

A system of exceptional origin parameters AA over an alphabet Σ\Sigma, a boundary index set JJ, and a clock coordinate set Γ\Gamma specifies canonical episode parameters CC over Σ\Sigma with modulus BB; an inner local marker rule RinR_{\mathrm{in}} over Σ\Sigma with separation dind_{\mathrm{in}} and seed length KinK_{\mathrm{in}}; integer boundary offsets δj\delta_j (j∈Jj \in J) and integer inner horizons HuH_u (u∈{0,…,B−1}u \in \{0, \ldots, B - 1\}); integers ww (origin sweep width), w0w_0 (inner shift bound), and HextH_{\mathrm{ext}} (window extension); an additive homomorphism φ:ℤ→(ℝ/ℤ)Γ\varphi : \mathbb{Z} \to (\mathbb{R}/\mathbb{Z})^\Gamma; and an exceptional clock set W⊆(ℝ/ℤ)ΓW \subseteq (\mathbb{R}/\mathbb{Z})^\Gamma.✦

For canonical episode parameters CC with seed offset δ\delta, the clock anchor q(f,q0,t)q(f, q_0, t) of a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma with end anchor q0∈ℤq_0 \in \mathbb{Z} and origin t∈ℤt \in \mathbb{Z} is the integer position given by q(f,q0,t)={ζ(f,t+δ),ζ(f,t+δ)≠⊥,q0,ζ(f,t+δ)=⊥.q(f, q_0, t) = \begin{cases} \zeta(f, t + \delta), & \zeta(f, t + \delta) \ne \bot, \\ q_0, & \zeta(f, t + \delta) = \bot. \end{cases}(4)✦

The end instability condition Z(f,t)Z(f, t) for a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma at an origin t∈ℤt \in \mathbb{Z} holds if the leftmost eligible marker search on MR(f)M_R(f) with modulus BB, step SS, center t+δt + \delta, and shift bound ww is unstable under shifts at base radius dd or at base radius 3d3d.✦

For exceptional origin parameters AA with the indicated clock and inner search data, the clock or inner search failure condition A*(f,t,q)A_*(f, t, q) for a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma at an origin t∈ℤt \in \mathbb{Z} with clock anchor q∈ℤq \in \mathbb{Z} holds if φ(q−t)∈W\varphi(q - t) \in W or if, for some j∈Jj \in J, an inner search failure occurs for MRin(f)M_{R_{\mathrm{in}}}(f) with window start t+δjt + \delta_j, horizon Hres⁡B(q−t)H_{\operatorname{res}_B(q - t)}, shift bound w0w_0, and extension HextH_{\mathrm{ext}}.✦

For exceptional origin parameters AA over Σ\Sigma, an integer origin tt in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma with clock anchor q∈ℤq \in \mathbb{Z} is exceptional if Z(f,t)Z(f, t) or A*(f,t,q)A_*(f, t, q) holds.✦

The exceptional origin language F(t)F(t) at an origin t∈ℤt \in \mathbb{Z} is the language of all finite words y∈Σ*y \in \Sigma^* of length bb for which there exists a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma such that yy occurs at 00 in ff and tt is exceptional in ff with clock anchor q(f,b−Ltail,t)q(f, b - L_{\mathrm{tail}}, t) defined by (4).✦

For exceptional origin parameters AA with canonical episode parameters CC and an integer lag ℓ\ell, the exceptional episode domain is D=E∩F(ℓ)D = E \cap F(\ell), where EE is the complete episode language of CC at lag ℓ\ell and F(ℓ)F(\ell) is the exceptional origin language.✦

The claim

Proposition. Let Σ\Sigma be a finite alphabet, let CC be a system of canonical episode parameters over Σ\Sigma, and let ℓ∈ℤ\ell \in \mathbb{Z}. Then the complete episode language EE of CC at lag ℓ\ell satisfies hΣ(E)≤1.h_\Sigma(E) \le 1.(5)✦ Moreover, let JJ be a finite boundary index set, let Γ\Gamma be a clock coordinate set, and let AA be a system of exceptional origin parameters over Σ\Sigma, JJ, and Γ\Gamma satisfying w0≥0w_0 \ge 0 and φ(n)=0\varphi(n) = 0 for some integer n>0n > 0. Then the exceptional episode domain DD of AA at lag ℓ\ell satisfies hΣ(D)≤1.h_\Sigma(D) \le 1.(6)✦

What is checked

The bound (5) is stated over a finite alphabet Σ\Sigma, canonical episode parameters CC, and an integer lag ℓ\ell, and the bound (6) is stated over a finite alphabet Σ\Sigma, a finite boundary index set JJ, a clock coordinate set Γ\Gamma, exceptional origin parameters AA satisfying w0≥0w_0 \ge 0 and φ(n)=0\varphi(n) = 0 for some integer n>0n > 0, and an integer lag ℓ\ell.