Skip to content
Preprint

How to prove equations using diagrams: A categorical and operational semantics for e-graphs

Nov 2026 · 0 citations · 34 references
Mathematics Computer Science

Abstract

E-graphs are a powerful algorithmic technique for automated equational reasoning but have resisted a conceptual understanding independent of issues of presentation and implementation. We propose an operational semantics for e-graphs based on the fundamental category-theoretic concepts of diagrams, limits, and initial functors. We illustrate the formalism through numerous example calculations and establish its soundness and completeness. Technical prerequisites are kept to a minimum in the main text; less standard elements of the mathematical theory are developed in two appendices.

View source

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.