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.2 · Generalized Star Height at Most Four, Lemma 2.1

Lemma 2.1: Under the split and height hypotheses, a graph language height bound HH gives the bound max⁡{2,1+H}\max\{2, 1 + H\} after adding codewords

Bounding generalized star height of graph languages after adding codewords.

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 an alphabet Σ\Sigma and a finite state set SS, with each word in a set of basic factors acting as a state transformation on SS. For each pair of states, the graph language over a subset DD of the basic factors consists of the concatenations of factors from DD whose combined action sends the starting state to the target state. When DD extends a smaller subset D′D', the question is how the generalized star height of the graph languages over DD is bounded by their height over D′D' once each added factor can be split into a prefix and a suffix that identify its transition on SS.

Generalized regular expressions

A generalized regular expression RR over an alphabet Σ\Sigma is an expression formed from the constants 00 and 11 and the letters a∈Σa \in \Sigma by applying the following operations to generalized regular expressions PP and QQ: union P∪QP \cup Q, concatenation PQPQ, complement ¬P\neg P, and Kleene star P*P^*.✦

For languages, write 00 for the empty language and 11 for the language containing only the empty word. Each generalized regular expression PP denotes a language L(P)⊆Σ*L(P) \subseteq \Sigma^* defined recursively by L(0)=0,L(1)=1,L(a)={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\} \qquad (a \in \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 star height h(P)h(P) of a generalized regular expression PP is the nonnegative integer given recursively by h(0)=h(1)=h(a)=0(a∈Σ),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 \qquad (a \in \Sigma), \\ h(P \cup Q) &= h(PQ) = \max\{h(P), h(Q)\}, \\ h(\neg P) &= h(P), \qquad h(P^*) = 1 + h(P). \end{aligned}(2)✦

For an integer n≥0n \ge 0, a language L⊆Σ*L \subseteq \Sigma^* has generalized star height at most nn, written h(L)≤nh(L) \le n, if there is a generalized regular expression PP whose language in (1) satisfies L(P)=LL(P) = L and whose star height in (2) satisfies h(P)≤nh(P) \le n.✦

Graph languages

A prefix code over an alphabet Σ\Sigma is a language E⊆Σ*E \subseteq \Sigma^* that does not contain the empty word and in which no word is a proper prefix of another; elements of EE are called episodes.✦

Over an alphabet Σ\Sigma, given a state set SS and an update family G=(Ge)e∈Σ*G = (G_e)_{e \in \Sigma^*} of maps Ge:S→SG_e : S \to S, the iterated update Ge1,…,er:S→SG_{e_1, \dots, e_r} : S \to S along a finite sequence (e1,…,er)(e_1, \dots, e_r) of words in Σ*\Sigma^* applies these maps in reading order: Ge1,…,er(x)=Ger(⋯Ge1(x)⋯)(x∈S),G_{e_1, \dots, e_r}(x) = G_{e_r}(\cdots G_{e_1}(x) \cdots) \qquad (x \in S),(3)✦ taking the empty sequence (r=0r = 0) to act as the identity on SS.

For a language D⊆Σ*D \subseteq \Sigma^*, an update family GG on a state set SS, and states x,y∈Sx, y \in S, the graph language ΓD,G(x,y)⊆Σ*\Gamma_{D,G}(x, y) \subseteq \Sigma^* is defined using the iterated update (3) by ΓD,G(x,y)={e1⋯er:r≥0,e1,…,er∈D,Ge1,…,er(x)=y}.\Gamma_{D,G}(x, y) = \{e_1 \cdots e_r : r \ge 0,\ e_1, \dots, e_r \in D,\ G_{e_1, \dots, e_r}(x) = y\}.(4)✦

Episode splits

Given a language D⊆Σ*D \subseteq \Sigma^*, an update family GG on a state set SS, and families of languages P=(Px)x∈SP = (P_x)_{x \in S} and Q=(Qy)y∈SQ = (Q_y)_{y \in S} in Σ*\Sigma^*, the pair (P,Q)(P, Q) is split-sound for (D,G)(D, G) if for all x,y∈Sx, y \in S, every finite sequence (e1,…,er)(e_1, \dots, e_r) of words in DD, and all u∈Pxu \in P_x and v∈Qyv \in Q_y such that uvuv is a prefix of e1⋯ere_1 \cdots e_r, we have r≥1r \ge 1, uv=e1uv = e_1, and Ge1(x)=yG_{e_1}(x) = y.✦

A pair (P,Q)(P, Q) admits splits outside D′D' for (D,G)(D, G), where D,D′⊆Σ*D, D' \subseteq \Sigma^* are languages, GG is an update family on a state set SS, and P=(Px)x∈SP = (P_x)_{x \in S} and Q=(Qy)y∈SQ = (Q_y)_{y \in S} are families of languages in Σ*\Sigma^*, if for every e∈D\D′e \in D \setminus D' and every x∈Sx \in S, we have e∈PxQGe(x)e \in P_x Q_{G_e(x)}.✦

The claim

Lemma 2.1. Let EE be a prefix code over an alphabet Σ\Sigma, let D′⊆D⊆ED' \subseteq D \subseteq E, let SS be a finite state set with an update family G=(Ge)e∈Σ*G = (G_e)_{e \in \Sigma^*}, and let P=(Px)x∈SP = (P_x)_{x \in S} and Q=(Qy)y∈SQ = (Q_y)_{y \in S} be families of languages in Σ*\Sigma^* such that (P,Q)(P, Q) is split-sound for (D,G)(D, G) and admits splits outside D′D' for (D,G)(D, G). If H≥0H \ge 0 is an integer such that h(D)≤1h(D) \le 1, h(Px)≤1h(P_x) \le 1 for all x∈Sx \in S, h(Qy)≤1h(Q_y) \le 1 for all y∈Sy \in S, and h(ΓD′,G(x,y))≤Hh(\Gamma_{D',G}(x, y)) \le H for all x,y∈Sx, y \in S, then for all x,y∈Sx, y \in S, h(ΓD,G(x,y))≤max⁡{2,1+H}.h(\Gamma_{D,G}(x, y)) \le \max\{2, 1 + H\}.(5)✦

In the paper, the result reads: writing Wx,yW_{x,y} for ΓD′,G(x,y)\Gamma_{D',G}(x, y), the graph language ΓD,G(x,y)\Gamma_{D,G}(x, y) equals D*∩[Wx,y∪(⋃i∈SWx,iPi)(⋃j,i∈SQjWj,iPi)*(⋃l∈SQlWl,y)]D^* \cap \bigl[W_{x,y} \cup (\bigcup_{i \in S} W_{x,i} P_i)(\bigcup_{j,i \in S} Q_j W_{j,i} P_i)^*(\bigcup_{l \in S} Q_l W_{l,y})\bigr], while the uniform-bound version of the paper assumes height zero for the prefix languages PxP_x.

What is checked

The bound (5) of Lemma 2.1 is stated over generalized regular expressions, their denoted languages, expression star heights, and generalized star height bounds, prefix codes, iterated updates and graph languages (4) on a finite state set, and pairs of language families that are split-sound and admit splits outside D′D'.