iCreatAI News
Skip to content
Trending storyWatching

AWS open-sources anti-unification policy semantic diff engine

1 reports1 sources3 days agoUpdated

Understand this story

AI overview

The AWS Machine Learning Blog introduced an open-source engine that uses anti-unification on e-graphs to compute the most specific common pattern of two formal policies: identical parts are shown only once, and differing parts retain both versions for review. The engine does not directly import native policies from Cedar, Dogwood, OpenShell, or CEL; instead, it encodes the relevant syntax as terms and declares equalities, and is mainly used to compare multiple candidates generated by LLM autoformalization. The engine is released on GitHub under the Apache-2.0 license, and building from source only requires a pinned version of the Rust toolchain. AWS says that if a difference is not eliminated, it may simply be that the engine has not yet discovered the corresponding equivalence.

AI overview based on source reports · Updated 3 days ago

Coverage timeline

Follow the coverage to explore different perspectives.

Nov 12
  1. AWS Machine Learning Blog
    Semantic diffing of formal policies with anti-unification

    The post describes an open source engine that computes semantic diffs of formal policies by anti-unification over an e-graph, using declared algebraic laws and domain rewrites so that shared structure appears once and each genuine disagreement is kept as a Variants node. Worked examples cover SMT-LIB-style rules, Cedar and Dogwood authorization policies, and OpenShell and CEL encodings, showing how presentational differences are absorbed while real bugs such as a weakened conjunction or a dropped guard remain visible. The engine builds from source with a pinned Rust toolchain and reads a single S-expression file.

Activity for this story

Current comparable activity
3
Peak comparable activity
10Nov 12 09:00
Change in the past 24 hours
-51%

Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.