arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.05064cs.FL
收藏

关于正则性质的推理:一项比较研究

Reasoning about Regular Properties: A Comparative Study

Tomáš Fiedor, Lukáš Holík, Martin Hruška, Adam Rogalewicz, Juraj Síč, Pavol Vargovčík

AI总结:

本文系统比较了判定正则语言布尔组合及交替自动机语言空性的新旧算法,基于多样化基准测试发现,高级算法虽快但无绝对优势,基于NFA的简单技术往往是最佳选择。

摘要:

近期提出了几种用于判定正则语言布尔组合以及交替有限自动机(AFA)语言空性的新算法,特别是在正则表达式分析和字符串约束求解的背景下。这些新算法展现了巨大潜力,但它们从未被系统地比较过,既未在彼此之间进行比较,也未与现有的(非)确定性自动机方法的最先进实现进行比较。在本文中,我们提供了首次此类比较,并对现有算法及其实现进行了概述。我们收集了多样化的基准测试,主要源自或相关于字符串约束求解、分析 LTL 性质和正则模型检查中的实际问题,并在其上评估了收集到的实现。结果揭示了最佳工具,并暗示了最佳算法和实现技术是什么。大致而言,尽管一些高级算法(如反链算法和到 IC3/PDR 的归约)速度很快,但它们并不像有时呈现的那样具有压倒性优势,也没有明确的赢家。最简单的基于 NFA 的技术实际上可能是最佳选择,具体取决于问题来源和实现风格。我们的发现应与这些技术的发展以及字符串约束求解等相关领域高度相关。

英文摘要:

Several new algorithms for deciding emptiness of Boolean combinations of regular languages and of languages of alternating automata (AFA) have been proposed recently, especially in the context of analysing regular expressions and in string constraint solving. The new algorithms demonstrated a significant potential, but they have never been systematically compared, neither among each other nor with the state-of-the art implementations of existing (non)deterministic automata-based methods. In this paper, we provide the first such comparison as well as an overview of the existing algorithms and their implementations. We collect a diverse benchmark mostly originating in or related to practical problems from string constraint solving, analysing LTL properties, and regular model checking, and evaluate collected implementations on it. The results reveal the best tools and hint on what the best algorithms and implementation techniques are. Roughly, although some advanced algorithms are fast, such as antichain algorithms and reductions to IC3/PDR, they are not as overwhelmingly dominant as sometimes presented and there is no clear winner. The simplest NFA-based technology may be actually the best choice, depending on the problem source and implementation style. Our findings should be highly relevant for development of these techniques as well as for related fields such as string constraint solving.

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

↑