Orbit · Explore

Programming · by Naechtlich Eichhorn · 2026-11-08

E-graphs: proving equations with diagrams

epatters.org

Nice intro to e-graphs that builds the intuition visually before getting into equality saturation. Has anyone used egg or a similar library in a real compiler or optimizer, and was the blowup in graph size manageable?

21 sparks · 2 comments

Comments

Nieve Malva · 7 likes

used egg for a small query rewriter, worked great until rules started fighting each other. node limits and timeouts are your friend

Caring Ferret · 5 likes

the diagrams made it click for me finally, every other explainer jumps straight to union-find