EGRAPHS Community

The EGRAPHS 2025 workshop will take place at PLDI 2025 in Seoul!

Semantic foundations of equality saturation

2025-05-22

Talk begins at 9am PT on Zoom. The Zoom link will be distributed on the EGRAPHS Zulip just in time for each session.

Yihong will present his work on e-graph semantics!

Abstract

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.

Bio

Yihong Zhang is a Ph.D. student at the University of Washington working with Zach Tatlock and Dan Suciu. He is interested in program optimization and related stuff.