Piecewise Testable Languages and Nondeterministic Automata
Abstract: A regular language is -piecewise testable if it is a finite boolean combination of languages of the form , where and . Given a DFA and , it is an NL-complete problem to decide whether the language is piecewise testable and, for , it is coNP-complete to decide whether the language is -piecewise testable. It is known that the depth of the minimal DFA serves as an upper bound on . Namely, if is piecewise testable, then it is -piecewise testable for equal to the depth of . 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 than the minimal DFA. We provide an application of our result, discuss the relationship between -piecewise testability and the depth of NFAs, and study the complexity of -piecewise testability for ptNFAs.
Paper Prompts
Sign up for free to create and run prompts on this paper.