arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.02413cs.PLcs.DB
收藏

等式饱和的语义基础

Semantic foundations of equality saturation

Dan Suciu, Yisu Remy Wang, Yihong Zhang

AI总结:

本文为等式饱和技术建立了基于树自动机的不动点语义,揭示其与chase的深层联系,并研究了不同实例情形下的终止性复杂度,提出基于无环性的终止性句法准则。

摘要:

等式饱和是编程语言社区发展起来的一种新兴的程序与查询优化技术。它在E-图(一种紧凑表示程序空间的数据结构)上执行项重写。尽管该技术广受欢迎,但等式饱和的理论落后于实践。本文基于树自动机定义了等式饱和的不动点语义,并揭示了等式饱和与chase之间的深层联系。我们刻画了与等式饱和相对应的chase序列类别。我们研究了等式饱和终止性在三种情形下的复杂度:单实例、全项实例和全E-图实例。最后,我们定义了一个基于无环性的句法准则,该准则蕴含等式饱和的终止性。

英文摘要:

Equality saturation is an emerging technique for program and query optimization developed in the programming language community. It performs term rewriting over an E-graph, a data structure that compactly represents a program space. Despite its popularity, the theory of equality saturation lags behind the practice. In this paper, we define a fixpoint semantics of equality saturation based on tree automata and uncover deep connections between equality saturation and the chase. We characterize the class of chase sequences that correspond to equality saturation. We study the complexities of terminations of equality saturation in three cases: single-instance, all-term-instance, and all-E-graph-instance. Finally, we define a syntactic criterion based on acyclicity that implies equality saturation termination.

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

↑