Lably
Skip to content

Star height problem

Problem in formal language theory

  • 2 min read
  • 2 chapters

Related on Lably

Through Algorithm and Decimal

Families of regular languages with unbounded star height

The first question was answered in the negative when in 1963, Eggan gave examples of regular languages of star height n for every n. Here, the star height of a regular language L is defined as the minimum star height among all regular expressions representing L. The first few languages found by Eggan are described in the following, by means of giving a regular expression for each language:

e1=a1∗e2=(a1∗a2∗a3)∗e3=((a1∗a2∗a3)∗(a4∗a5∗a6)∗a7)∗e4=(((a1∗a2∗a3)∗(a4∗a5∗a6)∗a7)∗((a8∗a9∗a10)∗(a11∗a12∗a13)∗a14)∗a15)∗

The construction principle for these expressions is that expression en+1 is obtained by concatenating two copies of en, appropriately renaming the letters of the second copy using fresh alphabet symbols, concatenating the result with another fresh alphabet symbol, and then by surrounding the resulting expression with a Kleene star. Eggan proved that, for each en, there is no equivalent regular expression of star height less than n.

However, Eggan's examples use a large alphabet, of size 2n−1 for the language with star height n. He thus asked whether we can also find examples over binary alphabets. This was proved to be true shortly afterwards by Dejean and Schützenberger in 1966. Their examples can be described by an inductively defined family of regular expressions over the binary alphabet {a,b} as follows:

e1=(ab)∗e2=(aa(ab)∗bb(ab)∗)∗e3=(aaaa(aa(ab)∗bb(ab)∗)∗bbbb(aa(ab)∗bb(ab)∗)∗)∗⋯en+1=(a⋯a⏟2n⋅en⋅b⋯b⏟2n⋅en)∗

Sign in to keep reading

One more chapter is free with a Lably account.

More in Computing and communication