Title :
Regular languages are testable with a constant number of queries
Author :
Alon, Noga ; Newman, Ilan ; Krivelevich, Michael ; Szegedy, Mario
Author_Institution :
Dept. of Math., Tel Aviv Univ., Israel
Abstract :
We continue the study of combinatorial property testing, initiated by Goldreich, Goldwasser and Ron (1996). The subject of this paper is testing regular languages. Our main result is as follows. For a regular language L∈{0, 1}* and an integer n there exists a randomized algorithm which always accepts a word w of length n if w∈L, and rejects it with high probability if w has to be modified in at least En positions to create a word in L. The algorithm queries O¯(1/ε) bits of w. This query complexity is shown to be optimal up to a factor poly-logarithmic in 1/ε. We also discuss testability of more complex languages and show, in particular, that the query complexity required for testing context free languages cannot be bounded by any function of ε. The problem of testing regular languages can be viewed as a part of a very general approach, seeking to probe testability of properties defined by logical means
Keywords :
computational complexity; formal languages; randomised algorithms; testing; combinatorial property testing; constant query number; context free language testing; query complexity; randomized algorithm; regular language testability; rejection probability; word; Approximation algorithms; Computer science; Electrical capacitance tomography; Geometry; Gold; Logic testing; Mathematics; Microwave integrated circuits; Performance evaluation; Radio access networks;
Conference_Titel :
Foundations of Computer Science, 1999. 40th Annual Symposium on
Conference_Location :
New York City, NY
Print_ISBN :
0-7695-0409-4
DOI :
10.1109/SFFCS.1999.814641