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
(datatype Operand)
(sort VecOperandBase (Vec Operand))
(datatype VecOperand (VO VecOperandBase))
(sort VecVecOperandBase (Vec VecOperand))

(rule
   ((= v1 (vec-of))
    (= v2 (VO v1))
    (= v3 (vec-of v2)))
   ())