OctoInform Beta

OpenAI preprint, September 2026 · §2. Episode graphs and affine updates · §2 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 2.3 · Generalized Star Height at Most Four, Lemma 2.2

Lemma 2.2: A nonnegative integer HH bounding generalized star height for path languages of affine updates also bounds it for those of their linear parts

Generalized star height bounds for linear updates.

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

Consider an alphabet Σ\Sigma and a finite abelian group SS. Suppose that a prefix code over Σ\Sigma is given, consisting of nonempty words with no word a proper prefix of another, and that words from a subset of this code act as episodes on SS, each episode ee acting by an affine map x↦Le(x)+bex \mapsto L_e(x) + b_e for an additive endomorphism LeL_e of SS and a translation be∈Sb_e \in S. The question is whether a common bound on the nesting depth of Kleene stars needed to describe the languages of episode words carrying one state to another, with union, concatenation and complement also allowed, still holds when the translations beb_e are omitted and only the linear maps LeL_e act.

Generalized star height

A generalized regular expression, denoted by a letter such as PP or QQ, over an alphabet Σ\Sigma is an expression formed from the constant 00, the constant 11, and the letters a∈Σa \in \Sigma by finitely many applications of union P∪QP \cup Q, concatenation PQPQ, complement ¬P\neg P, and Kleene closure P*P^* to previously formed expressions.✦

For generalized regular expressions PP and QQ over an alphabet Σ\Sigma and letters a∈Σa \in \Sigma, let 00 on the language side denote the empty language and 11 the language containing only the empty word. The denoted language L(P)⊆Σ*L(P) \subseteq \Sigma^* of a generalized regular expression PP over Σ\Sigma is 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)✦

The expression star height h(P)h(P) of a generalized regular expression PP over an alphabet Σ\Sigma is the nonnegative integer defined recursively 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 every a∈Σa \in \Sigma and all generalized regular expressions PP and QQ over Σ\Sigma in (2).

For a nonnegative integer nn, a language K⊆Σ*K \subseteq \Sigma^* over an alphabet Σ\Sigma has generalized star height at most nn, written h(K)≤nh(K) \le n, if some generalized regular expression PP over Σ\Sigma satisfies L(P)=KL(P) = K and h(P)≤nh(P) \le n.✦

Episode path languages

A prefix code over an alphabet Σ\Sigma is a language E⊆Σ*E \subseteq \Sigma^* that does not contain the empty word and satisfies e=fe = f whenever e,f∈Ee, f \in E and ee is a prefix of ff.✦

Given a language D⊆Σ*D \subseteq \Sigma^* over an alphabet Σ\Sigma, a finite sequence 𝒆=(e1,…,er)\mathbf{e} = (e_1, \dots, e_r) of words in Σ*\Sigma^* has all episodes in DD if ei∈De_i \in D for every 1≤i≤r1 \le i \le r.✦

An episode update GG on a set SS over an alphabet Σ\Sigma is a family that assigns to each word e∈Σ*e \in \Sigma^* a map Ge:S→SG_e : S \to S.

For an episode update GG on a set SS over an alphabet Σ\Sigma, the iterated episode update G𝒆(x)G_{\mathbf{e}}(x) of a state x∈Sx \in S along a finite sequence 𝒆=(e1,…,er)\mathbf{e} = (e_1, \dots, e_r) of words in Σ*\Sigma^* is the state in SS defined by G()(x)=xG_{()}(x) = x for the empty sequence and by (3) for r≥1r \ge 1. G(e1,…,er)(x)=Ger(G(e1,…,er−1)(x))G_{(e_1, \dots, e_r)}(x) = G_{e_r}\bigl(G_{(e_1, \dots, e_{r-1})}(x)\bigr)(3)✦

Each episode determines its state update independently of any expression that tests the resulting transitions. For an alphabet Σ\Sigma, a language D⊆Σ*D \subseteq \Sigma^*, an episode update GG on a set SS, and states x,y∈Sx, y \in S, the episode path language 𝒢D(G,x,y)⊆Σ*\mathcal{G}_D(G, x, y) \subseteq \Sigma^* from xx to yy is the set of all words w∈Σ*w \in \Sigma^* for which there exists a finite sequence 𝒆=(e1,…,er)\mathbf{e} = (e_1, \dots, e_r) with all episodes in DD such that w=e1⋯erw = e_1 \cdots e_r and G𝒆(x)=yG_{\mathbf{e}}(x) = y.✦

Affine episode updates

For an alphabet Σ\Sigma, an additive abelian group SS, a family (Le)e∈Σ*(L_e)_{e \in \Sigma^*} of additive endomorphisms Le:S→SL_e : S \to S, and a family (be)e∈Σ*(b_e)_{e \in \Sigma^*} of elements of SS, the affine episode update AL,bA_{L,b} is the episode update on SS defined for every e∈Σ*e \in \Sigma^* and x∈Sx \in S by (AL,b)e(x)=Le(x)+be(A_{L,b})_e(x) = L_e(x) + b_e(4)✦ in (4).

The claim

Lemma 2.2. Let E⊆Σ*E \subseteq \Sigma^* be a prefix code over an alphabet Σ\Sigma, let D⊆ED \subseteq E, and let SS be a finite abelian group. Given a linear episode update LL with family (Le)e∈Σ*(L_e)_{e \in \Sigma^*} of additive endomorphisms of SS, a family (be)e∈Σ*(b_e)_{e \in \Sigma^*} of elements of SS, and a nonnegative integer HH, suppose that h(𝒢D(AL,b,u,v))≤Hh\bigl(\mathcal{G}_D(A_{L,b}, u, v)\bigr) \le H for all u,v∈Su, v \in S. Then for all x,y∈Sx, y \in S, h(𝒢D(L,x,y))≤H.h\bigl(\mathcal{G}_D(L, x, y)\bigr) \le H.(5)✦

In the paper, consider affine updates Ge(v)=vLe+beG_e(v) = vL_e + b_e on a finite vector space SS with zero vector 00 and states xx and yy. The episode path language from xx to yy for the linear update v↦vLev \mapsto vL_e is ⋃c∈S(𝒢D(G,x,y+c)∩𝒢D(G,0,c))\bigcup_{c \in S} \bigl(\mathcal{G}_D(G, x, y + c) \cap \mathcal{G}_D(G, 0, c)\bigr). The library’s generalized star height bound (5) replaces the finite vector space by a finite abelian group with left action x↦Le(x)+bex \mapsto L_e(x) + b_e.

What is checked

Lemma 2.2 is stated for a sublanguage DD of a prefix code EE over an alphabet Σ\Sigma, an affine episode update AL,bA_{L,b} on a finite abelian group SS with additive endomorphisms (Le)e∈Σ*(L_e)_{e \in \Sigma^*} and translations (be)e∈Σ*(b_e)_{e \in \Sigma^*}, and a generalized star height bound HH on the episode path languages of AL,bA_{L,b} given by the denoted languages and expression star heights of generalized regular expressions.