Zulip Chat Archive

Stream: general

Topic: Juniper - toy Rust CAS with Lean specifications


Alessandra Simmons (Jan 15 2025 at 04:40):

Not sure if this is the right place to post this, but I wanted to show off this cool little project I made.

Juniper is a toy CAS library built in Rust using Egg, which uses automatically generated rewrite rules from provided Lean theorems. I mostly built it to get familiar with Lean types, Lean metaprogramming, and how Egg works, but I think the overall concept is pretty cool, and I'd definitely like to see CAS projects move in a more formal methods direction.

GitHub repo

Srivatsa Srinivas (Jan 15 2025 at 22:47):

https://www.youtube.com/watch?v=74VP0SbNHDE

Is a cool talk about how e-graphs are kind of equivalent to using re-write systems in a clever way with a union-find data structure

Jason Rute (Jan 15 2025 at 23:13):

@Alessandra Simmons Also see the related discussion #general > SOTA on symbolic algebraic systems written in Lean4. You might have some insights to mention there.


Last updated: May 02 2025 at 03:31 UTC