<div class="csl-bib-body">
<div class="csl-entry">Cheung, A., Nandi, C., & Lerner, S. (2026). Conditional Rewrite Rule Synthesis Using E-Graphs and Implication Propagation. In B. Dutertre & B. Könighofer (Eds.), <i>Proceedings of the 26th Conference on Formal Methods in Computer-Aided Design – FMCAD 2026</i> (pp. 379–390). TU Wien Academic Press. https://doi.org/10.34727/2026/isbn.978-3-85448-093-8_43</div>
</div>
Compilers, synthesizers, and theorem provers rely on rich rulesets for manipulating expressions via rewriting, but developing such rules remains difficult and error-prone. While prior work has automated synthesis of rewrite rules, it has focused largely on strict equalities, leaving conditional rewrites largely unsupported. Conditional rule synthesis explores a much larger search space because it must search for both the rule body and the condition. Effective pruning of the space is crucial for scaling synthesis to large grammars. The commonly used “derivability” metric for eliminating redundant rules in the strict setting does not extend directly to the conditional case. A conditional rule may be redundant not only when its body and condition are equivalent to a rule, but also when its condition implies a condition of a more general rule. We present CHOMPY, a tool for synthesizing conditional rewrite rules. CHOMPY’s core contribution is implication propagation, a technique that lifts equality saturation to the predicate level to discover logical implications between conditions, then uses those implications to obtain a new notion of conditional derivability and ruleset minimization. To evaluate CHOMPY, we compare the synthesized conditional ruleset to handwritten ones from Caviar (an equality saturation theorem prover) and Halide’s term rewriting system. CHOMPY’s rewrites derive 73.3% of Caviar’s and 57.1% of Halide’s conditional rules. CHOMPY outperforms an LLM-only baseline on both benchmarks. Unlike the LLM’s substantially variable output across runs, CHOMPY’s results are deterministic and stable.
en
dc.language.iso
en
-
dc.rights.uri
http://creativecommons.org/licenses/by/4.0/
-
dc.subject
formal methods
en
dc.subject
computer-aided system design
en
dc.subject
hardware and system verification
en
dc.title
Conditional Rewrite Rule Synthesis Using E-Graphs and Implication Propagation
en
dc.type
Inproceedings
en
dc.type
Konferenzbeitrag
de
dc.rights.license
Creative Commons Namensnennung 4.0 International
de
dc.rights.license
Creative Commons Attribution 4.0 International
en
dc.identifier.doi
10.34727/2026/isbn.978-3-85448-093-8_43
-
dc.contributor.affiliation
University of California San Diego, United States of America (the)
-
dc.contributor.affiliation
Certora Inc.
-
dc.contributor.affiliation
Cornell University, United States of America (the)
-
dc.contributor.editoraffiliation
Amazon Web Services
-
dc.contributor.editoraffiliation
Graz University of Technology (Graz, AT)
-
dc.relation.isbn
978-3-85448-093-8
-
dc.description.volume
7
-
dc.description.startpage
379
-
dc.description.endpage
390
-
dc.rights.holder
Andrew Cheung, Chandrakana Nandi and Sorin Lerner
-
dc.type.category
Full-Paper Contribution
-
dc.relation.eissn
2708-7824
-
tuw.booktitle
Proceedings of the 26th Conference on Formal Methods in Computer-Aided Design – FMCAD 2026
-
tuw.peerreviewed
true
-
tuw.relation.ispartof
10.34727/2026/isbn.978-3-85448-093-8
-
tuw.relation.publisher
TU Wien Academic Press
-
tuw.book.chapter
43
-
tuw.researchTopic.id
I1
-
tuw.researchTopic.id
I2
-
tuw.researchTopic.id
C5
-
tuw.researchTopic.name
Logic and Computation
-
tuw.researchTopic.name
Computer Engineering and Software-Intensive Systems
-
tuw.researchTopic.name
Computer Science Foundations
-
tuw.researchTopic.value
40
-
tuw.researchTopic.value
40
-
tuw.researchTopic.value
20
-
tuw.publication.orgunit
E000 - Technische Universität Wien
-
dc.identifier.libraryid
AC17999056
-
dc.description.numberOfPages
12
-
tuw.relation.ispartoftuwseries
Conference Series: Formal Methods in Computer-Aided Design
-
dc.contributor.serieseditor
Weissenbacher, Georg
-
dc.contributor.serieseditor
Hunt, Warren A., Jr.
-
dc.rights.identifier
CC BY 4.0
de
dc.rights.identifier
CC BY 4.0
en
tuw.editor.orcid
0000-0002-6284-380X
-
tuw.editor.orcid
0000-0001-5183-5452
-
wb.sciencebranch
Informatik
-
wb.sciencebranch.oefos
1020
-
wb.sciencebranch.value
100
-
item.openaccessfulltext
Open Access
-
item.cerifentitytype
Publications
-
item.languageiso639-1
en
-
item.openairecristype
http://purl.org/coar/resource_type/c_5794
-
item.openairetype
conference paper
-
item.fulltext
with Fulltext
-
item.mimetype
application/pdf
-
item.grantfulltext
open
-
crisitem.author.dept
University of California San Diego, United States of America (the)
-
crisitem.author.dept
Certora Inc.
-
crisitem.author.dept
Cornell University, United States of America (the)