Better Together: Unifying Datalog and Equality Saturation
Not on the map. Why?
Abstract (arXiv)
We present egglog, a fixpoint reasoning system that unifies Datalog and equality saturation (EqSat). Like Datalog, it supports efficient incremental execution, cooperating analyses, and lattice-based reasoning. Like EqSat, it supports term rewriting, efficient congruence closure, and extraction of optimized terms. We identify two recent applications--a unification-based pointer analysis in Datalog and an EqSat-based floating-point term rewriter--that have been hampered by features missing from Datalog but found in EqSat or vice-versa. We evaluate egglog by reimplementing those projects in egglog. The resulting systems in egglog are faster, simpler, and fix bugs found in the original systems.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). First posted on arXiv 10 Apr 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solvingcited by 2
- 2025SkyEgg: Heterogeneity-Aware Hardware Synthesis via Equality Saturationcited by 1
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworkscited by 0
- 2026Meganeura: Portable GPU Training and Inference through Vulkan and Metalcited by 0
- 2026Meganeura: Portable GPU Training and Inference through Vulkan and Metal3 Aug 2026
- 2025SkyEgg: Heterogeneity-Aware Hardware Synthesis via Equality Saturation19 Nov 2025
- 2025Verifying Computational Graphs in Production-Grade Distributed Machine Learning Frameworks12 Sep 2025
- 2025e-boost: Boosted E-Graph Extraction with Adaptive Heuristics and Exact Solving18 Aug 2025