State complexity

From Wikipedia, the free encyclopedia

State complexity is an area of theoretical computer science dealing with the size of abstract automata, such as different kinds of finite automata. The classical result in the area is that simulating an -state nondeterministic finite automaton by a deterministic finite automaton requires exactly states in the worst case.

Transformation between variants of finite automata

Finite automata can be deterministic and nondeterministic, one-way (DFA, NFA) and two-way (2DFA, 2NFA). Other related classes are unambiguous (UFA), self-verifying (SVFA) and alternating (AFA) finite automata. These automata can also be two-way (2UFA, 2SVFA, 2AFA).

All these machines can accept exactly the regular languages. However, the size of different types of automata necessary to accept the same language (measured in the number of their states) may be different. For any two types of finite automata, the state complexity tradeoff between them is an integer function where is the least number of states in automata of the second type sufficient to recognize every language recognized by an -state automaton of the first type. The following results are known.

  • UFA to DFA: states, see Leung,[3] An earlier lower bound by Schmidt[4] was smaller.
  • NFA to UFA: states, see Leung.[3] There was an earlier smaller lower bound by Schmidt.[4]
  • SVFA to DFA: states, see Jirásková and Pighizzini[5]
  • 2DFA to DFA: states, see Kapoutsis.[6] Earlier construction by Shepherdson[7] used more states, and an earlier lower bound by Moore[8] was smaller.
  • 2DFA to NFA: , see Kapoutsis.[6] Earlier construction by Birget[9] used more states.
  • 2NFA to NFA: , see Kapoutsis.[6]
    • 2NFA to NFA accepting the complement: states, see Vardi.[10]
  • AFA to DFA: states, see Chandra, Kozen and Stockmeyer.[11]
  • AFA to NFA: states, see Fellah, Jürgensen and Yu.[12]
  • 2AFA to DFA: , see Ladner, Lipton and Stockmeyer.[13]
  • 2AFA to NFA: , see Geffert and Okhotin.[14]

The 2DFA vs. 2NFA problem and logarithmic space

Unsolved problem in computer science
Does every -state 2NFA have an equivalent -state 2DFA?

It is an open problem whether all 2NFAs can be converted to 2DFAs with polynomially many states, i.e. whether there is a polynomial such that for every -state 2NFA there exists a -state 2DFA. The problem was raised by Sakoda and Sipser,[15] who compared it to the P vs. NP problem in the computational complexity theory. Berman and Lingas[16] discovered a formal relation between this problem and the L vs. NL open problem. This relation was further elaborated by Kapoutsis.[17]

State complexity of operations for finite automata

Summarize
Perspective

Given a binary regularity-preserving operation on languages and a family of automata X (DFA, NFA, etc.), the state complexity of is an integer function such that

  • for each m-state X-automaton A and n-state X-automaton B there is an -state X-automaton for , and
  • for all integers m, n there is an m-state X-automaton A and an n-state X-automaton B such that every X-automaton for must have at least states.

Analogous definition applies for operations with any number of arguments.

The first results on state complexity of operations for DFAs were published by Maslov [18] and by Yu, Zhuang and Salomaa. [19] Holzer and Kutrib [20] pioneered the state complexity of operations on NFA. The known results for basic operations are listed below.

Union

If language requires m states and language requires n states, how many states does require?

  • DFA: states, see Maslov[18] and Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: at least ;[21] between and states, see Jirásek, Jirásková and Šebej.[22]
  • SVFA: states, see Jirásek, Jirásková and Szabari.[23]
  • 2DFA: between and states, see Kunc and Okhotin.[24]
  • 2NFA: states, see Kunc and Okhotin.[25]

Intersection

How many states does require?

  • DFA: states, see Maslov[18] and Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: states, see Jirásek, Jirásková and Šebej.[22]
  • SVFA: states, see Jirásek, Jirásková and Szabari.[23]
  • 2DFA: between and states, see Kunc and Okhotin.[24]
  • 2NFA: between and states, see Kunc and Okhotin.[25]

Complementation

If language L requires n states then how many states does its complement require?

  • DFA: states, by exchanging accepting and rejecting states.
  • NFA: states, see Birget.[26] or Jirásková[27]
  • UFA: at least states, see Göös, Kiefer and Yuan,[21] (this follows an earlier bound by Raskin[28]); and at most states, see Indzhev and Kiefer.[29]
  • SVFA: states, by exchanging accepting and rejecting states.
  • 2DFA: at least and at most states, see Geffert, Mereghetti and Pighizzini.[30]

Concatenation

How many states does require?

  • DFA: states, see Maslov [18] and Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: states, see Jirásek, Jirásková and Šebej.[22]
  • SVFA: states, see Jirásek, Jirásková and Szabari.[23]
  • 2DFA: at least and at most states, see Jirásková and Okhotin.[31]

Kleene star

  • DFA: states, see Maslov[18] and Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: states, see Jirásek, Jirásková and Šebej.[22]
  • SVFA: states, see Jirásek, Jirásková and Szabari.[23]
  • 2DFA: at least and at most states, see Jirásková and Okhotin.[31]

Reversal

  • DFA: states, see Mirkin,[32] Leiss,[33] and Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: states.
  • SVFA: states, see Jirásek, Jirásková and Szabari.[23]
  • 2DFA: between and states, see Jirásková and Okhotin.[31]

Finite automata over a unary alphabet

Summarize
Perspective

State complexity of finite automata with a one-letter (unary) alphabet, pioneered by Chrobak,[34] is different from the multi-letter case.

Let be Landau's function.

Transformation between models

For a one-letter alphabet, transformations between different types of finite automata are sometimes more efficient than in the general case.

  • NFA to DFA: states, see Chrobak.[34]
  • 2DFA to DFA: states, see Chrobak[34] and Kunc and Okhotin.[35]
  • 2NFA to DFA: states, see Mereghetti and Pighizzini.[36] and Geffert, Mereghetti and Pighizzini.[37]
  • NFA to 2DFA: at most states, see Chrobak.[34]
  • 2NFA to 2DFA: at most states, proved by implementing the method of Savitch's theorem, see Geffert, Mereghetti and Pighizzini.[37]
  • UFA to DFA: , see Okhotin.[38]
  • NFA to UFA: , see Okhotin.[38]

Union

  • DFA: states, see Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • 2DFA: between and states, see Kunc and Okhotin.[24]
  • 2NFA: states, see Kunc and Okhotin.[25]

Intersection

  • DFA: states, see Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • 2DFA: between and states, see Kunc and Okhotin.[24]
  • 2NFA: between and states, see Kunc and Okhotin.[25]

Complementation

  • DFA: states.
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: at least states, see Raskin,[39] and at most states, see Okhotin.[38]
  • 2DFA: at least and at most states, see Kunc and Okhotin.[24]
  • 2NFA: at least and at most states. The upper bound is by implementing the method of the Immerman–Szelepcsényi theorem, see Geffert, Mereghetti and Pighizzini.[30]

Concatenation

  • DFA: states, see Yu, Zhuang and Salomaa.[19]
  • NFA: between and states, see Holzer and Kutrib.[20]
  • 2DFA: states, see Kunc and Okhotin.[24]
  • 2NFA: states, see Kunc and Okhotin.[24]

Kleene star

  • DFA: states, see Yu, Zhuang and Salomaa.[19]
  • NFA: states, see Holzer and Kutrib.[20]
  • UFA: states, see Okhotin.[38]
  • 2DFA: states, see Kunc and Okhotin.[24]
  • 2NFA: states, see Kunc and Okhotin.[24]

Further reading

Surveys of state complexity were written by Holzer and Kutrib[40][41] and by Gao et al.[42]

New research on state complexity is commonly presented at the annual workshops on Descriptional Complexity of Formal Systems (DCFS), at the Conference on Implementation and Application of Automata (CIAA), and at various conferences on theoretical computer science in general.

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.