egglog 2.0.0

egglog is a language that combines the benefits of equality saturation and datalog. It can be used for analysis, optimization, and synthesis of programs. It is the successor to the popular rust library egg.
Documentation
1
2
3
4
5
6
7
8
9
10
11
(datatype*
    (Math
        (Add Math Math)
        (Sum MathVec)
        (B Bool))
    (sort MathVec (Vec Math))
    (Bool
        (True)
        (False)))

(let $expr (Add (Sum (vec-of (B (True)) (B (False)))) (B (True))))