OctoInform Beta

OpenAI preprint, September 2026 · Generalized Star Height at Most Four · §7

Height of the remainder: Over finite nonempty alphabets, the bound is at most one if every candidate ending leaves room for the seed block and the full marker search window

A generalized star height bound for prefix avoidance.

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

Call the words selected by a rule for placing markers and a condition on where the word ends complete episodes over an alphabet Σ\Sigma, and consider the words having no complete episode as a prefix. For Σ\Sigma finite and nonempty, the question is whether this prefix avoidance language has generalized star height at most one when both the seed block and the interval needed to search for markers lie inside each complete episode.

Generalized star height

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

Write Σ*\Sigma^* for the set of all finite words over Σ\Sigma. The denoted language L(P)⊆Σ*L(P) \subseteq \Sigma^* of a generalized regular expression PP over Σ\Sigma is defined recursively, for expressions PP and QQ and any letter a∈Σa \in \Sigma, 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)✦

The expression star height h(P)h(P) of a generalized regular expression PP over Σ\Sigma is the nonnegative integer defined recursively, for expressions PP and QQ and any letter a∈Σa \in \Sigma, by 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).\begin{aligned} h(0) = h(1) = h(a) &= 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 bound nn, a language L⊆Σ*L \subseteq \Sigma^* has generalized star height at most nn, written h(L)≤nh(L) \le n, if there exists a generalized regular expression PP over Σ\Sigma whose denoted language (1) is LL and whose expression star height (2) satisfies h(P)≤nh(P) \le n.✦

Words

A finite word w∈Σ*w \in \Sigma^* of length kk occurs at an integer position ss in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma if, for every integer ii with 0≤i<k0 \le i < k, the letter wiw_i at zero-based index ii satisfies f(s+i)=wif(s + i) = w_i.✦

For integers ll and rr, two bi-infinite words ff and gg over Σ\Sigma agree on [l,r)[l, r) if f(x)=g(x)f(x) = g(x) for every integer xx with l≤x<rl \le x < r.✦

A nonnegative integer pp is a word period of a word vv of length KK over Σ\Sigma if vi=vjv_i = v_j for all integers ii and jj with 0≤i<K0 \le i < K, 0≤j<K0 \le j < K, and j=i+pj = i + p, where viv_i and vjv_j are the letters at zero-based indices ii and jj.✦

Given a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, an integer position zz, and nonnegative integers KK and dd, a bi-infinite word v:ℤ→Σv : \mathbb{Z} \to \Sigma is a short-period continuation of the length-KK block at zz in ff with period bound dd if vv agrees with ff on [z,z+K)[z, z + K) and has an integer period pp with 0<p<d0 < p < d, so that for every x∈ℤx \in \mathbb{Z} the letters satisfy v(x+p)=v(x)v(x + p) = v(x).✦

Local marker rules

A local marker rule RR over Σ\Sigma with separation dd and block length KK, where dd and KK are nonnegative integers, consists of an integer radius r≥Kr \ge K and a map f↦M(f)⊆ℤf \mapsto M(f) \subseteq \mathbb{Z} assigning a set of marker positions to each bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma satisfying four conditions.✦ For every bi-infinite word ff over Σ\Sigma, any two distinct markers x,y∈M(f)x, y \in M(f) satisfy |x−y|≥d|x - y| \ge d. At any integer position xx, if two bi-infinite words ff and f′f' agree on [x−r,x+r)[x - r, x + r), then x∈M(f)x \in M(f) if and only if x∈M(f′)x \in M(f'). When a bi-infinite word ff is read from an integer offset uu, its markers shift with it, so at any position x∈ℤx \in \mathbb{Z} one has x∈M(i↦f(i+u))x \in M(i \mapsto f(i + u)) if and only if x+u∈M(f)x + u \in M(f). If the closed interval [z−d,z+d][z - d, z + d] contains no marker in M(f)M(f) for a bi-infinite word ff and an integer z∈ℤz \in \mathbb{Z}, 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.

Marker search

For integers BB, SS, and a0a_0, the offset-dependent eligibility radius at an integer displacement xx is ρ(B,S,a0,x)=a0+(xmod⁡B)S.\rho(B, S, a_0, x) = a_0 + (x \bmod B) S.(3)✦

Given a marker set M⊆ℤM \subseteq \mathbb{Z}, integers BB, SS, and a0a_0, and an integer center zz, an integer position mm satisfies the marker eligibility condition at zz if m∈Mm \in M and |m−z|≤ρ(B,S,a0,m−z)|m - z| \le \rho(B, S, a_0, m - z), where ρ\rho is given by (3).✦

For M⊆ℤM \subseteq \mathbb{Z} and integers BB, SS, a0a_0, and zz, the eligible marker set ℱ(M,B,S,a0,z)\mathcal{F}(M, B, S, a_0, z) is the finite set of all integers mm in the closed interval [z−(a0+(B−1)S),z+(a0+(B−1)S)][z - (a_0 + (B - 1)S),\, z + (a_0 + (B - 1)S)] that satisfy the marker eligibility condition for MM, BB, SS, and a0a_0 at zz.✦

Write ⊥\bot for the absence of an eligible marker. The leftmost eligible marker search for a marker set M⊆ℤM \subseteq \mathbb{Z} and integers BB, SS, a0a_0, and zz is a function of these inputs with values in ℤ∪{⊥}\mathbb{Z} \cup \{\bot\}, taking the least element of ℱ(M,B,S,a0,z)\mathcal{F}(M, B, S, a_0, z) when that set is nonempty and ⊥\bot otherwise.✦

Episode endpoints

Given bi-infinite words ff and vv over Σ\Sigma, an integer seed start zz, and a nonnegative integer seed length KK, an integer position q0q_0 is the first mismatch after the seed if z+K≤q0z + K \le q_0, the words ff and vv agree on [z,q0)[z, q_0), and f(q0)≠v(q0)f(q_0) \ne v(q_0).✦

For nonnegative integers dd and KK, an integer tail length tt, a bi-infinite word ff over Σ\Sigma, an integer seed start zz, and an optional marker position η∈ℤ∪{⊥}\eta \in \mathbb{Z} \cup \{\bot\}, an integer cut bb satisfies the episode endpoint condition at zz with (d,K,t,η)(d, K, t, \eta) if either η\eta is an integer position q0∈ℤq_0 \in \mathbb{Z}, called the end anchor, and b=q0+tb = q_0 + t, or η=⊥\eta = \bot and there exists a short-period continuation vv of the length-KK block at zz in ff with period bound dd whose first mismatch after the seed with ff occurs at b−tb - t.✦

Canonical episodes

A system CC of canonical episode parameters over Σ\Sigma consists of an integer modulus B>0B > 0, an integer step S≥0S \ge 0, a marker separation d≥2d \ge 2, a seed length K>3d2K > 3d^2, an integer seed offset δ\delta, an integer tail length t>0t > 0, and a local marker rule RR over Σ\Sigma with separation dd and block length KK.✦

For a system of canonical episode parameters, the uniform marker search radius bounds the distance from the search center to any marker eligible for the episode search, regardless of displacement. For canonical episode parameters CC with separation dd, modulus BB, and step SS, the uniform marker search radius is W=3d+(B−1)S.W = 3d + (B - 1)S.(4)✦

The canonical marker search ηC(f,z)∈ℤ∪{⊥}\eta_C(f, z) \in \mathbb{Z} \cup \{\bot\} at an integer center zz in a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma, for canonical episode parameters CC with local marker rule RR assigning marker set M(f)M(f) to ff, modulus BB, step SS, and separation dd, is the leftmost eligible marker search for M(f)M(f) with modulus BB, step SS, base radius dd, and center zz.✦

The seed [z,z+K)[z, z + K) and search window [z−W−r,z+W+r)[z - W - r, z + W + r) are visible at zz within [s,b)[s, b), where ss, bb, and zz are integers and CC is a system of canonical episode parameters with uniform marker search radius WW given by (4), seed length KK, and local marker rule radius rr, if s≤z−W−r,z+W+r≤b,s≤z,z+K≤b.s \le z - W - r, \qquad z + W + r \le b, \qquad s \le z, \qquad z + K \le b.(5)✦

A finite word whose marker search returns no position and that never departs from the seed’s periodic continuation contains no complete episode. The complete episode language Eℓ⊆Σ*E_\ell \subseteq \Sigma^*, where ℓ\ell is an integer lag and CC is a system of canonical episode parameters over Σ\Sigma with separation dd, seed length KK, seed offset δ\delta, and tail length tt, consists of all finite words w∈Σ*w \in \Sigma^* of length bb for which there exists a bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma such that ww occurs at position 00 in ff, the seed and search window at z=ℓ+δz = \ell + \delta are visible within [0,b)[0, b) by (5), and the cut bb satisfies the episode endpoint condition on ff at zz with (d,K,t,ηC(f,z))(d, K, t, \eta_C(f, z)).✦

Prefix avoidance

For a language A⊆Σ*A \subseteq \Sigma^*, the prefix avoidance language R(A)⊆Σ*R(A) \subseteq \Sigma^* is the set of all words w∈Σ*w \in \Sigma^* such that no word e∈Ae \in A is a prefix of ww.✦

The claim

Lemma. Let Σ\Sigma be a nonempty finite alphabet, let CC be a system of canonical episode parameters over Σ\Sigma with seed offset δ\delta, separation dd, seed length KK, and tail length tt, and let ℓ\ell be an integer lag. Suppose that for every bi-infinite word f:ℤ→Σf : \mathbb{Z} \to \Sigma and every integer cut bb satisfying the episode endpoint condition on ff at ℓ+δ\ell + \delta with (d,K,t,ηC(f,ℓ+δ))(d, K, t, \eta_C(f, \ell + \delta)), the seed and search window at ℓ+δ\ell + \delta are visible within [0,b)[0, b). Then the prefix avoidance language R(Eℓ)R(E_\ell) of the complete episode language EℓE_\ell satisfies h(R(Eℓ))≤1.h(R(E_\ell)) \le 1.(6)✦

In the paper, the result reads: writing FF for the complement of EΣ*E\Sigma^* in Σ*\Sigma^*, where EE stands for EℓE_\ell, the generalized star height of FF is at most one.

What is checked

The claim (6) is stated for a nonempty finite alphabet Σ\Sigma, a system CC of canonical episode parameters over Σ\Sigma, an integer lag ℓ\ell, the complete episode language EℓE_\ell, its prefix avoidance language R(Eℓ)R(E_\ell), and generalized star height, under the hypothesis that whenever a bi-infinite word ff and an integer cut bb satisfy the episode endpoint condition on ff at ℓ+δ\ell + \delta with (d,K,t,ηC(f,ℓ+δ))(d, K, t, \eta_C(f, \ell + \delta)), the seed and search window at ℓ+δ\ell + \delta are visible within [0,b)[0, b).