Paperlane

no. 9 · Thursday 5 November 2026

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

Evan Patterson

math.CT

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.

fields
Category Theory
pdf ↗ page arXiv:2611.05924 ↗