The reviewed record of science sign in
Pith

arxiv: 2501.02413 · v1 · pith:GNZAFXPO · submitted 2025-01-05 · cs.PL · cs.DB

Semantic foundations of equality saturation

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:GNZAFXPOrecord.jsonopen to challenge →

classification cs.PL cs.DB
keywords equalitysaturationchasedefineprogramacyclicityall-e-graph-instanceall-term-instance
0
0 comments X
read the original 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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.