arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2202.08687cs.CL
收藏

基于集合自动机匹配的项重写

Term Rewriting Based On Set Automaton Matching

Eindhoven University of Technology(埃因霍温理工大学)

Mark Bouwman, Rick Erkens

AI总结:

本文研究利用子项模式匹配算法实现高效项重写,构造集合自动机高效查找归约项,形式化描述交替执行匹配与重写步骤的过程,并以最外层重写实例化,实验表明其具竞争力。

摘要:

本文研究如何利用子项模式匹配算法来实现高效的项重写过程。根据重写系统的左侧,我们构造了一个集合自动机,可用于高效地找到项中的所有归约项。我们形式化地描述了一个过程,给定一个重写策略,该过程将模式匹配步骤和重写步骤交替执行,从而平滑地整合了归约项的发现和子项替换。然后,我们提出一个有效的实现,用最外层重写实例化该过程,并展示了一些实验结果。我们的实现显示出与同类工具相比具有竞争力。

英文摘要:

In this article we investigate how a subterm pattern matching algorithm can be exploited to implement efficient term rewriting procedures. From the left-hand sides of the rewrite system we construct a set automaton, which can be used to find all redexes in a term efficiently. We formally describe a procedure that, given a rewrite strategy, interleaves pattern matching steps and rewriting steps and thus smoothly integrates redex discovery and subterm replacement. We then present an efficient implementation that instantiates this procedure with outermost rewriting, and present the results of some experiments. Our implementation shows to be competitive with comparable tools.

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

↑