OctoInform Beta

Generalized Star Height at Most Three

The Lean library states that every regular language over a finite alphabet, including the empty alphabet, is denoted by a generalized regular expression over the same alphabet whose Kleene stars nest at most three levels deep.

A generalized regular expression over a finite alphabet Σ\Sigma is built from constants and letters of Σ\Sigma using union, concatenation, complement in the free monoid Σ*\Sigma^*, and Kleene star. The constants 00 and 11 denote ∅\emptyset and the singleton {ε}\{\varepsilon\} of the empty word. The height of a generalized regular expression is zero on the constants 00 and 11 and on single letters, the greater height of its two operands under union and concatenation, unchanged under complement, and increased by one under Kleene star. For a regular language L⊆Σ*L \subseteq \Sigma^*, the generalized star height hΣ(L)h_\Sigma(L) is the least height of a generalized regular expression defining LL. The question was whether a single finite bound on hΣ(L)h_\Sigma(L) suffices for every regular language L⊆Σ*L \subseteq \Sigma^* over every finite alphabet Σ\Sigma.

The ordinary star height of a regular language is the least height of a regular expression without complement that defines it. Dejean and Schützenberger proved that ordinary star height is unbounded even over a two-letter alphabet. Once complement is allowed, Boolean conditions can replace some layers of repetition. Unbounded ordinary star height does not imply unbounded generalized star height. As Straubing distinguishes, a universal finite upper bound and a universal upper bound of one are different assertions.

The preprint proves that hΣ(L)≤3h_\Sigma(L) \le 3 for every finite alphabet Σ\Sigma and every regular language L⊆Σ*L \subseteq \Sigma^*. It does not decide whether generalized star height one always suffices. Finite Monoid Computations and a Uniform Generalized Star-Height Bound proves a bound of thirteen. Generalized Star Height at Most Four proves a bound of four.

The Lean library StarHeight covers the preprint together with Finite Monoid Computations and a Uniform Generalized Star-Height Bound and Generalized Star Height at Most Four. The results on these pages are those of the Lean library, each stated as it states them and linked to the Lean code behind it. The Lean library is the reference because Lean has checked every one of its results. Where the preprint states a result differently, the statement on the page is the Lean library’s, with the preprint’s given beside it. The preprint is a guide only, giving the results their order and their names.

The Lean library: StarHeight

StarHeight is a Lean library: 39 items, in twelve groups. Each has a page written by OctoInform, listed below.

§1. Generalized expressions and the height bound 2 items
  1. Generalized expressions and height Generalized star height bounds for languages. §1 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, §1 · Generalized Star Height at Most Four, §1
  2. Theorem 1.1 Regular languages have generalized star height at most three. §1 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Theorem 1.1 · Generalized Star Height at Most Four, Theorem 1.1
§2. Episode graphs and affine updates 6 items
  1. Right regular action Recovering a monoid element from its right regular action. §2
  2. Prefix codes and graph languages Prefix codes and graph languages of state transitions. §2 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, §2 · Generalized Star Height at Most Four, §2
  3. Lemma 2.1 Bounding generalized star height of graph languages after adding codewords. §2 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 2.2 · Generalized Star Height at Most Four, Lemma 2.1
  4. Lemma 2.2 Generalized star height bounds for linear updates. §2 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 2.3 · Generalized Star Height at Most Four, Lemma 2.2
  5. Lemma 2.3 Homogeneous lifts preserve composition and embeddings intertwining allowed updates preserve graph languages. §2
  6. Lemma 2.4 Coordinate constancy for affine updates. §2 · Generalized Star Height at Most Four, Lemma 2.3
§3. The robust tag clock 1 item
  1. Lemma 3.1 Existence of a robust tag clock. §3
§4. Local markers and periodic continuation 2 items
  1. Lemma 4.1 Local marker rules exist that force short periods. §4 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 4.1 · Generalized Star Height at Most Four, Lemma 4.1
  2. Lemma 4.2 Periodic continuations on overlaps and markerless intervals. §4 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 4.2 · Generalized Star Height at Most Four, Lemma 4.2
§5. Inner cut schedules 2 items
  1. Lemma 5.1 Main and periodic cuts separate inner search windows. §5
  2. Lemma 5.2 Constant-product cuts on markerless intervals and coverage by coprime steps. §5
§6. Complete episodes and their endpoints 5 items
  1. Complete episode and endpoint Complete episodes ending past markers or mismatches with periodic continuations. §6 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Definition 4.4 · Generalized Star Height at Most Four, Definition 5.3
  2. Clock anchor The clock anchor from a search return and endpoint. §6
  3. Lemma 6.1 Late endpoint schedules place inner windows inside episodes. §6
  4. Lemma 6.2 Complete episodes form a prefix code. §6 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 4.5 · Generalized Star Height at Most Four, Lemma 5.4
  5. Lemma 6.3 When agreeing words share an episode’s cut and timing. §6
§7. The first split 3 items
  1. Exceptional domain Exceptions among words delimited by marker searches. §7
  2. Total outer update Total outer word update by a linear map and a shift. §7
  3. Proposition 7.1 Soundness and availability of outer episode splits. §7
§8. Candidate anchors and suffix decoding 4 items
  1. Candidate anchors Candidate anchors with an end-anchor fallback. §8
  2. Lemma 8.1 At most eight anchors from bounded displaced marker searches. §8
  3. Proposition 8.2 Bounding exceptional slot pairs across a stencil. §8
  4. Lemma 8.3 Soundness and copy availability in suffix decoding. §8
§9. The second split 2 items
  1. Inner affine update The inner linear part lifts the outer map under cut bounds. §9
  2. Proposition 9.1 Splitting exceptional episodes with inner stencil languages. §9
§10. Component expressions and the final remainder 7 items
  1. Lemma 10.1 Generalized star height of regular languages with finite periodic covers. §10 · Generalized Star Height at Most Four, Lemma 7.1
  2. Proposition 10.2 (episode languages) Episode languages have generalized star height at most one. §10
  3. Proposition 10.2 (prefix languages) Outer and inner prefix languages have generalized star height zero. §10
  4. Proposition 10.2 (suffix languages) Star height at most one for suffix languages. §10
  5. Final remainder The final remainder of language EE over alphabet Σ\Sigma complements EΣ*E\Sigma^*. §10 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, §8 · Generalized Star Height at Most Four, §7
  6. Lemma 10.3 (remainder fibers) Generalized star height at most one. §10 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 8.3 · Generalized Star Height at Most Four, Lemma 7.3
  7. Lemma 10.3 (factorization) Factorization with a remainder and injectivity of concatenation. §10 · Finite Monoid Computations and a Uniform Generalized Star-Height Bound, Lemma 8.3 · Generalized Star Height at Most Four, Lemma 7.3
Finite Monoid Computations and a Uniform Generalized Star-Height Bound 3 items
  1. Lemma 4.6 Episode endpoint agreement and transfer for sufficiently overlapping blocks. §4 · Generalized Star Height at Most Four, Lemma 5.5
  2. Lemma 4.7 A witness selected for uniqueness equals any satisfying element. §4
  3. Lemma 8.1 Generalized star height at most one with ultimately periodic exponent sets. §8 · Generalized Star Height at Most Three, Lemma 10.1
Generalized Star Height at Most Four 2 items
  1. Lemma 6.3 Offset removal and preservation of path languages under injective maps. §6
  2. Height of the remainder A generalized star height bound for prefix avoidance. §7

No item matches.