|国家预印本平台
首页|E-Graphs With Bindings

E-Graphs With Bindings

E-Graphs With Bindings

来源:Arxiv_logoArxiv
英文摘要

Equality saturation, a technique for program optimisation and reasoning, has gained attention due to the resurgence of equality graphs (e-graphs). E-graphs represent equivalence classes of terms under rewrite rules, enabling simultaneous rewriting across a family of terms. However, they struggle in domains like $\lambda$-calculus that involve variable binding, due to a lack of native support for bindings. Building on recent work interpreting e-graphs categorically as morphisms in semilattice-enriched symmetric monoidal categories, we extend this framework to closed symmetric monoidal categories to handle bindings. We provide a concrete combinatorial representation using hierarchical hypergraphs and introduce a corresponding double-pushout (DPO) rewriting mechanism. Finally, we establish the equivalence of term rewriting and DPO rewriting, with the key property that the combinatorial representation absorbs the equations of the symmetric monoidal category.

Aleksei Tiurin、Dan R. Ghica、Nick Hu

计算技术、计算机技术

Aleksei Tiurin,Dan R. Ghica,Nick Hu.E-Graphs With Bindings[EB/OL].(2025-05-01)[2025-07-16].https://arxiv.org/abs/2505.00807.点此复制

评论