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

正则表达式中带lookahead的命题动态逻辑的完整描述

A Complete Propositional Dynamic Logic for Regular Expressions with Lookahead

Chiba University(千叶大学);Institute of Science Tokyo(东京科学大学)

Yoshiki Nakamura

AI总结:

本文提出了一种扩展的命题动态逻辑,用于描述正则表达式中带lookahead的等价性,并给出了该逻辑的公理化系统,同时证明其计算复杂性与正则表达式相同。

摘要:

我们考虑带有lookahead的正则表达式(REwLA)的(逻辑)推理。在本文中,我们为匹配语言等价性和最大的替换闭合等价性提供了公理化描述,后者对于匹配语言等价性是合理的。为此,我们引入了一种扩展了两种操作符的命题动态逻辑(PDL)变体:限制到恒等关系和限制到其补集。我们的主要贡献是为该逻辑提供了一个完善且有限的希尔伯特式公理化系统,该系统捕捉了REwLA的等价性。利用扩展的操作符,通过将其减少到无身份关系的PDL变体上,从而建立了完备性。此外,扩展的PDL具有与REwLA相同的计算复杂性。

英文摘要:

We consider (logical) reasoning for regular expressions with lookahead (REwLA). In this paper, we give an axiomatic characterization for both the (match-)language equivalence and the largest substitution-closed equivalence that is sound for the (match-)language equivalence. To achieve this, we introduce a variant of propositional dynamic logic (PDL) on finite linear orders, extended with two operators: the restriction to the identity relation and the restriction to its complement. Our main contribution is a sound and complete Hilbert-style finite axiomatization for the logic, which captures the equivalences of REwLA. Using the extended operators, the completeness is established via a reduction into an identity-free variant of PDL on finite strict linear orders. Moreover, the extended PDL has the same computational complexity as REwLA.

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

↑