egg: Fast and extensible equality saturation

egg: Fast and extensible equality saturation
复制标题

Egg:快速且可扩展的平等饱和

DOI:
10.1145/3434304
复制
发表时间:
2021
影响因子:
--
通讯作者:
Panchekha, Pavel
Panchekha, Pavel
中科院分区:
--
文献类型:
--
作者:
Willsey, Max;Nandi, Chandrakana;Wang, Yisu Remy;Flatt, Oliver;Tatlock, Zachary;Panchekha, Pavel

文献摘要

参考文献

被引文献

相似文献

一个e-图有效地表示了许多表达式上的同余关系。虽然它们最初是在20世纪70年代后期开发的,用于自动定理证明器,但最近一种被称为等式饱和的技术重新利用了e图,以实现最先进的重写驱动的编译器优化和程序合成器。然而,电子图对于这个较新的用例仍然是非专用的。平等饱和度的工作负载表现出鲜明的特点,往往需要特别的电子图扩展,将转换超越纯粹的语法rewrites.This工作贡献了两种技术,使电子图快速和可扩展的,专门为平等饱和度。一种称为重建的新的摊销不变恢复技术利用了等式饱和的独特工作负载,在实践中提供了优于当前技术的渐进加速。一种叫做e-class analyses的通用机制将特定领域的分析集成到e-graph中,减少了特别操作的需要,我们在一个新的开源库egg中实现了这些技术。我们对之前发表的三个等式饱和应用的案例研究强调了egg的性能和灵活性如何在不同领域实现最先进的结果。
An e-graph efficiently represents a congruence relation over many expressions. Although they were originally developed in the late 1970s for use in automated theorem provers, a more recent technique known as equality saturation repurposes e-graphs to implement state-of-the-art, rewrite-driven compiler optimizations and program synthesizers. However, e-graphs remain unspecialized for this newer use case. Equality saturation workloads exhibit distinct characteristics and often require ad-hoc e-graph extensions to incorporate transformations beyond purely syntactic rewrites.This work contributes two techniques that make e-graphs fast and extensible, specializing them to equality saturation. A new amortized invariant restoration technique called rebuilding takes advantage of equality saturation's distinct workload, providing asymptotic speedups over current techniques in practice. A general mechanism called e-class analyses integrates domain-specific analyses into the e-graph, reducing the need for ad hoc manipulation.We implemented these techniques in a new open-source library called egg. Our case studies on three previously published applications of equality saturation highlight how egg's performance and flexibility enable state-of-the-art results across diverse domains.
DOI: 10.1007/3-540-56883-2_11
发表时间: 1993
期刊: --
影响因子: --
作者:
N. Dershowitz
通讯作者: N. Dershowitz
DOI: --
发表时间: 1997
期刊: nternational sWorkshop on Modern Software Tools for Scientific Computing
影响因子: --
作者:
J. M. Boyle;T. Harmer;V. Winter
通讯作者: V. Winter
DOI: --
发表时间: 2017-07
期刊: ArXiv
影响因子: --
作者:
Kevin Ellis;Daniel Ritchie;Armando Solar-Lezama;J. Tenenbaum
通讯作者: Kevin Ellis;Daniel Ritchie;Armando Solar-Lezama;J. Tenenbaum
Apache系统ML
DOI: --
发表时间: 2019
期刊: Encyclopedia of Big Data Technologies
影响因子: --
作者:
Matthias Boehm
通讯作者: Matthias Boehm
LLVM 基于等式的翻译验证器
DOI: 10.1007/978-3-642-22110-1_59
发表时间: 2011
期刊: ACM Transactions on Graphics (TOG)
影响因子: --
作者:
M. Stepp;R. Tate;Sorin Lerner
通讯作者: Sorin Lerner