Tech News
← Home  ·  All topics

E Graphs

2 GoKawiil briefs on this topic

Topos Institute blog post outlines categorical framework for e-graph equational reasoning

A new post cross-published on the Topos Institute blog examines e-graphs, the congruence-maintaining data structures used in tools like egg and egglog for equational reasoning and computer algebra. The author reviews recent proposals by two research groups to give e-graphs categorical semantics via 'e-hypergraphs,' and introduces plans for an alternative concept called an 'e-diagram' built around the notion of an initial functor. The piece is framed as the first in a series exploring how diagrams can be used to prove equations.

New open-source e-graph tool 'lambda-microegg' adds binder support for lambda calculus rewriting

A developer released lambda-microegg, an e-graph library extending Max's microegg with built-in variable binders, higher-order Miller pattern matching, and capture-avoiding substitution. The tool is available on GitHub along with a WebAssembly browser demo, and includes example benchmarks such as sum-rewrite rules and AC-10 saturation tests compared against the existing egg library.