egg: Fast and extensible equality saturation
egg: Fast and extensible equality saturation
复制标题
Egg:快速且可扩展的平等饱和
DOI:
10.1145/3434304
复制
发表时间:
2021
影响因子:
--
通讯作者:
Panchekha, Pavel
中科院分区:
文献类型:
--
作者:
Willsey, Max;Nandi, Chandrakana;Wang, Yisu Remy;Flatt, Oliver;Tatlock, Zachary;Panchekha, Pavel
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
DOI:
--
发表时间:
2019
期刊:
Encyclopedia of Big Data Technologies
影响因子:
--
作者:
Matthias Boehm
通讯作者:
Matthias Boehm
DOI:
10.1007/978-3-642-22110-1_59
发表时间:
2011
期刊:
ACM Transactions on Graphics (TOG)
影响因子:
--
作者:
M. Stepp;R. Tate;Sorin Lerner
通讯作者:
Sorin Lerner