Equality Saturation as an Abstract Interpretation

Equality saturation is typically described as a technique for exploring program transformations without destructive edits, allowing the simultaneous exploration of many rewriting paths. This perspective is adequate for describing optimizers over term languages, but struggles to encompass important extensions, such as representing contextual rewrites or reasoning about programs with control flow. We instead propose to view equality saturation as an abstract interpretation, where the abstract domain represents variables as symbolic values conforming to a conjunction of equality constraints, and rewriting constitutes a local decreasing iteration that adds new equalities into the conjunction. This perspective affords a natural description of a flow-sensitive equality saturation and applies to programs with unstructured control flow. Standard abstract domains can be combined with equality saturation - we show that e-class analysis, a previously proposed analysis framework for e-graphs, constitutes adding analysis constraints over symbolic values into our domain. We describe how our abstract domain can be efficiently represented using versioned e-graphs. We implement equality saturation as an abstract interpretation in a prototype tool - we demonstrate its analysis capabilities on example programs and its efficiency due to a formulation of relational versioned equality saturation.

Authors

Publication Details

Journal
arXiv
Published
2026-12-01
Primary Topic
Logic, programming, and type systems
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Equality Saturation as an Abstract Interpretation

Max Willsey, Alvin Cheung, Russel Arbore
arXiv
Logic, programming, and type systems
preprint

Equality Saturation as an Abstract Interpretation

Max Willsey, Alvin Cheung, Russel Arbore
preprint en

Abstract

Equality saturation is typically described as a technique for exploring program transformations without destructive edits, allowing the simultaneous exploration of many rewriting paths. This perspective is adequate for describing optimizers over term languages, but struggles to encompass important extensions, such as representing contextual rewrites or reasoning about programs with control flow. We instead propose to view equality saturation as an abstract interpretation, where the abstract domain represents variables as symbolic values conforming to a conjunction of equality constraints, and rewriting constitutes a local decreasing iteration that adds new equalities into the conjunction. This perspective affords a natural description of a flow-sensitive equality saturation and applies to programs with unstructured control flow. Standard abstract domains can be combined with equality saturation - we show that e-class analysis, a previously proposed analysis framework for e-graphs, constitutes adding analysis constraints over symbolic values into our domain. We describe how our abstract domain can be efficiently represented using versioned e-graphs. We implement equality saturation as an abstract interpretation in a prototype tool - we demonstrate its analysis capabilities on example programs and its efficiency due to a formulation of relational versioned equality saturation.

arXiv
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Equality Saturation as an Abstract Interpretation — Max Willsey, Alvin Cheung, et al. · arXiv (2026) | TGRS Research Map | TGRS