arrow
Return

Contextual Equality Saturation

delete2026-01-01
delete0
PRE
AI
A
Alexandre Drewery *
J
Jensen, Thomas P.
D
David Pichardie
DOI:10.1007/978-3-032-07106-4_3delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Equality saturation is a semantics-based technique for automatically and efficiently proving that two programs are equivalent modulo a fixed set of equality axioms. In this paper, we extend the equality saturation technique with contextual reasoning in order to perform rewriting under assumptions that are locally valid inside a conditional branch. This is based on a new notion of cyclic e-graphs with contextual annotations. We experimentally validate the efficiency and scalability of this new technique by proving equivalence of several families of programs where contextual reasoning is required.
Keywords:
Equality saturation
Contextual reasoning
Program equivalence
E-graphs
Rewriting systems

Journal

S
STATIC ANALYSIS, SAS 2025
IF:
0
Papers:
14
Citations:
0

Organization

I
Inria
Scholars:
3.5K
Papers: 2.5K
Citations: 343
U
university of copenhagen
Scholars:
7.8K
Papers: 3.1K
Citations: 0
Cited Papers

Cited Papers

Equality Saturation: A New Approach to Optimization
err2011-03-28
err0
errOAAI
errRoss Tate; Michael Stepp; Zachary Tatlock; Sorin Lerner
errShare
errSave
Efficient E-Matching for SMT Solvers
err2007-01-01
err0
PREAI
errLeonardo de Moura; Nikolaj Bjørner
errShare
errSave
Synthesizing structured CAD models with equality saturation and inverse transformations
err2020-06-11
err0
errOAAI
errChandrakana Nandi; Max Willsey; Adam Anderson; James R. Wilcox; Eva Darulova; Dan Grossman; Zachary Tatlock
errShare
errSave
Equality-Based Translation Validator for LLVM
err2011-01-01
err0
errOAAI
errMichael Stepp; Ross Tate; Sorin Lerner
errShare
errSave
researcher View more