Alternation in two-way finite automata

被引:2
作者
Konstantinidis, Stavros [1 ]
Moreira, Nelma [2 ]
Reis, Rogerio [2 ]
机构
[1] St Marys Univ, 923 Robie Str, Halifax, NS, Canada
[2] Univ Porto, Fac Ciencias, CMUP & DCC, Rua Campo Alegre, P-4169007 Porto, Portugal
基金
加拿大自然科学与工程研究理事会;
关键词
Two-way automata; Alternation; State complexity; PARTIAL DERIVATIVES; EXPRESSIONS;
D O I
10.1016/j.tcs.2020.12.029
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The study of alternation in two-way finite automata (2FAs) has been quite non-systematic. Since the 1970's, various authors with a variety of motivations have studied 2FAs with various types of alternation and a variety of names, creating a fairly long list of sporadic contributions with little internal consistency. This article attempts to organize the subject into a single unifying framework. We start with a detailed account of all contributions to date, that reveals the large variety of approaches and the lack of consistency between them. We then identify and name four types of automata that these contributions have really studied over the years: general two-way Boolean finite automata (2BFAs); monotone 2BFAs; basic 2BFAs; and (monotone basic, or) alternating 2BFAs (2AFAs). Next, we identify four different ways by which authors have described how such automata compute, each offering a distinct view onto their operation: the circuit view, where computation is modeled by a circuit of Boolean gates; the formula view, where computation is modeled by a Boolean formula over configuration-variables; the run view, where decisions are determined by the existence of appropriate trees of configuration-goal pairs, called "runs"; and the (most classic) tree view, where computation is modeled by a tree of configurations. After carefully defining each 2BFA type and each view, we prove the following. First, that within each type, every two of the four views are equivalent to each other, in the strong sense that each of them closely mimics the other at every step of the computation. Second, that not all types of 2BFAs are equivalent: although general 2BFAs are as powerful as monotone 2BFAs, and basic 2BFAs are as powerful as 2AFAs (up to polynomial differences in the number of states), general 2BFAs may need exponentially fewer states than 2AFAs. (c) 2020 The Author(s). Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/).
引用
收藏
页码:103 / 120
页数:18
相关论文
共 16 条
[1]   Partial derivatives of regular expressions and finite automaton constructions [J].
Antimirov, V .
THEORETICAL COMPUTER SCIENCE, 1996, 155 (02) :291-319
[2]  
Bastos R., 2017, J AUTOM LANG COMB, V22, P5
[3]   ON THE AVERAGE STATE COMPLEXITY OF PARTIAL DERIVATIVE AUTOMATA: AN ANALYTIC COMBINATORICS APPROACH [J].
Broda, Sabine ;
Machiavelo, Antonio ;
Moreira, Nelma ;
Reis, Rogerio .
INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2011, 22 (07) :1593-1606
[4]   DERIVATIVES OF REGULAR EXPRESSIONS [J].
BRZOZOWSKI, JA .
JOURNAL OF THE ACM, 1964, 11 (04) :481-&
[5]  
Caron P, 2011, LECT NOTES COMPUT SC, V6638, P179, DOI 10.1007/978-3-642-21254-3_13
[6]   Canonical derivatives, partial derivatives and finite automaton constructions [J].
Champarnaud, JM ;
Ziadi, D .
THEORETICAL COMPUTER SCIENCE, 2002, 289 (01) :137-163
[7]  
Champarnaud JM, 2001, FUNDAM INFORM, V45, P195
[8]  
Demaille A, 2017, SCI ANN COMPUT SCI, V27, P137, DOI 10.7561/SACS.2017.2.137
[9]  
Demaille A, 2014, LECT NOTES COMPUT SC, V8587, P162
[10]   Regular Expressions and Transducers Over Alphabet-Invariant and User-Defined Labels [J].
Konstantinidis, Stavros ;
Moreira, Nelma ;
Reis, Rogerio ;
Young, Joshua .
INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2020, 31 (08) :983-1019