计算机科学 > 程序设计语言
[提交于 2025年1月7日]
标题:Semantic foundations of equality saturation
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Yihong Zhang[v1] 2025年1月7日 星期二 00:00:00 UTC