-
Notifications
You must be signed in to change notification settings - Fork 167
EGraph minimization with bisimulation #346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Very cool |
However, I'm guessing that we won't want to merge and maintain this algorithm in egg itself. You may have more luck adding it to the extraction gym |
This is very cool! But I don't currently think it should be merged. It seems all of this could be implemented outside off egg in a separate crate, which is my preference. |
Implemented bisimulation to convert egraph to dtfa, minimize the dtfa, then convert the dtfa back to egraph. There is quite a bit of overhead but the code is all self contained. If someone wants to try optimizing the minimization code they can do that too.