TY - JOUR
T1 - Regular languages are testable with a constant number of queries
AU - Alon, Noga
AU - Krivelevich, Michael
AU - Newman, Ilan
AU - Szeged, Mario
PY - 2000
Y1 - 2000
N2 - We continue the study of combinatorial property testing, initiated by Goldreich, Goldwasser, and Ron in [J. ACM, 45 (1998), pp. 653-750]. 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 tu £L and rejects it \vith high probability if w has to be modified in at least en positions to create a word in L. The algorithm queries O(l/e) bits of w. This query complexity is shown to be optimal up to a factor polylogarithmic in 1/e. We also discuss the 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.
AB - We continue the study of combinatorial property testing, initiated by Goldreich, Goldwasser, and Ron in [J. ACM, 45 (1998), pp. 653-750]. 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 tu £L and rejects it \vith high probability if w has to be modified in at least en positions to create a word in L. The algorithm queries O(l/e) bits of w. This query complexity is shown to be optimal up to a factor polylogarithmic in 1/e. We also discuss the 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.
KW - Context-free languages
KW - Property testing
KW - Regular languages
UR - http://www.scopus.com/inward/record.url?scp=0035704542&partnerID=8YFLogxK
U2 - 10.1137/s0097539700366528
DO - 10.1137/s0097539700366528
M3 - ???researchoutput.researchoutputtypes.contributiontojournal.article???
AN - SCOPUS:0035704542
SN - 0097-5397
VL - 30
SP - 1842
EP - 1862
JO - SIAM Journal on Computing
JF - SIAM Journal on Computing
IS - 6
ER -