Skip to main content
Log in

Rational transductions and complexity of counting problems

  • Published:
Mathematical systems theory Aims and scope Submit manuscript

Abstract

This work presents an algebraic method, based on rational transductions, to study the sequential and parallel complexity of counting problems for regular and context-free languages. This approach allows us to obtain old and new results on the complexity of ranking and unranking as well as on other problems concerning the number of prefixes, suffixes, subwords, and factors of a word which belongs to a fixed language. Other results concern a suboptimal compression of finitely ambiguous context-free languages, the complexity of the value problem for rational and algebraic formal series in noncommuting variables, and a characterization of regular and Z-algebraic languages by means of ranking functions.

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.

Similar content being viewed by others

References

  1. A. V. Aho, J. E. Hopcroft, and J. D. Ullman,The Design and Analysis of Computer Algorithms, Addison-Wesley, Reading MA, 1974.

    Google Scholar 

  2. A. V. Aho and J. D. Ullman,The Theory of Parsing, Translation and Compiling, Vol. 1, Prentice-Hall, Englewood Cliffs, NJ 1972.

    Google Scholar 

  3. C. Alvarez and B. Jenner, A very hard log-space counting class,Theoret. Comput. Sci. 107 (1993), 3–30.

    Google Scholar 

  4. J. Berstel,Transductions and Context-Free Languages, Teubner, Stuttgart, 1979.

    Google Scholar 

  5. J. Berstel and C. Reutenauer,Rational Series and Their Languages, Springer-Verlag, Berlin, 1988.

    Google Scholar 

  6. A. Bertoni, D. Bruschi, and M. Goldwurm, Ranking and formal power series,Theoret. Comput. Sci. 79 (1991) 25–35.

    Google Scholar 

  7. A. Bertoni, M. Goldwurm, and N. Sabadini, The complexity of computing the number of strings of given length in context-free languages,Theoret. Comput. Sci. 86 (1991), 325–342.

    Google Scholar 

  8. M. Bogni, Algoritmi per il problema del valore di serie formali a variabili non commutative, Degree Thesis in Mathematics, Dip. Scienze dell'Informazione, Universitá di Milano, June 1991.

  9. S. A. Cook, A taxonomy of problems with fast parallel algorithms,Inform, and Control 64 (1985), 2–22.

    Google Scholar 

  10. J. Earley, An efficient context-free parsing algorithm,Comm. ACM 13(2) (1970), 94–102.

    Google Scholar 

  11. S. Eilenberg,Automata, Languages and Machines, Vol. A, Academic Press, New York, 1974.

    Google Scholar 

  12. P. Flajolet, Analytic models and ambiguity of context-free languages,Theoret. Comput. Sci. 49 (1987), 283–309.

    Google Scholar 

  13. A. V. Goldberg and M. Sipser, Compression and ranking,SUM J. Comput. 20(3) (1991), 524–536.

    Google Scholar 

  14. M. Harrison,Introduction to Formal Language Theory, Addison-Wesley, Reading MA, 1978.

    Google Scholar 

  15. L. Hemachandra, On ranking,Proc. 2nd Conf. on Structure in Complexity Theory, 1987, pp. 103–117.

  16. T. N. Hibbard and J. Ullian. The independence of inherent ambiguity from complementedness among context-free languages,J. Assoc. Comput. Mach. 13(4) (1966), 588–593.

    Google Scholar 

  17. D. T. Huynh, The complexity of ranking simple languages,Math. Systems Theory 23 (1990), 1–20.

    Google Scholar 

  18. D. T. Huynh, Effective entropies and data compression,Inform, and Comput. 90 (1991), 67–85.

    Google Scholar 

  19. A. Salomaa and M. Soittola,Automata Theoretic Aspects of Formal Power Series, Springer-Verlag, Berlin, 1978.

    Google Scholar 

  20. D. F. Stanat, A homomorphism theorem for weighted context-free grammar,J. Comput. System Sci. 6 (1972), 217–232.

    Google Scholar 

  21. L. G. Valiant, The complexity of enumeration and reliability problems,SLAM J. Comput. 8 (1979), 410–420.

    Google Scholar 

  22. V. Vinaj, Counting auxiliary pushdown automata and semi-unbounded arithmetic circuits,Proc. 6th Conf. on Structure in Complexity Theory, 1991, pp. 270–284.

Download references

Author information

Authors and Affiliations

Authors

Additional information

A preliminary version of this work was accepted for presentation at the 17th Symposium on Mathematical Foundations of Computer Science (MFCS'92), Prague, August 24–28, 1992. This research was supported by ESPRIT Working Group ASMICS (CEC Contract No. 3166), PRC Mathématiques et Informatique, MURST Project 40% “Algoritmi, modelli di calcolo e strutture informative.”

Rights and permissions

Reprints and permissions

About this article

Cite this article

Choffrut, C., Goldwurm, M. Rational transductions and complexity of counting problems. Math. Systems Theory 28, 437–450 (1995). https://doi.org/10.1007/BF01185866

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01185866

Keywords

Navigation