Equality saturation theory exploration `a la carte

📅 2026-09-13
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
为解决高质量重写规则集开发难题,提出Enumo语言,通过核心操作符引导规则推断并逐步构建规则集,支持更大语法和新策略。
📝 Abstract
Rewrite rules are critical in equality saturation, an increasingly popular technique in optimizing compilers, synthesizers, and verifiers. Unfortunately, developing high-quality rulesets is difficult and error-prone. Recent work to automatically infer rewrite rules does not scale to large terms or grammars. Users struggle to guide inference and incrementally construct rulesets because existing rule inference tools are monolithic and opaque. As a result, most equality saturation users still manually develop and maintain rulesets. This paper proposes Enumo, a new domain-specific language for programmable theory exploration. Enumo provides a small set of core operators that enable users to strategically guide rule inference and incrementally build rulesets. Short Enumo programs easily replicate results from state-of-the-art tools like Ruler, but Enumo programs can also scale to infer deeper rules from larger grammars than prior approaches. Enumo's composable operators even facilitate developing new strategies for ruleset inference. We introduce a new fast-forwarding strategy which does not require evaluating terms in the target language, and thus supports domains that were out of scope for prior work. Enumo is also easy to extend: two new operators suffice to incorporate large language models into rule inference, where they complement guided search. We evaluate Enumo and fast-forwarding across a variety of domains. Compared to state-of-the-art techniques, Enumo can synthesize better rulesets over a diverse set of domains, in some cases matching the effects of manually developed rulesets in systems driven by equality saturation.
Problem

Research questions and friction points this paper is trying to address.

equality saturation
rewrite rules
rule inference
grammars
theory exploration
Innovation

Methods, ideas, or system contributions that make the work stand out.

Equality Saturation
Rule Inference
Programmable Theory Exploration
Fast-Forwarding Strategy
🔎 Similar Papers
No similar papers found.
A
Anjali Pal
University of Washington, USA
B
Brett Saiki
University of Washington, USA
Ryan Tjoa
Ryan Tjoa
Undergraduate, University of Washington
Computer Science
C
Cynthia Richey
University of Pennsylvania, USA
A
Amy Zhu
University of Washington, USA
O
Oliver Flatt
University of Washington, USA
Max Willsey
Max Willsey
UC Berkeley
Programming Languages
Zachary Tatlock
Zachary Tatlock
University of Washington
CompilersVerificationProgram SynthesisComputational Fabrication
C
Chandrakana Nandi
Certora Inc., USA