Complementing Two-Way Finite Automata

  • Viliam Geffert
  • Carlo Mereghetti
  • Giovanni Pighizzini
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 3572)

Abstract

We study the relationship between the sizes of two-way finite automata accepting a language and its complement. In the deterministic case, by adapting Sipser’s method, for a given automaton (2dfa) with n states we build an automaton accepting the complement with at most 4n states, independently of the size of the input alphabet. Actually, we show a stronger result, by presenting an equivalent 4n–state 2dfa that always halts.

For the nondeterministic case, using a variant of inductive counting, we show that the complement of a unary language, accepted by an n–state two-way automaton (2nfa), can be accepted by an O(n8)–state 2nfa. Here we also make the 2nfa halting. This allows the simulation of unary 2nfa’s by probabilistic Las Vegas two-way automata with O(n8) states.

Keywords

automata and formal languages descriptional complexity 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Dietzelfelbinger, M., Kutylowski, M., Reischuk, R.: Exact lower bounds for computing Boolean functions on CREW PRAMs. J. Comput. System Sci. 48, 231–254 (1994)CrossRefMathSciNetGoogle Scholar
  2. 2.
    Geffert, V.: Tally versions of the Savitch and Immerman-Szelepcsényi theorems for sublogarithmic space. SIAM J. Comput. 22, 102–113 (1993)MATHCrossRefMathSciNetGoogle Scholar
  3. 3.
    Geffert, V., Mereghetti, C., Pighizzini, G.: Converting two-way nondeterministic automata into simpler automata. Theoret. Comput. Sci. 295, 189–203 (2003)MATHCrossRefMathSciNetGoogle Scholar
  4. 4.
    Goldstine, J., Kappes, M., Kintala, C., Leung, H., Malcher, A., Wotschke, D.: Descriptional complexity of machines with limited resources. J. Universal Comput. Sci. 8, 193–234 (2002)MathSciNetGoogle Scholar
  5. 5.
    Hopcroft, J., Ullman, J.: Introduction to Automata Theory, Languages, and Computation. Addison-Wesley, Reading (1979)MATHGoogle Scholar
  6. 6.
    Hromkovič, J., Schnitger, G.: On the power of Las Vegas II: Two-way finite automata. Theoret. Comput. Sci. 262, 1–24 (2001)MATHCrossRefMathSciNetGoogle Scholar
  7. 7.
    Immerman, N.: Nondeterministic space is closed under complementation. SIAM J. Comput. 17, 935–938 (1988)MATHCrossRefMathSciNetGoogle Scholar
  8. 8.
    Jirásek, J., Jirásková, G., Szabari, A.: State complexity of concatenation and complementation of regular languages. In: Domaratzki, M., Okhotin, A., Salomaa, K., Yu, S. (eds.) CIAA 2004. LNCS, vol. 3317, pp. 132–142. Springer, Heidelberg (2005)CrossRefGoogle Scholar
  9. 9.
    Kondacs, A., Watrous, J.: On the power of quantum finite state automata. In: Proc. 38th Symp. Found. Comp. Sci. (FOCS 1997), pp. 66–75. IEEE Computer Society Press, Los Alamitos (1997)CrossRefGoogle Scholar
  10. 10.
    Mera, F., Pighizzini, G.: Complementing unary nondeterministic automata. Theoret. Comput. Sci. 330, 349–360 (2005)MATHCrossRefMathSciNetGoogle Scholar
  11. 11.
    Mereghetti, C., Pighizzini, G.: Two-way automata simulations and unary languages. J. Aut. Lang. Combin. 5, 287–300 (2000)MATHMathSciNetGoogle Scholar
  12. 12.
    Meyer, A., Fischer, M.: Economy of description by automata, grammars, and formal systems. In: Proc. 12th Ann. IEEE Symp. on Switching and Automata Theory, pp. 188–191 (1971)Google Scholar
  13. 13.
    Moore, C., Crutchfield, J.: Quantum automata and quantum grammars. Theoret. Comput. Sci. 237, 275–306 (2000)MATHCrossRefMathSciNetGoogle Scholar
  14. 14.
    Moore, F.: On the bounds for state-set size in the proofs of equivalence between deterministic, nondeterministic and two-way finite automata by deterministic automata. IEEE Trans. Comput. C-20, 1211–1219 (1971)CrossRefGoogle Scholar
  15. 15.
    Rabin, M.O.: Probabilistic automata. Inform. & Control 6, 230–245 (1963)CrossRefGoogle Scholar
  16. 16.
    Sakoda, W., Sipser, M.: Nondeterminism and the size of two-way finite automata. In: Proc. 10th ACM Symp. Theory of Computing, pp. 275–86 (1978)Google Scholar
  17. 17.
    Sipser, M.: Lower bounds on the size of sweeping automata. J. Comput. System Sci. 21, 195–202 (1980)MATHCrossRefMathSciNetGoogle Scholar
  18. 18.
    Sipser, M.: Halting space bounded computations. Theoret. Comput. Sci. 10, 335–338 (1980)MATHCrossRefMathSciNetGoogle Scholar
  19. 19.
    Szelepcsényi, R.: The method of forced enumeration for nondeterministic automata. Acta Inform. 26, 279–284 (1988)MATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2005

Authors and Affiliations

  • Viliam Geffert
    • 1
  • Carlo Mereghetti
    • 2
  • Giovanni Pighizzini
    • 3
  1. 1.Department of Computer ScienceP. J. Šafárik UniversityKošiceSlovakia
  2. 2.Dipartimento di Scienze dell’InformazioneUniversità degli Studi di MilanoMilanoItaly
  3. 3.Dipartimento di Informatica e ComunicazioneUniversità degli Studi di MilanoMilanoItaly

Personalised recommendations