Skip to main content

Testing Membership in Counter Automaton Languages

  • Conference paper
  • 1774 Accesses

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

Abstract

Alon et al. (SICOMP 2001) showed that all regular languages are testable with a constant number of queries. On the other hand, they also showed that some context free languages require \(\Omega(\sqrt{n})\) queries to test. Following this, Alon et al. suggested the problem of classifying the context free languages that are testable with a constant number of queries.

We make progress towards the solution of this problem. Our main result is that languages accepted by weak counter automata are testable with a constant number of queries. A counter automaton is a pushdown automaton with a single stack symbol, effectively a non-negative counter that the automaton may compare to zero. It is weak if the set of possible transitions with a zero counter is a subset of the possible transitions with a positive counter. Note that this restriction is essential, since Lachish et. al. (CC 2008) proved that there exist counter automaton languages requiring Ω(polylog n) queries to test.

The research leading to these results has received funding from the European Union’s - Seventh Framework Programme [FP7/2007-2013] under grant agreement no. 202405 (PROPERTY TESTING).

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

Buying options

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 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

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Alon, N., Krivelevich, M., Newman, I., Szegedy, M.: Regular languages are testable with a constant number of queries. SIAM J. Comput. 30(6), 1842–1862 (2001), http://dx.doi.org/10.1137/S0097539700366528

    Article  MathSciNet  MATH  Google Scholar 

  2. Ben-Sasson, E., Harsha, P., Raskhodnikova, S.: Some 3CNF properties are hard to test. SIAM J. Comput. 35(1), 1–21 (2005), http://dx.doi.org/10.1137/S0097539704445445

    Article  MathSciNet  MATH  Google Scholar 

  3. Fischer, E.: The art of uninformed decisions: A primer to property testing. In: Current Trends in Theoretical Computer Science: The Challenge of the New Century I, pp. 229–264 (2004)

    Google Scholar 

  4. Fischer, E., Goldhirsh, Y., Lachish, O.: Testing formula satisfaction. In: Fomin, F.V., Kaski, P. (eds.) SWAT 2012. LNCS, vol. 7357, pp. 376–387. Springer, Heidelberg (2012), http://dx.doi.org/10.1007/978-3-642-31155-0

    Chapter  Google Scholar 

  5. Fischer, E., Lehman, E., Newman, I., Raskhodnikova, S., Rubinfeld, R., Samorodnitsky, A.: Monotonicity testing over general poset domains. In: Reif, J.H. (ed.) Proceedings on 34th Annual ACM Symposium on Theory of Computing (STOC), Montréal, Québec, Canada, May 19-21, pp. 474–483. ACM (2002), http://doi.acm.org/10.1145/509907.509977

  6. Fischer, E., Newman, I., Sgall, J.: Functions that have read-twice constant width branching programs are not necessarily testable. Random Struct. Algorithms 24(2), 175–193 (2004), http://dx.doi.org/10.1002/rsa.10110

    Article  MathSciNet  MATH  Google Scholar 

  7. Goldreich, O., Goldwasser, S., Ron, D.: Property testing and its connection to learning and approximation. J. ACM 45(4), 653–750 (1998), http://doi.acm.org/10.1145/285055.285060

    Article  MathSciNet  MATH  Google Scholar 

  8. Halevy, S., Lachish, O., Newman, I., Tsur, D.: Testing properties of constraint-graphs. In: IEEE Conference on Computational Complexity, pp. 264–277. IEEE Computer Society (2007), http://doi.ieeecomputersociety.org/10.1109/CCC.2007.31

  9. Hopcroft, J.E., Motwani, R., Ullman, J.D.: Introduction to Automata Theory, Languages, and Computation, 2nd edn. Addison-Wesley, New York (2001)

    MATH  Google Scholar 

  10. Alon, N., Fischer, E., Krivelevich, M., Szegedy, M.: Efficient testing of large graphs. Combinatorica (20), 451–476 (2000)

    Google Scholar 

  11. Lachish, O., Newman, I., Shapira, A.: Space complexity vs. query complexity. Computational Complexity 17(1), 70–93 (2008), http://dx.doi.org/10.1007/s00037-008-0239-z

    Article  MathSciNet  MATH  Google Scholar 

  12. Newman, I.: Testing membership in languages that have small width branching programs. SIAM Journal on Computing 31(5), 1557–1570 (2002), http://epubs.siam.org/sam-bin/dbq/article/38211

    Article  MathSciNet  MATH  Google Scholar 

  13. Parnas, M., Ron, D., Rubinfeld, R.: Testing membership in parenthesis languages. Random Struct. Algorithms 22(1), 98–138 (2003), http://dx.doi.org/10.1002/rsa.10067

    Article  MathSciNet  MATH  Google Scholar 

  14. Ron, D.: Property testing: A learning theory perspective. Foundations and Trends in Machine Learning 1(3), 307–402 (2008), http://dx.doi.org/10.1561/2200000004

    Article  Google Scholar 

  15. Ron, D.: Algorithmic and analysis techniques in property testing. Foundations and Trends in Theoretical Computer Science 5(2), 73–205 (2009), http://dx.doi.org/10.1561/0400000029

    Article  MathSciNet  MATH  Google Scholar 

  16. Rubinfeld, R., Sudan, M.: Testing polynomial functions efficiently and over rational domains. In: Proceedings of the 3rd Annual ACM-SIAM Symposium on Discrete Algorithms, pp. 23–43 (1992)

    Google Scholar 

  17. Rubinfeld, R., Sudan, M.: Robust characterizations of polynomials with applications to program testing. SIAM J. Comput. 25(2), 252–271 (1996), http://dx.doi.org/10.1137/S0097539793255151

    Article  MathSciNet  MATH  Google Scholar 

  18. Valiant, L.G., Paterson, M.: Deterministic one-counter automata. J. Comput. Syst. Sci 10(3), 340–350 (1975), http://dx.doi.org/10.1016/S0022-00007580005-5

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Goldhirsh, Y., Viderman, M. (2013). Testing Membership in Counter Automaton Languages. In: Raghavendra, P., Raskhodnikova, S., Jansen, K., Rolim, J.D.P. (eds) Approximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques. APPROX RANDOM 2013 2013. Lecture Notes in Computer Science, vol 8096. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-40328-6_38

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-40328-6_38

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-40327-9

  • Online ISBN: 978-3-642-40328-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics