Excessively duplicating patterns represent non-regular languages

被引:0
作者
Creus, Caries [1 ]
Godoy, Guillem [1 ]
Ramos, Lander [1 ]
机构
[1] Univ Politecn Cataluna, ES-08034 Barcelona, Spain
关键词
Theory of computation; Pattern; Regular tree language; Tree automaton; Tree homomorphism;
D O I
10.1016/j.ipl.2013.11.010
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
A constrained term pattern s : phi represents the language of all instances of the term s satisfying the constraint phi. For each variable in s, this constraint specifies the language of its allowed substitutions. Regularity of languages represented by sets of patterns has been studied for a long time. This problem is known to be co-NP-complete when the constraints allow each variable to be replaced by any term over a fixed signature, and EXPTIME-complete when the constraints restrict each variable to a regular set. In both cases, duplication of variables in the terms of the patterns is a necessary condition for non-regularity. This is because duplications force the recognizer to test equality between subterms. Hence, for the specific classes of constraints mentioned above, if all patterns are linear, then the represented language is necessarily regular. In this paper we focus on the opposite case, that is when there are patterns with "excessively duplicating" variables. We prove that when each pattern of a non-empty set has a duplicated variable constrained to an infinite language, then the language represented by the set is necessarily non-regular. We prove this result independently of the kind of constraints used, just assuming that they are mappings from variables to arbitrary languages. Our result provides an efficient procedure for detecting, in some cases, non-regularity of images of regular languages under tree homomorphisms. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:85 / 93
页数:9
相关论文
共 8 条
[1]  
Baader F., 1998, Term rewriting and all that
[2]  
Comon H., 2008, TREE AUTOMATA TECHNI
[3]   The HOM Problem is EXPTIME-Complete [J].
Creus, Carles ;
Gascon, Adria ;
Godoy, Guillem ;
Ramos, Lander .
2012 27TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2012, :255-264
[4]   DECIDING REGULARITY OF THE SET OF INSTANCES OF A SET OF TERMS WITH REGULAR CONSTRAINTS IS EXPTIME-COMPLETE [J].
Gimenez, Omer ;
Godoy, Guillem ;
Maneth, Sebastian .
SIAM JOURNAL ON COMPUTING, 2011, 40 (02) :446-464
[5]   TOPOLOGICAL SORTING OF LARGE NETWORKS [J].
KAHN, AB .
COMMUNICATIONS OF THE ACM, 1962, 5 (11) :558-562
[6]  
Kucherov G., 1999, ERSH MEM C, V1755, P283
[7]  
Tarjan R., 1972, SIAM Journal on Computing, V1, P146, DOI 10.1137/0201010
[8]  
VAGVOLGYI S, 1992, B EATCS, V48, P197