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
12
13
14
15
(datatype Nat
    (Num i64)
    (OtherNum i64))



(rule ((= y 2))
      ((union (OtherNum y) (Num y))))

(Num 2)


(run 100)

(check (= (OtherNum 2) (Num 2)))