Reproduce “egg: Fast and Extensible Equality Saturation” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Max Willsey, Chandrakana Nandi, Yisu Remy Wang, Oliver Flatt, Zachary Tatlock, Pavel Panchekha
egg makes equality saturation more practical by deferring e-graph invariant repair to the end of each iteration and attaching propagated semantic facts to equivalence classes through e-class analyses. This lets rewrites use facts such as constants. On 32 tests, once-per-iteration rebuilding yielded geometric-mean speedups of 88-fold in congruence closure and 21-fold overall, versus repair after every merge; results are workload-specific.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.