×

Prefix and right-partial derivative automata. (English) Zbl 1459.68106

Beckmann, Arnold (ed.) et al., Evolving computability. 11th conference on computability in Europe, CiE 2015, Bucharest, Romania, June 29 – July 3, 2015. Proceedings. Cham: Springer. Lect. Notes Comput. Sci. 9136, 258-267 (2015).
Summary: Recently, Yamamoto presented a new method for the conversion from regular expressions (REs) to non-deterministic finite automata (NFA) based on the Thompson \({\epsilon} \)-NFA (\(\mathcal {A}_{\mathsf {T}}\)). The \(\mathcal {A}_{\mathsf {T}}\) automaton has two quotients discussed: the suffix automaton \(\mathcal {A}_{\mathsf {suf}}\) and the prefix automaton, \(\mathcal {A}_{\mathsf {pre}}\). Eliminating \(\epsilon\)-transitions in \(\mathcal {A}_{\mathsf {T}}\), the Glushkov automaton (\(\mathcal {A}_{\mathsf {pos}}\)) is obtained. Thus, it is easy to see that \(\mathcal {A}_{\mathsf {suf}}\) and the partial derivative automaton (\(\mathcal {A}_{\mathsf {pd}})\) are the same. In this paper, we characterise the \(\mathcal {A}_{\mathsf {pre}}\) automaton as a solution of a system of left RE equations and express it as a quotient of \(\mathcal {A}_{\mathsf {pos}}\) by a specific left-invariant equivalence relation. We define and characterise the right-partial derivative automaton (\(\overleftarrow{\mathcal {A}}_{\mathsf {pd}}\)). Finally, we study the average size of all these constructions both experimentally and from an analytic combinatorics point of view.
For the entire collection see [Zbl 1314.68011].

MSC:

68Q45 Formal languages and automata

References:

[1] Antimirov, VM, Partial derivatives of regular expressions and finite automaton constructions, Theor. Comput. Sci., 155, 2, 291-319 (1996) · Zbl 0872.68120 · doi:10.1016/0304-3975(95)00182-4
[2] Broda, S.; Machiavelo, A.; Moreira, N.; Reis, R., On the average size of Glushkov and partial derivative automata, Int. J. Found. Comput. Sci., 23, 5, 969-984 (2012) · Zbl 1262.68085 · doi:10.1142/S0129054112400400
[3] Broda, S.; Machiavelo, A.; Moreira, N.; Reis, R., On the average state complexity of partial derivative automata, Int. J. Found. Comput. Sci., 22, 7, 1593-1606 (2011) · Zbl 1252.68166 · doi:10.1142/S0129054111008908
[4] Champarnaud, JM; Dubernard, JP; Jeanne, H.; Mignot, L.; Dediu, AH; Martín-Vide, C.; Truthe, B., Two-sided derivatives for regular expressions and for hairpin expressions, Language and Automata Theory and Applications, 202-213 (2013), Heidelberg: Springer, Heidelberg · Zbl 1377.68105 · doi:10.1007/978-3-642-37064-9_19
[5] Champarnaud, JM; Ziadi, D., From Mirkin’s prebases to Antimirov’s word partial derivatives, Fundam. Inform., 45, 3, 195-205 (2001) · Zbl 0976.68098
[6] Champarnaud, JM; Ziadi, D., Canonical derivatives, partial derivatives and finite automaton constructions, Theor. Comput. Sci., 289, 1, 137-163 (2002) · Zbl 1061.68109 · doi:10.1016/S0304-3975(01)00267-5
[7] Flajolet, P.; Sedgewick, R., Analytic Combinatorics (2008), Cambridge: CUP, Cambridge
[8] Giammarresi, D., Ponty, J.L., Wood, D.: The Glushkov and Thompson constructions: a synthesis (1998) (unpublished manuscript)
[9] Glushkov, VM, The abstract theory of automata, Russ. Math. Surv., 16, 5, 1-53 (1961) · Zbl 0104.35404 · doi:10.1070/RM1961v016n05ABEH004112
[10] Ilie, L.; Yu, S., Follow automata, Inf. Comput., 186, 1, 140-162 (2003) · Zbl 1059.68063 · doi:10.1016/S0890-5401(03)00090-7
[11] Ko, S.; Han, Y.; Holzer, M.; Kutrib, M., Left is better than right for reducing nondeterminism of NFAs, Implementation and Application of Automata, 238-251 (2014), Heidelberg: Springer, Heidelberg · Zbl 1302.68168
[12] Maia, E.; Moreira, N.; Reis, R.; Holzer, M.; Kutrib, M., Partial derivative and position bisimilarity automata, Implementation and Application of Automata, 264-277 (2014), Heidelberg: Springer, Heidelberg · Zbl 1302.68171
[13] Mirkin, B., An algorithm for constructing a base in a language of regular expressions, Eng. Cybern., 5, 110-116 (1966)
[14] Nicaud, C.; Dediu, AH; Ionescu, AM; Martín-Vide, C., On the average size of Glushkov’s automata, Language and Automata Theory and Applications, 626-637 (2009), Heidelberg: Springer, Heidelberg · Zbl 1234.68232 · doi:10.1007/978-3-642-00982-2_53
[15] Thompson, K., Regular expression search algorithm, Com. ACM, 11, 6, 410-422 (1968) · Zbl 0164.46205 · doi:10.1145/363347.363387
[16] Yamamoto, H.; Bensch, S.; Freund, R.; Otto, F., A new finite automaton construction for regular expressions, NCMA, 249-264 (2014), Kassel: Österreichische Computer Gesellschaft, Kassel
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.