OctoInform Beta

OpenAI preprint, September 2026 · §10. Component expressions and the final remainder · §10 · Generalized Star Height at Most Four, Lemma 7.1

Lemma 10.1: A regular language covered by finitely many families formed by repeating a fixed block between fixed words has generalized star height at most one

Generalized star height of regular languages with finite periodic covers.

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 regular language L⊆Σ*L \subseteq \Sigma^*. Suppose LL is covered by finitely many families, each consisting of the words ucivuc^iv for i≥0i \ge 0 with u,c,v∈Σ*u, c, v \in \Sigma^* fixed. The question is whether LL must have generalized star height at most one over Σ\Sigma.

Generalized star height

A generalized regular expression over an alphabet Σ\Sigma is an expression formed from the constants 00 and 11 and the letters a∈Σa \in \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 generalized regular expressions PP and QQ.✦

The denoted language L(P)⊆Σ*L(P) \subseteq \Sigma^* of a generalized regular expression PP over an alphabet Σ\Sigma is given by (1). In that display, a∈Σa \in \Sigma is a letter, PP and QQ are generalized regular expressions over Σ\Sigma, and on the right 00 denotes the empty language and 11 denotes the language containing only the empty word. 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 natural number determined recursively by (2) for letters a∈Σa \in \Sigma and generalized regular expressions PP and QQ. 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)✦

A language L⊆Σ*L \subseteq \Sigma^* over an alphabet Σ\Sigma has generalized star height at most a natural number nn, written h(L)≤nh(L) \le n, if there is a generalized regular expression PP over Σ\Sigma whose denoted language (1) is LL and whose expression star height (2) is at most nn.✦

Periodic templates

For a word c∈Σ*c \in \Sigma^* over an alphabet Σ\Sigma and a natural number ii, the word power cic^i is the ii-fold concatenation of cc with itself, where c0c^0 is the empty word.✦

A periodic template over an alphabet Σ\Sigma is a triple (u,c,v)(u, c, v) of words in Σ*\Sigma^*.✦ Given a periodic template (u,c,v)(u, c, v) over an alphabet Σ\Sigma and a natural number ii, the template instance ucivuc^iv is the concatenation of uu, the word power cic^i, and vv.✦

The claim

Lemma 10.1. Let Σ\Sigma be an alphabet and let L⊆Σ*L \subseteq \Sigma^* be a regular language. If there is a finite set 𝒯\mathcal{T} of periodic templates over Σ\Sigma such that every word w∈Lw \in L is the template instance ucivuc^iv for some (u,c,v)∈𝒯(u, c, v) \in \mathcal{T} and some natural number ii, then h(L)≤1.h(L) \le 1.(3)✦

In the paper, the result reads: on finitely many periodic templates (u,c,v)(u, c, v) with nonempty repeated block cc, acceptance determined by finite tests of boundary letters, availability and order of endpoints, interval products, residues, and periodic agreement with a required mismatch gives generalized star height at most one, even after adjoining finitely many exceptions.

What is checked

The bound (3) of Lemma 10.1 is stated over regular languages, generalized regular expressions, their denoted languages and expression star height, generalized star height bounds, word powers, periodic templates, and template instances.