Skip to main content

On Counting Functions of Languages

  • Conference paper
  • First Online:
Book cover Developments in Language Theory (DLT 2018)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 11088))

Included in the following conference series:

Abstract

We study counting-regular languages—these are languages L for which there is a regular language \(L'\) such that the number of strings of length n in L and \(L'\) are the same for all n. Our main result is that the languages accepted by the class of one-way unambiguous, reversal-bounded pushdown automata (\(\textsf {PDA}\)’s) are counting-regular. This generalizes an old result of Baron and Kuich that such languages have rational generating functions. We show that this result is the best possible in the sense that the claim does not hold for either 2-ambiguous \(\textsf {PDA}\)’s, unambiguous \(\textsf {PDA}\)’s with no reversal-bound, and other generalizations. We provide a number of examples of languages that are (and are not) counting-regular. We study closure properties of the class of context-free languages that are counting-regular. We also show the undecidability of counting-regularity of \(\textsf {PDA}\)’s. The undecidability is shown to hold for even the subclass of 2-ambiguous \(\textsf {PDA}\)’s which make only one reversal on the stack.

The research of O. H. Ibarra was supported, in part, by NSF Grant CCF-1117708. The research of I. McQuillan was supported, in part, by Natural Sciences and Engineering Research Council of Canada Grant 2016-06172.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Baron, G., Kuich, W.: The characterization of nonexpansive grammars by rational power series. Inf. Control 48(2), 109–118 (1981)

    Article  MathSciNet  Google Scholar 

  2. Béal, M.P., Perrin, D.: On the generating sequences of regular languages on k symbols. J. ACM 50(6), 955–980 (2003)

    Article  MathSciNet  Google Scholar 

  3. Berstel, J.: Sur la densite de langages formels. In: International Colloquium on Automata, Languages and Programming, pp. 345–358 (1972)

    Google Scholar 

  4. Berstel, J., Reutenauer, C.: Rational Series and Their Languages. Springer, New York (1988)

    Book  Google Scholar 

  5. Castiglione, G., Massazza, P.: On a class of languages with holonomic generating functions. Theor. Comput. Sci. 658, 74–84 (2017)

    Article  MathSciNet  Google Scholar 

  6. Cordy, B., Salomaa, K.: On the existence of regular approximations. Theor. Comput. Sci. 387(2), 125–135 (2007)

    Article  MathSciNet  Google Scholar 

  7. Cui, C., Dang, Z., Fischer, T.R., Ibarra, O.H.: Information rate of some classes of non-regular languages: an automata-theoretic approach. Inf. Comput. 256, 45–61 (2017)

    Article  MathSciNet  Google Scholar 

  8. Eisman, G., Ravikumar, B.: On approximating non-regular languages by regular languages. Fundamenta Informaticae 110(1–4), 125–142 (2011)

    MathSciNet  MATH  Google Scholar 

  9. Eisman, G., Ravikumar, B.: Approximate recognition of non-regular languages by finite automata. In: Proceedings of the Twenty-Eighth Australasian Conference on Computer Science, ACSC 2005, vol. 38, pp. 219–227. Australian Computer Society Inc., Darlinghurst (2005)

    Google Scholar 

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

    MATH  Google Scholar 

  11. Ibarra, O.H.: Reversal-bounded multicounter machines and their decision problems. J. ACM 25(1), 116–133 (1978)

    Article  MathSciNet  Google Scholar 

  12. Massazza, P.: Holonomic functions and their relation to linearly constrained languages. RAIRO Informatique théorique et. applications 27(2), 149–161 (1993)

    Article  MathSciNet  Google Scholar 

  13. Ravikumar, B.: Approximations by regular languages (2017, submitted)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bala Ravikumar .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ibarra, O.H., McQuillan, I., Ravikumar, B. (2018). On Counting Functions of Languages. In: Hoshi, M., Seki, S. (eds) Developments in Language Theory. DLT 2018. Lecture Notes in Computer Science(), vol 11088. Springer, Cham. https://doi.org/10.1007/978-3-319-98654-8_35

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-98654-8_35

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-98653-1

  • Online ISBN: 978-3-319-98654-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics