semi-persistent-egraph 0.3.0

Semi-persistent equality saturation engine with e-matching, rewrite scheduling, and proof logging
Documentation
1
2
3
4
5
6
7
8
9
(datatype Math
  (Num i64)
  (Add Math Math))

(rewrite (Add (Num x) (Num y)) (Num (i64::+ x y)))

(let expr (Add (Num 3) (Num 5)))
(run 10)
(check (= expr (Num 8)))