2021
DOI: 10.48550/arxiv.2108.10436
|View full text |Cite
Preprint
|
Sign up to set email alerts
|

Rewrite Rule Inference Using Equality Saturation

Abstract: Many compilers, synthesizers, and theorem provers rely on rewrite rules to simplify expressions or prove equivalences. Developing rewrite rules can be difficult: rules may be subtly incorrect, profitable rules are easy to miss, and rulesets must be rechecked or extended whenever semantics are tweaked. Large rulesets can also be challenging to apply: redundant rules slow down rule-based search and frustrate debugging.This paper explores how equality saturation, a promising technique that uses e-graphs to apply … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1

Citation Types

0
3
0

Year Published

2021
2021
2021
2021

Publication Types

Select...
2

Relationship

0
2

Authors

Journals

citations
Cited by 2 publications
(3 citation statements)
references
References 40 publications
0
3
0
Order By: Relevance
“…The equational nature of our framework is particularly adapt for prefixing the adjective "algebraic" to the name of these practices. Authors of egg [58] have recently published a paper introducing a technique that is using equality saturation to automatically infer new systems of rewrite rules [35]. Rewrite rules and systems can be treated as algebraic entities much like terms in symbolic mathematics.…”
Section: Algebraic Metarewritingmentioning
confidence: 99%
“…The equational nature of our framework is particularly adapt for prefixing the adjective "algebraic" to the name of these practices. Authors of egg [58] have recently published a paper introducing a technique that is using equality saturation to automatically infer new systems of rewrite rules [35]. Rewrite rules and systems can be treated as algebraic entities much like terms in symbolic mathematics.…”
Section: Algebraic Metarewritingmentioning
confidence: 99%
“…Since their first appearance [4], E-graphs have been used in different domains, although mainly focused on program optimization. E-graphs were initially proposed as a data structure that is capable of representing equivalence 3 The time limit used in this evaluation is 3s relation efficiently, before becoming an essential part of every SMT solver [13].…”
Section: Caviar+ Vs Halide's Trsmentioning
confidence: 99%
“…By exploiting E-Class Analysis, Constant Folding can be implemented as an e-class analysis that highlights the parallels with abstract interpretation. egg is being used in multiple projects in different domains, in the likes of Ruler [3] which uses equality saturation to automatically infer rewrite rules, Diospyros [11] which performs vectorization for digital signal processors via equality saturation, Tensat [14] which presents a novel technique for tensor graph superoptimization using equality saturation and e-graphs, Herbie [6] which improves the accuracy of floating point expressions , Szalinski [2] which is a tool that uses Equality Saturation with semantics-preserving CAD rewrites to efficiently search for more optimized equivalent programs, SPORES [12] which uses equality saturation to simplify linear algebra expressions, and Glenside [8] which performs term rewriting using equality saturation to map program fragments to hardware accelerator invocations and automatically discover classic data layout transformations.…”
Section: Caviar+ Vs Halide's Trsmentioning
confidence: 99%