ArticleslgStudy

mathematics

Star height problem

Star height problem is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Star height problem rather than just read about it. In short: In formal language theory, the star height problem 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?

Key takeaways

  • Star height problem belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Star height problem to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Star height problem from memory before moving on to harder problems.

Reference excerpt

In formal language theory, the star height problem 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 first introduced by Eggan in 1963.

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)∗

Computing the star height of regular languages Eggan's second question, i.e., whether there exists an algorithm to determine the star height of a language, turned out to be much more difficult. The pure-group languages were the first interesting family of regular languages for which the star height problem was proved to be decidable. The general problem remained open until it was settled by Hashiguchi in 1988, who published an algorithm to determine the star height of any regular language. The algorithm, however, wasn't practical, being of non-elementary complexity:

[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: (101010)(101010)(101010). The number 101010 alone has 10 billion zeros when written down in decimal notation, 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. This algorithm has been optimized and generalized to trees by Colcombet and Löding in 2008, as part of the theory of regular cost functions. It has been implemented in 2017 in the tool suite Stamina.

See also Generalized star height problem Kleene's algorithm — computes a regular expression (usually of non-minimal star height) for a language given by a deterministic finite automaton

Notes

References

Further reading

Worked examples

Example 1 — a first encounter with Star height problem

Start with the simplest possible case. Write down what Star height problem claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Star height problem before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Star height problem ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Star height problem

In research
Star height problem appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Star height problem in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Star height problem is common in secondary-school and first-year university syllabi. It links to neighbouring topics Automata (computation), Formal languages, Theorems in discrete mathematics, so understanding it makes those chapters shorter.
In everyday life
Look for Star height problem outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Star height problem” →

How to study Star height problem in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Star height problem means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Star height problem out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Star height problem in simple terms?

In formal language theory, the star height problem 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?

Why does Star height problem matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Star height problem?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Star height problem.

Tags

  • Automata (computation)
  • Formal languages
  • Theorems in discrete mathematics

Keep exploring