Regular languages are testable with a constant number of queries

被引:69
作者
Alon, N [1 ]
Krivelevich, M
Newman, I
Szegedy, M
机构
[1] Tel Aviv Univ, Raymond & Beverly Sackler Fac Exact Sci, Dept Math, IL-69978 Tel Aviv, Israel
[2] AT&T Labs Res, Florham Pk, NJ 07932 USA
[3] Rutgers State Univ, DIMACS Ctr, Piscataway, NJ 08854 USA
[4] Univ Haifa, Dept Comp Sci, IL-31999 Haifa, Israel
[5] Inst Adv Study, Sch Math, Princeton, NJ 08540 USA
关键词
property testing; regular languages; context-free languages;
D O I
10.1137/S0097539700366528
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 is an element of {0,1}* and an integer n there exists a randomized algorithm which always accepts a word w of length n if w is an element of L and rejects it with high probability if w has to be modified in at least epsilonn positions to create a word in L. The algorithm queries (O) over tilde (1/epsilon) bits of w. This query complexity is shown to be optimal up to a factor polylogarithmic in 1/epsilon. 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 epsilon. 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.
引用
收藏
页码:1842 / 1862
页数:21
相关论文
共 15 条
[1]   Efficient testing of large graphs [J].
Alon, N ;
Fischer, E ;
Krivelevich, M ;
Szegedy, M .
COMBINATORICA, 2000, 20 (04) :451-476
[2]   Proof verification and the hardness of approximation problems [J].
Arora, S ;
Lund, C ;
Motwani, R ;
Sudan, M ;
Szegedy, M .
JOURNAL OF THE ACM, 1998, 45 (03) :501-555
[3]   SELF-TESTING CORRECTING WITH APPLICATIONS TO NUMERICAL PROBLEMS [J].
BLUM, M ;
LUBY, M ;
RUBINFELD, R .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1993, 47 (03) :549-595
[4]  
Chi-Chih Yao A., 1977, 18th Annual Symposium on Foundations of Computer Science, P222
[5]  
Davis M., 1994, COMPUTABILITY COMPLE
[6]   PROOF OF A CONJECTURE BY ERDOS AND GRAHAM CONCERNING THE PROBLEM OF FROBENIUS [J].
DIXMIER, J .
JOURNAL OF NUMBER THEORY, 1990, 34 (02) :198-209
[7]  
Gemmell P., 1991, P 23 ANN ACM S THEOR, P33
[8]   Property testing and its connection to learning and approximation [J].
Goldreich, O ;
Goldwasser, S ;
Ron, D .
37TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1996, :339-348
[9]   Property testing and its connection to learning and approximation [J].
Goldreich, O ;
Goldwasser, S ;
Ron, D .
JOURNAL OF THE ACM, 1998, 45 (04) :653-750
[10]  
Hopcroft J. E., 2007, Introduction to Automata Theory, Languages and Computation