Skip to main content

On the Complexity of Decision Problems for Counter Machines with Applications to Coding Theory

  • Conference paper
  • First Online:
  • 398 Accesses

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 13257))

Abstract

We study the computational complexity of several decision problems (including the emptiness, disjointness, finiteness, and containment problems) for various restrictions of two-way reversal-bounded multicounter machines (\(2\textsf {NCM}\)). We then apply the results to some problems in coding theory. We examine generalizations of various types of codes with marginal errors; for example, a language L is k-infix-free (\(k \ge 0\)) if there is no non-empty string y in L that is an infix of more than k strings in \(L - \{y\}\). This allows for bounded error versus standard infix-free languages. We show that it is \(\textsf {PSPACE}\)-complete to decide, given k and a \(2\textsf {NCM}\) M whose input is finite-crossing, whether L(M) is not k-infix-free. It follows that the problem is also \(\textsf {PSPACE}\)-complete for one-way nondeterministic and deterministic finite automata (even for the two-way models), answering an open question in [12]. We also look at the complexity of the problem for restricted models of \(2\textsf {NCM}\) and for other types of codes, and improve/generalize some previous results.

The research of I. McQuillan was supported, in part, by Natural Sciences and Engineering Research Council of Canada.

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   64.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   84.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

References

  1. Ginsburg, S., Greibach, S., Harrison, M.: Stack automata and compiling. J. ACM 14(1), 172–201 (1967)

    Article  MathSciNet  Google Scholar 

  2. Gurari, E.M., Ibarra, O.H.: The complexity of decision problems for finite-turn multicounter machines. J. Comput. Syst. Sci. 22(2), 220–229 (1981)

    Article  MathSciNet  Google Scholar 

  3. Hague, M., Lin, A.W.: Model checking recursive programs with numeric data types. In: Gopalakrishnan, G., Qadeer, S. (eds.) CAV 2011. LNCS, vol. 6806, pp. 743–759. Springer, Heidelberg (2011). https://doi.org/10.1007/978-3-642-22110-1_60

    Chapter  Google Scholar 

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

    MATH  Google Scholar 

  5. Hunt, H.B.: On the time and tape complexity of languages i. In: Proceedings of the Fifth Annual ACM Symposium on Theory of Computing, STOC 1973, pp. 10–19 (1973)

    Google Scholar 

  6. Ibarra, O., Yen, H.: On the containment and equivalence problems for two-way transducers. Theor. Comput. Sci. 429, 155–163 (2012)

    Article  MathSciNet  Google Scholar 

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

    Article  MathSciNet  Google Scholar 

  8. Ibarra, O.H., Jiang, T., Tran, N., Wang, H.: New decidability results concerning two-way counter machines. SIAM J. Comput. 23(1), 123–137 (1995)

    Article  MathSciNet  Google Scholar 

  9. Ito, M., Kari, L., Kincaid, Z., Seki, S.: Duplication in DNA sequences. In: Ito, M., Toyama, M. (eds.) DLT 2008. LNCS, vol. 5257, pp. 419–430. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-85780-8_33

    Chapter  MATH  Google Scholar 

  10. Rozenberg, G., Salomaa, A. (eds.): Handbook of Formal Languages. Springer, Heidelberg (1997). https://doi.org/10.1007/978-3-642-59136-5

    Book  MATH  Google Scholar 

  11. Han, Y.-S., Ko, S.-K., Salomaa, K.: Generalizations of code languages with marginal errors. In: Potapov, I. (ed.) DLT 2015. LNCS, vol. 9168, pp. 264–275. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-21500-6_21

    Chapter  Google Scholar 

  12. Ko, S.K., Han, Y.S., Salomaa, K.: Generalizations of code languages with marginal errors. Int. J. Found. Comput. Sci. 32, 509–529 (2021)

    Article  MathSciNet  Google Scholar 

  13. Kozen, D.: Lower bounds for natural proof systems. In: Proceedings of the 18th Symposium on the Foundations of Computer Science, pp. 254–266. IEEE (1977)

    Google Scholar 

  14. Minsky, M.L.: Recursive unsolvability of Post’s problem of “tag’’ and other topics in theory of Turing Machines. Ann. Math. 74(3), 437–455 (1961)

    Article  MathSciNet  Google Scholar 

  15. Shyr, H.J.: Free Monoids and Languages, 3rd edn. Hon Min Book Company, Taichung (2001)

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Ian McQuillan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Ibarra, O.H., McQuillan, I. (2022). On the Complexity of Decision Problems for Counter Machines with Applications to Coding Theory. In: Diekert, V., Volkov, M. (eds) Developments in Language Theory. DLT 2022. Lecture Notes in Computer Science, vol 13257. Springer, Cham. https://doi.org/10.1007/978-3-031-05578-2_14

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-05578-2_14

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-05577-5

  • Online ISBN: 978-3-031-05578-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics