-
Notifications
You must be signed in to change notification settings - Fork 142
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
Proof minimization #186
Proof minimization #186
Conversation
…rter-explanations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple more small things to fix
src/egraph.rs
Outdated
} | ||
} | ||
|
||
/// Pick a representative pattern for a given id and substitutions for particular eclasses. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function's semantics aren't clear from name and comment, it should probably be private.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the comment, is that good enough? There's not much point if it's private, I would just delete it.
This PR adds a greedy proof minimizer to egg and functions for unioning and intersecting egraphs.