OctoInform Beta

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

Theorem 1.1: Over every finite alphabet Σ\Sigma, each regular language is denoted by a generalized regular expression using union, concatenation, complement, and Kleene star

Regular languages have generalized star height at most three.

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 a finite alphabet, and take a regular language L⊆Σ*L \subseteq \Sigma^*, where Σ*\Sigma^* is the set of all finite words over Σ\Sigma. Allowing complement in Σ*\Sigma^* in regular expressions raises the question of how many nested Kleene stars are needed to denote LL, and whether a single constant bound suffices across all finite alphabets and all regular languages.

Generalized regular expressions

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

For languages, 00 denotes the empty language, 11 denotes the language containing only the empty word, juxtaposition denotes concatenation, and the superscript star denotes Kleene closure. The denoted language L(P)L(P) of a generalized regular expression PP over Σ\Sigma is the subset of Σ*\Sigma^* defined recursively, for all letters a∈Σa \in \Sigma and all generalized regular expressions PP and QQ over Σ\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)✦

Generalized star height

The star height of an expression measures how many layers of repetition it uses. The star height h(P)h(P) of a generalized regular expression PP over Σ\Sigma is the nonnegative integer defined recursively for all letters a∈Σa \in \Sigma and all generalized regular expressions PP and QQ over Σ\Sigma by 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 language L⊆Σ*L \subseteq \Sigma^* and a nonnegative integer nn, the generalized star height bound h(L)≤nh(L) \le n is the condition that there exists a generalized regular expression PP over Σ\Sigma satisfying L(P)=LL(P) = L and h(P)≤nh(P) \le n under (1) and (2).✦

The claim

Theorem 1.1. For every finite alphabet Σ\Sigma and every regular language L⊆Σ*L \subseteq \Sigma^*, h(L)≤3.h(L) \le 3.(3)✦

In the paper, the result reads: for every regular language L⊆Σ*L \subseteq \Sigma^* over a finite alphabet Σ\Sigma, the main preprint gives the generalized star height bound h(L)≤3h(L) \le 3, while the corresponding theorems in the uniform-bound and height-four preprints give bounds of 1313 and 44, respectively.

What is checked

Theorem 1.1 is stated over an arbitrary finite alphabet Σ\Sigma and a regular language L⊆Σ*L \subseteq \Sigma^*, in terms of generalized regular expressions over Σ\Sigma, their denoted languages L(P)L(P), their star heights h(P)h(P), and the generalized star height bound h(L)≤nh(L) \le n.