Termsslug: anti-unification

Anti-unification

反合一

Algorithm computing the most specific common pattern of two expressions, classically formulated by Plotkin in 1970.

Curated Intelligence

1 items · Page 1/1
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.