arXiv · 2610.01198
Associativity and Commutativity in Equality Saturation
Abstract
Equality saturation is a promising technique for program optimization which sidesteps the phase ordering problem. However, current e-graph implementations grow exponentially large, even for simple examples. Many practical applications involve associative and commutative (AC) operators. We present an extension of relational e-matching that handles AC operators natively by storing terms as multisets. Preliminary results show that equality saturation modulo AC uses asymptotically less memory in certain cases.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Tarik Rosin, Marcel Ullrich, Sebastian Hack. 2026-10-01. Associativity and Commutativity in Equality Saturation. https://arxiv.org/abs/2610.01198
Cite the original work for its findings. Save a collection to share your selection of sources.