Skip to main content
Log in

From Tree Automata to String Automata Minimization

  • Published:
Theory of Computing Systems Aims and scope Submit manuscript

Abstract

In this paper, we propose a reduction of the minimization problem for a bottom-up deterministic tree automaton (DFTA), making the latter a minimization of a string deterministic finite automaton (DFA). To achieve this purpose, we proceed first by the transformation of the tree automaton into a particular string automaton, followed by minimizing this string automaton. In addition, we show that for our transformation, the minimization of the resulting string automaton coincides with the minimization of the original tree automaton. Finally, we discuss the complexity of our proposal for different types of tree automata, namely: standard, acyclic, incremental, and incrementally constructed tree automata.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4

Similar content being viewed by others

Notes

  1. Similar approaches are being taken by several other tree automata researchers.

References

  1. Zilio, S., Lugiez, D.: XML schema, tree logic and sheaves automata. In: Rewriting Techniques and Applications (R. Nieuwenhuis, ed.), vol. 2706 of Lecture Notes in Computer Science, Springer Berlin Heidelberg (2003)

  2. Chidlovskii, B.: Using regular tree automata as XML schemas. In: Proceedings IEEE advances on digital libraries conference 2000, pp 89–98 (1999)

  3. Tommasi, M.: Structures arborescentes et apprentissage automatique, p 3. PhD thesis, Université Charles de Gaulle - Lille (2006)

    Google Scholar 

  4. Brainerd, W.S.: The minimalization of tree automata. Inf. Control. 13(5), 484–491 (1968)

    Article  MathSciNet  MATH  Google Scholar 

  5. Arbib, M.A., Give’on, Y.: Algebra automata I: Parallel programming as a prolegomena to the categorical approach. Inf. Control. 12(4), 331–345 (1968)

    Article  MathSciNet  MATH  Google Scholar 

  6. Moore, E.F.: Gedanken Experiments on Sequential Machines. In: Automata Studies, pp. 129–153, Princeton U. (1956)

  7. Hopcroft, J.E., Ullman, J.D.: Introduction to Automata Theory, Languages and Computation. Addison-Wesley, Boston (1979)

    MATH  Google Scholar 

  8. Valmari, A.: Fast brief practical DFA minimization. Inf. Process. Lett. 112, 213–217 (2012)

    Article  MathSciNet  MATH  Google Scholar 

  9. Gécseg, F., Steinby, M.: Minimal ascending tree automata. Acta Cybern. 4, 37–44 (1980)

    MathSciNet  MATH  Google Scholar 

  10. Comon, H., Dauchet, M., Gilleron, R., Löding, C., Jacquemard, F., Lugiez, D., Tison, S., Tommasi, M.: Tree automata techniques and applications, 2007. release October 12th (2007)

  11. Watson, B.W.: Taxonomies and Toolkits of Regular Language Algorithms. PhD thesis, Faculty of Mathematics and Computer Science, Eindhoven University of Technology (1995)

  12. Watson, B.W., Daciuk, J.: An efficient incremental DFA minimization algorithm. Nat. Lang. Eng. 9(1), 49–64 (2003)

    Article  Google Scholar 

  13. Cleophas, L.G., Kourie, D.G., Strauss, T., Watson, B.W.: On minimizing deterministic tree automata. In: Stringology (J. Holub and J. Zdrek, eds.), pp. 173–182, Prague Stringology Club, Department of Computer Science and Engineering, Faculty of Electrical Engineering, Czech Technical University in Prague (2009)

  14. Almeida, M., Moreira, N., Reis, R.: Incremental DFA minimisation. In: CIAA (M. Domaratzki and K. Salomaa, eds.), vol. 6482 of Lecture Notes in Computer Science, pp. 39–48, Springer (2010)

  15. García, P., Vázquez de Parga, M., Velasco, J.A., Lȯpez, D.: A split-based incremental deterministic automata minimization algorithm. Theory Comput. Syst. 57(2), 319–336 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  16. Carrasco, R.C., Daciuk, J., Forcada, M.L.: Incremental construction of minimal tree automata. Algorithmica 55(1), 95–110 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  17. Carrasco, R.C., Forcada, M.L.: Incremental construction and maintenance of minimal finite-state automata. Comput. Linguist. 28(2), 207–216 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  18. Carrasco, R.C., Daciuk, J., Forcada, M.L.: An implementation of deterministic tree automata minimization. In: CIAA (J. Holub and J. Zdarek, eds.), vol. 4783 of Lecture Notes in Computer Science, pp. 122–129, Springer (2007)

  19. Abdulla, P.A., Bouajjani, A., Holík, L., Kaati, L., Kaati, T.X.: Composed bisimulation for tree automata. Int. J. Found. Comput. Sci. 20(4), 685–700 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  20. Högberg, J., Maletti, A., May, J.: Backward and forward bisimulation minimization of tree automata. Theor. Comput. Sci. 410(37), 3539–3552 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  21. Riley, M., Allauzen, C., Jansche, M.: OpenFst: An open-source, weighted finite-state transducer library and its applications to speech and language. In: Human Language Technologies: Conference of the North American Chapter of the Association of Computational Linguistics, Proceedings, May 31 - June 5, 2009, Boulder, Colorado, USA, Tutorial Abstracts, pp 9–10 (2009)

  22. Kanthak, S., Ney, H.: FSA: An Efficient and Flexible C++ Toolkit for Finite State Automata Using On-Demand Computation. In: Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics, Barcelona, Spain, pp. 510–517 (2004)

  23. Watson, B.W.: Implementing and using finite automata toolkits. Nat. Lang. Eng. 2, 295–302 (1996)

    Article  Google Scholar 

  24. Paige, R., Tarjan, R.E.: Three partition refinement algorithms. SIAM J. Comput. 16(6), 973–989 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  25. Bousquet-Mėlou, M., Lohrey, M., Maneth, S., Nȯth, E.: XML compression via directed acyclic graphs. Theory Comput. Syst. 57(4), 1322–1371 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  26. Watson, B.W.: A new algorithm for the construction of minimal acyclic DFAs. Sci. Comput. Program. 48(2-3), 81–97 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  27. Revuz, D.: Minimisation of acyclic deterministic automata in linear time. Theor. Comput. Sci. 92(1), 181–189 (1992)

    Article  MathSciNet  MATH  Google Scholar 

  28. Watson, B.W.: An incremental DFA minimization algorithm. In: Finite State Methods in Natural Language Processing (2001)

  29. Daciuk, J., Mihov, S., Watson, B.W., Watson, R.E.: Incremental construction of minimal acyclic finite-state automata, CoRR, vol. cs.CL/0007009 (2000)

  30. Hanneforth, T., Maletti, A., Quernheim, D.: Random generation of nondeterministic finite-state tree automata. In: Proceedings Second International Workshop on Trends in Tree Automata and Tree Transducers, TTATT 2013, Hanoi, Vietnam, 19/10/2013, pp 11–16 (2013)

  31. Bubenzer, J.: Minimization of Acyclic DFAs. In: Proceedings of the Prague Stringology Conference 2011, Prague, Czech Republic, August 29-31 (2011)

  32. Björklund, J., Cleophas, L.: A Taxonomy of Minimisation Algorithms for Deterministic Tree Automata. J. Universal Comput. Sci. 22(2), 180–196 (2016)

    MathSciNet  Google Scholar 

  33. Hėam, P.-C., Nicaud, C., Schmitz, S.: Parametric random generation of deterministic tree automata. Theor. Comput. Sci. 411(38-39), 3469–3480 (2010)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgments

This work is supported by a South Africa-Algeria Cooperation Project funded by the South African NRF under project 87462 and the Algerian MESRS-DGRSDT under project A/AS-2013-002. Any opinion, finding and conclusion or recommendation expressed in this material is that of the author(s) and the NRF/MESRS-DGRSDT do not accept any liability in this regard.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Younes Guellouma.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Guellouma, Y., Cherroun, H., Ziadi, D. et al. From Tree Automata to String Automata Minimization. Theory Comput Syst 62, 1203–1222 (2018). https://doi.org/10.1007/s00224-017-9815-4

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00224-017-9815-4

Keywords

Navigation