OctoInform Beta

OpenAI preprint, September 2026 · §1. Generalized expressions and the height bound · §1 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, §1 · Generalized Star Height at Most Four, §1

Generalized expressions and height: Over an alphabet Σ\Sigma, denoting L⊆Σ*L \subseteq \Sigma^* by a generalized regular expression PP of expression star height h(P)≤nh(P) \le n for natural nn

Generalized star height bounds for languages.

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

Let Σ\Sigma be an alphabet, let Σ*\Sigma^* be the set of finite words over Σ\Sigma, and take a language L⊆Σ*L \subseteq \Sigma^*. The question is how many layers of Kleene star are required to define LL, and whether a fixed bound suffices for every regular language.

Generalized regular expressions

For an alphabet Σ\Sigma, a generalized regular expression over Σ\Sigma is an expression built inductively from the constants 00 and 11 and the letters a∈Σa \in \Sigma: if PP and QQ are generalized regular expressions over Σ\Sigma, then so are the union P∪QP \cup Q, the concatenation PQPQ, the complement ¬P\neg P, and the Kleene star P*P^*.✦

The language constants 00 and 11 denote the empty language and the language containing only the empty word, and language concatenation is written by juxtaposition. The language L(P)⊆Σ*L(P) \subseteq \Sigma^* denoted by a generalized regular expression PP over an alphabet Σ\Sigma is defined by the following recursion, where QQ is a generalized regular expression over Σ\Sigma and a∈Σa \in \Sigma is a letter. L(0)=0,L(1)=1,L(a)={a},L(¬P)=Σ*\L(P),L(P∪Q)=L(P)∪L(Q),L(PQ)=L(P)L(Q),L(P*)=L(P)*.\begin{aligned} L(0) &= 0, & L(1) &= 1, \\ L(a) &= \{a\}, & L(\neg P) &= \Sigma^* \setminus L(P), \\ L(P \cup Q) &= L(P) \cup L(Q), & L(PQ) &= L(P)L(Q), \\ L(P^*) &= L(P)^*. & & \end{aligned}(1)✦

Expression star height

The expression star height h(P)h(P) of a generalized regular expression PP over an alphabet Σ\Sigma is the natural number given by the following recursion, where QQ is a generalized regular expression over Σ\Sigma and a∈Σa \in \Sigma is a letter. 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)✦

The definition

Definition. For an alphabet Σ\Sigma, a language L⊆Σ*L \subseteq \Sigma^*, and a natural number nn, the language LL has generalized star height at most nn when there exists a generalized regular expression PP over Σ\Sigma satisfying L(P)=Landh(P)≤n.L(P) = L \quad \text{and} \quad h(P) \le n.(3)✦

In the paper, the result reads: over a finite alphabet Σ\Sigma, the generalized star height of a language L⊆Σ*L \subseteq \Sigma^* is the minimum expression star height h(P)h(P) of a generalized regular expression PP over Σ\Sigma with L(P)=LL(P) = L.

What is checked

The definition in (3) is stated over an arbitrary alphabet Σ\Sigma, a language L⊆Σ*L \subseteq \Sigma^*, and a natural number nn, using generalized regular expressions over Σ\Sigma, each of which denotes a language and has an expression star height.