Termsslug: e-graph

E-graph

等式图

A data structure compactly representing large sets of equivalent terms and rewrites, used in compiler optimization and equality

Curated Intelligence

2 items · Page 1/1
Hacker News AIT2·Models
62 pts
MIT Team Automates Compiler Correctness Proofs with E-Graphs

A MIT CSAIL team introduces an e-graph-based proof-automation tool that automatically verifies the correctness of compiler definitions for previously unseen programming languages, without extra annotations to guide theorem proving. Described as the first general tool of its kind, the paper has been accepted to POPL 2027.

AWS Machine Learning BlogT1·Tools
58 pts
Open Source Engine Uses Anti-Unification for Semantic Policy Diffing

Textual diffs of formal policies are noisy because semantically equivalent rewrites appear as changes. An open source engine, semi-persistent, computes semantic diffs via anti-unification over an e-graph, deriving the most specific common pattern of two policies and isolating genuine behavioral differences. The approach applies to Cedar, OpenShell and CEL policies, helping reviewers catch critical changes such as an and replaced by an or.