×

On Boolean combinations forming piecewise testable languages. (English) Zbl 1371.68158

Summary: A regular language is \(k\)-piecewise testable (\(k\)-PT) if it is a Boolean combination of languages of the form \(L_{a_1 a_2 \ldots a_n} = \Sigma^\ast a_1 \Sigma^\ast a_2 \Sigma^\ast \cdots \Sigma^\ast a_n \Sigma^\ast\), where \(a_i \in \Sigma\) and \(0 \leq n \leq k\). Given a finite automaton \(\mathcal{A}\), if the language \(L(\mathcal{A})\) is piecewise testable, we want to express it as a Boolean combination of languages of the above form. The idea is as follows. If the language is \(k\)-PT, then there exists a congruence \(\sim_k\) of finite index such that \(L(\mathcal{A})\) is a finite union of \(\sim_k\)-classes. Every such class is characterized by an intersection of languages of the from \(L_u\), for \(| u | \leq k\), and their complements. To represent the \(\sim_k\)-classes, we make use of the \(\sim_k\)-canonical DFA. We identify the states of the \(\sim_k\)-canonical DFA whose union forms the language \(L(\mathcal{A})\) and use them to construct the required Boolean combination. We study the computational and descriptional complexity of related problems.

MSC:

68Q45 Formal languages and automata

References:

[1] Barrington, D. A.M.; Lu, C.; Miltersen, P. B.; Skyum, S., Searching constant width mazes captures the \(AC^0\) hierarchy, (Morvan, M.; Meinel, C.; Krob, D., Symposium on Theoretical Aspects of Computer Science (STACS). Symposium on Theoretical Aspects of Computer Science (STACS), Lecture Notes in Comput. Sci., vol. 1373 (1998), Springer), 73-83
[2] Birget, J.-C., Intersection and union of regular languages and state complexity, Inform. Process. Lett., 43, 185-190 (1992) · Zbl 0763.68048
[3] Blanchet-Sadri, F., Games, equations and the dot-depth hierarchy, Comput. Math. Appl., 18, 9, 809-822 (1989) · Zbl 0682.03015
[4] Brzozowski, J. A.; Li, B., Syntactic complexity of \(R\)- and \(J\)-trivial regular languages, Internat. J. Found. Comput. Sci., 25, 7, 807-822 (2014) · Zbl 1320.68108
[5] Cho, S.; Huynh, D. T., Finite-automaton aperiodicity is PSPACE-complete, Theoret. Comput. Sci., 88, 1, 99-116 (1991) · Zbl 0733.68038
[6] Dang, Z. R., On the complexity of a finite automaton corresponding to a generalized regular expression, Dokl. Akad. Nauk SSSR, 213, 26-29 (1973)
[7] Ellul, K.; Krawetz, B.; Shallit, J.; Wang, M., Regular expressions: new results and open problems, J. Autom. Lang. Comb., 10, 4, 407-437 (2005) · Zbl 1143.68434
[8] Frey, D. D.; Sellers, J. A., Generalizing Bailey’s generalization of the Catalan numbers, Fibonacci Quart., 39, 2, 142-148 (2001) · Zbl 1014.11014
[9] Gelade, W.; Neven, F., Succinctness of the complement and intersection of regular expressions, ACM Trans. Comput. Log., 13, 1, 4 (2012) · Zbl 1351.68139
[10] Hofman, P.; Martens, W., Separability by short subsequences and subwords, (Arenas, M.; Ugarte, M., International Conference on Database Theory (ICDT). International Conference on Database Theory (ICDT), LIPIcs. Leibniz Int. Proc. Inform., vol. 31 (2015), Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik), 230-246 · Zbl 1365.68206
[11] Holub, Š.; Masopust, T.; Thomazo, M., Alternating towers and piecewise testable separators (2014), CoRR
[12] Hunt, H. B.; Rosenkrantz, D. J., Computational parallels between the regular and context-free languages, SIAM J. Comput., 7, 1, 99-114 (1978) · Zbl 0374.68046
[13] Immerman, N., Nondeterministic space is closed under complementation, SIAM J. Comput., 17, 5, 935-938 (1988) · Zbl 0668.68056
[14] Jirásková, G.; Masopust, T., On the state complexity of the reverse of \(R\)- and \(J\)-trivial regular languages, (Jürgensen, H.; Reis, R., Descriptional Complexity of Formal Systems (DCFS). Descriptional Complexity of Formal Systems (DCFS), Lecture Notes in Comput. Sci., vol. 8031 (2013), Springer), 136-147 · Zbl 1388.68141
[15] Karandikar, P.; Kufleitner, M.; Schnoebelen, P., On the index of Simon’s congruence for piecewise testability, Inform. Process. Lett., 115, 4, 515-519 (2015) · Zbl 1312.68160
[16] Karandikar, P.; Schnoebelen, P., The height of piecewise-testable languages with applications in logical complexity, (Talbot, J.; Regnier, L., EACSL Annual Conference on Computer Science Logic (CSL). EACSL Annual Conference on Computer Science Logic (CSL), LIPIcs. Leibniz Int. Proc. Inform., vol. 62 (2016), Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik), 37:1-37:22 · Zbl 1369.68221
[17] Klíma, O., Piecewise testable languages via combinatorics on words, Discrete Math., 311, 20, 2124-2127 (2011) · Zbl 1227.68086
[19] Klíma, O.; Polák, L., Alternative automata characterization of piecewise testable languages, (Béal, M.; Carton, O., Developments in Language Theory (DLT). Developments in Language Theory (DLT), Lecture Notes in Comput. Sci., vol. 7907 (2013), Springer), 289-300 · Zbl 1381.68123
[20] Lawson, M. V., Finite Automata (2003), Chapman and Hall/CRC
[21] Martens, W.; Neven, F.; Niewerth, M.; Schwentick, T., Bonxai: combining the simplicity of DTD with the expressiveness of XML schema, (Milo, T.; Calvanese, D., Principles of Database Systems (PODS) (2015), ACM), 145-156
[22] Masopust, T., Piecewise testable languages and nondeterministic automata, (Faliszewski, P.; Muscholl, A.; Niedermeier, R., Mathematical Foundations of Computer Science (MFCS). Mathematical Foundations of Computer Science (MFCS), LIPIcs. Leibniz Int. Proc. Inform., vol. 58 (2016), Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik), 67:1-67:14 · Zbl 1398.68323
[23] Masopust, T.; Thomazo, M., On the complexity of \(k\)-piecewise testability and the depth of automata, (Potapov, I., Developments in Language Theory (DLT). Developments in Language Theory (DLT), Lecture Notes in Comput. Sci., vol. 9168 (2015), Springer), 364-376 · Zbl 1434.68277
[24] Myhill, J., Finite Automata and Representation of Events (1957), Wright Air Development Center, Tech. rep.
[25] Sakarovitch, J.; Simon, I., Subwords, (Lothaire, M., Combinatorics on Words (1997), Cambridge University Press), 105-142 · Zbl 0874.20040
[26] Simon, I., Hierarchies of Events with Dot-Depth One (1972), University of Waterloo: University of Waterloo Canada, Ph.D. thesis
[27] Simon, I., Piecewise testable events, (Barkhage, H., GI Conference on Automata Theory and Formal Languages (1975), Springer), 214-222 · Zbl 0316.68034
[28] Stern, J., Complexity of some problems from the theory of automata, Inform. and Comput., 66, 3, 163-176 (1985) · Zbl 0603.68059
[29] Stockmeyer, L. J.; Meyer, A. R., Word problems requiring exponential time: preliminary report, (Aho, A. V.; Borodin, A.; Constable, R. L.; Floyd, R. W.; Harrison, M. A.; Karp, R. M.; Strong, H. R., Symposium on the Theory of Computing (STOC) (1973), ACM), 1-9 · Zbl 0359.68050
[30] Szelepcsényi, R., The method of forced enumeration for nondeterministic automata, Acta Inform., 26, 3, 279-284 (1988) · Zbl 0638.68046
[31] Trahtman, A. N., Piecewise and local threshold testability of DFA, (Freivalds, R., Fundamentals of Computation Theory (FCT). Fundamentals of Computation Theory (FCT), Lecture Notes in Comput. Sci., vol. 2138 (2001), Springer), 347-358 · Zbl 0999.68519
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.