egglog

egraphs + datalog! (by egraphs-good)

Egglog Alternatives

Similar projects and alternatives to egglog

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better egglog alternative or higher similarity.

egglog reviews and mentions

Posts with mentions or reviews of egglog. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-08.
  • Towards a New SymPy
    5 projects | news.ycombinator.com | 8 Sep 2023
    The herbie project using egraphs to explore different ways of rewriting floating point expressions. https://herbie.uwplse.org/ One can also write custom rulesets in egglog (a new egraph rewriting system / language / datalog) https://egraphs-good.github.io/egglog/?example=herbie

    The approach is not yet anywhere near being able to touch all the domains sympy can handle. Destructive term rewriting tends to be a bit more forgiving to unsoundness in the rules and still returning roughly meaningful results. EGraph rewriting (and other automated reasoning systems) tend to just return junk as soon as you aren't careful about your semantics. Associativity and commutativity are ubiquitous in CAS applications and encoding these concepts in general purpose terms is rather unsatisfying. The post above emphasizes specialty methods for polynomials, which it would be desirable to find a clean way to integrate into egraph techniques. Variable binding (which is treated in a rather mangled form in CAS systems) is seemingly important for treating summation, differentiation, and integration correctly. The status of doing variable binding efficiently and correctly in egraphs is also unclear imo.

  • What is the state of the art for creating domain-specific languages (DSLs) with Rust?
    7 projects | /r/rust | 21 Jun 2023
    For semantic analyzers, check out egg and egglog. They're custom data structures for representing compiler rewrite rules in a non-destructive way.
  • Ask HN: What is new in Algorithms / Data Structures these days?
    15 projects | news.ycombinator.com | 10 May 2023
    The recent work on relational, datalog-inspired egraphs in PLDI this year ("Unifying Datalog and Equality Saturation") is actually interesting because it can solve cases like the y/x*x -> y identity example, by the power of an interval analysis on x (among other things.) Sort of like adding a postulate but instead it's by adding relations between terms in the graph.

    https://github.com/egraphs-good/egglog

    https://arxiv.org/pdf/2304.04332.pdf

  • Better Together: Unifying Datalog and Equality Saturation
    2 projects | news.ycombinator.com | 18 Apr 2023
    Close, but the link is on Page 13, and it points here: https://github.com/mwillsey/egg-smol

    Unfortunately the naming is all a bit confusing, isn't it....

  • A note from our sponsor - WorkOS
    workos.com | 26 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic egglog repo stats
4
335
9.5
8 days ago

egraphs-good/egglog is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of egglog is Rust.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com