English

Piecewise Testable Languages and Nondeterministic Automata

Formal Languages and Automata Theory 2016-09-07 v2

Abstract

A regular language is kk-piecewise testable if it is a finite boolean combination of languages of the form Σa1ΣΣanΣ\Sigma^* a_1 \Sigma^* \cdots \Sigma^* a_n \Sigma^*, where aiΣa_i\in\Sigma and 0nk0\le n \le k. Given a DFA AA and k0k\ge 0, it is an NL-complete problem to decide whether the language L(A)L(A) is piecewise testable and, for k4k\ge 4, it is coNP-complete to decide whether the language L(A)L(A) is kk-piecewise testable. It is known that the depth of the minimal DFA serves as an upper bound on kk. Namely, if L(A)L(A) is piecewise testable, then it is kk-piecewise testable for kk equal to the depth of AA. In this paper, we show that some form of nondeterminism does not violate this upper bound result. Specifically, we define a class of NFAs, called ptNFAs, that recognize piecewise testable languages and show that the depth of a ptNFA provides an (up to exponentially better) upper bound on kk than the minimal DFA. We provide an application of our result, discuss the relationship between kk-piecewise testability and the depth of NFAs, and study the complexity of kk-piecewise testability for ptNFAs.

Keywords

Cite

@article{arxiv.1603.00361,
  title  = {Piecewise Testable Languages and Nondeterministic Automata},
  author = {Tomáš Masopust},
  journal= {arXiv preprint arXiv:1603.00361},
  year   = {2016}
}

Comments

Corrections in section 4.1

R2 v1 2026-06-22T13:01:11.426Z