Kalpana Kalpana (Editor)

Star height problem

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

The star height problem in formal language theory is the question whether all regular languages can be expressed using regular expressions of limited star height, i.e. with a limited nesting depth of Kleene stars. Specifically, is a nesting depth of one always sufficient? If not, is there an algorithm to determine how many are required? The problem was raised by Eggan (1963).

Contents

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 h(L) 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 (1963) are described in the following, by means of giving a regular expression for each language:

e 1 = a 1 e 2 = ( a 1 a 2 a 3 ) e 3 = ( ( a 1 a 2 a 3 ) ( a 4 a 5 a 6 ) a 7 ) e 4 = ( ( ( a 1 a 2 a 3 ) ( a 4 a 5 a 6 ) a 7 ) ( ( a 8 a 9 a 10 ) ( a 11 a 12 a 13 ) a 14 ) a 15 )

The construction principle for these expressions is that expression e n + 1 is obtained by concatenating two copies of e n , 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. The remaining, more difficult part, is to prove that for e n there is no equivalent regular expression of star height less than n; a proof is given in (Eggan 1963).

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 & Schützenberger (1966). Their examples can be described by an inductively defined family of regular expressions over the binary alphabet { a , b } as follows–cf. Salomaa (1981):

e 1 = ( a b ) e 2 = ( a a ( a b ) b b ( a b ) ) e 3 = ( a a a a ( a a ( a b ) b b ( a b ) ) b b b b ( a a ( a b ) b b ( a b ) ) ) e n + 1 = ( a a 2 n e n b b 2 n e n )

Again, a rigorous proof is needed for the fact that e n does not admit an equivalent regular expression of lower star height. Proofs are given by (Dejean & Schützenberger 1966) and by (Salomaa 1981).

Computing the star height of regular languages

In contrast, the second question turned out to be much more difficult, and the question became a famous open problem in formal language theory for over two decades (Brzozowski 1980). For years, there was only little progress. The pure-group languages were the first interesting family of regular languages for which the star height problem was proved to be decidable (McNaughton 1967). But the general problem remained open for more than 25 years until it was settled by Hashiguchi, who in 1988 published an algorithm to determine the star height of any regular language. The algorithm wasn't at all practical, being of non-elementary complexity. To illustrate the immense resource consumptions of that algorithm, Lombardy and Sakarovitch (2002) give some actual numbers:

[The procedure described by Hashiguchi] leads to computations that are by far impossible, even for very small examples. For instance, if L is accepted by a 4 state automaton of loop complexity 3 (and with a small 10 element transition monoid), then a very low minorant of the number of languages to be tested with L for equality is: ( 10 10 10 ) ( 10 10 10 ) ( 10 10 10 ) .

Notice that alone the number 10 10 10 has 10 billion zeros when written down in decimal notation, and is already by far larger than the number of atoms in the observable universe.

A much more efficient algorithm than Hashiguchi's procedure was devised by Kirsten in 2005. This algorithm runs, for a given nondeterministic finite automaton as input, within double-exponential space. Yet the resource requirements of this algorithm still greatly exceed the margins of what is considered practically feasible.

References

Star height problem Wikipedia