Representing languages with bound variables in e-graphs is not straightforward. Using plain names results in reduced sharing, as multiple terms that are equivalent up to renaming are represented redundantly in the e-graph. De-Bruijn indices suffer from the same problem. Furthermore, rewriting can trigger the need to rename variables (or shift indices), such as when performing š½-reduction, which can dramatically increase the size of the e-graph.
In this work, we present a novel approach to representing bound variables in e-graphs by making them a built-in feature of the data structure. In our slotted e-graph, e-classes are parameterized by slots abstracting over all free variables. Referring to an e-class now requires instantiating it by assigning a name from the userās context to each slot. Renaming variables corresponds simply to different instantiations of an e-class.
Representing variables and š½-reduction efficiently is an important topic in many applications of equality saturation, and we hope that this talk will spark interest with the audience of the EGRAPHS workshop
Mon 24 JunDisplayed time zone: Windhoek change
10:40 - 12:20 | |||
10:40 25mTalk | Slotted E-Graphs EGRAPHS Pre-print Media Attached | ||
11:05 25mTalk | Towards Relational Contextual Equality Saturation EGRAPHS Tyler Hou University of California, Berkeley, Shadaj Laddad University of California at Berkeley, Joseph M. Hellerstein UC Berkeley Pre-print Media Attached | ||
11:30 25mTalk | Performant Dynamically Typed E-Graphs in Pure Julia EGRAPHS Pre-print Media Attached | ||
11:55 25mTalk | EGSTRA: E-Graph-Based Strategy for Test Suite Reduction and Abstraction EGRAPHS Sabrina Reis Lawrence Livermore National Laboratory, Matthew Sottile Lawrence Livermore National Laboratory Media Attached File Attached |