arXivPreprintOpen accessmath.CT
How to prove equations using diagrams: A categorical and operational semantics for e-graphs
Evan Patterson
Key points
From the paper's conclusion- We propose an operational semantics for e-graphs based on the fundamental category-theoretic concepts of diagrams, limits, and initial functors.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- egg: Fast and Extensible Equality SaturationCommunications of the ACM · 2026
- Mathematical foundations for symmetric programming and reasoningarXiv · 2026
- Efficient Extraction for Effectful E-graphsProceedings of the ACM on Programming Languages · 2026
- Quantum algorithms for equational reasoningScience Advances · 2026
- TensorRocq: Enabling Diagrammatic Reasoning in RocqProceedings of the ACM on Programming Languages · 2026
- Rewriting modulo in diagrammatic algebras and application to categorificationAdvances in Mathematics · 2026