Skip to main content

On the Complexity of k-Piecewise Testability and the Depth of Automata

  • Conference paper
  • First Online:

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

Abstract

For a non-negative integer k, a language is k-piecewise testable (k-PT) if it is a finite boolean combination of languages of the form \(\varSigma ^* a_1 \varSigma ^* \cdots \varSigma ^* a_n \varSigma ^*\) for \(a_i\in \varSigma \) and \(0\le n \le k\). We study the following problem: Given a DFA recognizing a piecewise testable language, decide whether the language is k-PT. We provide a complexity bound and a detailed analysis for small k’s. The result can be used to find the minimal k for which the language is k-PT. We show that the upper bound on k given by the depth of the minimal DFA can be exponentially bigger than the minimal possible k, and provide a tight upper bound on the depth of the minimal DFA recognizing a k-PT language.

T. Masopust—Research supported by the DFG in grant KR 4381/1-1.

M. Thomazo—Research supported by the Alexander von Humboldt Foundation.

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. Blanchet-Sadri, F.: Games, equations and the dot-depth hierarchy. Comput. Math. Appl. 18(9), 809–822 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  2. Blanchet-Sadri, F.: Equations and monoid varieties of dot-depth one and two. Theoret. Comput. Sci. 123(2), 239–258 (1994)

    Article  MathSciNet  Google Scholar 

  3. Cho, S., Huynh, D.T.: Finite-automaton aperiodicity is PSPACE-complete. Theor. Comput. Sci. 88(1), 99–116 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  4. Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman (1979)

    Google Scholar 

  5. Hofman, P., Martens, W.: Separability by short subsequences and subwords. In: ICDT. LIPIcs, vol. 31, pp. 230–246 (2015)

    Google Scholar 

  6. Holub, Š., Masopust, T., Thomazo, M.: Alternating towers and piecewise testable separators. CoRR abs/1409.3943 (2014). 1409.3943

  7. Immerman, N.: Nondeterministic space is closed under complementation. SIAM J. Comput. 17(5), 935–938 (1988)

    Article  MathSciNet  MATH  Google Scholar 

  8. Karandikar, P., Kufleitner, M., Schnoebelen, P.: On the index of Simon’s congruence for piecewise testability. Inform. Process. Lett. 115(4), 515–519 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  9. Klíma, O., Kunc, M., Polák, L.: Deciding \(k\)-piecewise testability (manuscript)

    Google Scholar 

  10. Klíma, O., Polák, L.: Alternative automata characterization of piecewise testable languages. In: Béal, M.-P., Carton, O. (eds.) DLT 2013. LNCS, vol. 7907, pp. 289–300. Springer, Heidelberg (2013)

    Chapter  Google Scholar 

  11. Masopust, T., Thomazo, M.: On \(k\)-piecewise testability (preliminary report). CoRR abs/1412.1641 (2014), 1412.1641

  12. Sakarovitch, J., Simon, I.: Subwords. In: Lothaire, M. (ed.) Combinatorics on Words, pp. 105–142. Cambridge University Press (1997)

    Google Scholar 

  13. Simon, I.: Hierarchies of Events with Dot-Depth One. Ph.D. thesis, Department of Applied Analysis and Computer Science. University of Waterloo, Canada (1972)

    Google Scholar 

  14. Szelepcsényi, R.: The method of forced enumeration for nondeterministic automata. Acta Inf. 26(3), 279–284 (1988)

    Article  MATH  Google Scholar 

  15. Trahtman, A.N.: Piecewise and local threshold testability of DFA. In: Freivalds, R. (ed.) FCT 2001. LNCS, vol. 2138, pp. 347–358. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Tomáš Masopust .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Masopust, T., Thomazo, M. (2015). On the Complexity of k-Piecewise Testability and the Depth of Automata. In: Potapov, I. (eds) Developments in Language Theory. DLT 2015. Lecture Notes in Computer Science(), vol 9168. Springer, Cham. https://doi.org/10.1007/978-3-319-21500-6_29

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-21500-6_29

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-21499-3

  • Online ISBN: 978-3-319-21500-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics