Omelets Need Onions: E-graphs Modulo Theories via Bottom-up E-matching
By: Philip Zucker
Potential Business Impact:
Makes computer programs run much faster.
E-graphs are a data structure for equational reasoning and optimization over ground terms. One of the benefits of e-graph rewriting is that it can declaratively handle useful but difficult to orient identities like associativity and commutativity (AC) in a generic way. However, using these generic mechanisms is more computationally expensive than using bespoke routines on terms containing sets, multi-sets, linear expressions, polynomials, and binders. A natural question arises: How can one combine the generic capabilities of e-graph rewriting with these specialized theories. This paper discusses a pragmatic approach to this e-graphs modulo theories (EMT) question using two key ideas: bottom-up e-matching and semantic e-ids.
Similar Papers
E-Graphs With Bindings
Logic in Computer Science
Helps computers understand programs with changing parts.
EGGs are adhesive!
Logic in Computer Science
Makes computer programs run much faster.
Optimizing Optimizations: Case Study on Detecting Specific Types of Mathematical Optimization Constraints with E-Graphs in JijModeling
Programming Languages
Makes math problems solve much faster.