arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.06506cs.FLcs.DScs.LO
收藏

广义自动机的Myhill-Nerode定理,及其在模式匹配与压缩中的应用

A Myhill-Nerode Theorem for Generalized Automata, with Applications to Pattern Matching and Compression

University of Helsinki(赫尔辛基大学)

Nicola Cotumaccio

AI总结:

本文提出广义自动机的Myhill-Nerode定理,解释了其非唯一性,并展示其在模式匹配和数据压缩中的应用,通过Wheeler广义自动机实现高效存储与查询。

摘要:

广义自动机模型(由Eilenberg于1974年引入)允许通过允许边标签不仅为字符还为字符串来更简洁地表示正则语言。Giammarresi和Montalbano引入了广义自动机的确定性概念[STACS 1995]。尽管广义确定性自动机保留了许多传统确定性自动机的性质,但最小广义确定性自动机的唯一性丢失。本文第一部分表明,通过引入与广义自动机A相关的集合W(A),可以解释这种非唯一性,并首次为广义自动机推导出完整的Myhill-Nerode定理,该定理包含传统自动机的Myhill-Nerode定理作为退化情况。第二部分展示W(A)在模式匹配和数据压缩中的应用。我们证明Wheeler广义自动机可以使用e log σ(1 + o(1)) + O(e)位存储,使得模式匹配查询可在O(m log log σ)时间内解决,其中e是所有边标签的总长度,e是边数,σ是字母表大小,m是模式长度。

英文摘要:

The model of generalized automata, introduced by Eilenberg in 1974, allows representing a regular language more concisely than conventional automata by allowing edges to be labeled not only with characters, but also strings. Giammarresi and Montalbano introduced a notion of determinism for generalized automata [STACS 1995]. While generalized deterministic automata retain many properties of conventional deterministic automata, the uniqueness of a minimal generalized deterministic automaton is lost. In the first part of the paper, we show that the lack of uniqueness can be explained by introducing a set $ \mathcal{W(A)} $ associated with a generalized automaton $ \mathcal{A} $. In this way, we derive for the first time a full Myhill-Nerode theorem for generalized automata, which contains the textbook Myhill-Nerode theorem for conventional automata as a degenerate case. In the second part of the paper, we show that the set $ \mathcal{W(A)} $ leads to applications for pattern matching and data compression. We show that a Wheeler generalized automata can be stored using $ \mathfrak{e} \log σ(1 + o(1)) + O(e) $ bits so that pattern matching queries can be solved in $ O(m \log \log σ) $ time, where $ \mathfrak{e} $ is the total length of all edge labels, $ e $ is the number of edges, $ σ$ is the size of the alphabet and $ m $ is the length of the pattern.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑