Skip to content
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

Merged
merged 85 commits into from
Aug 8, 2022
Merged

Proof minimization #186

merged 85 commits into from
Aug 8, 2022

Conversation

oflatt
Copy link
Member

@oflatt oflatt commented Jun 16, 2022

This PR adds a greedy proof minimizer to egg and functions for unioning and intersecting egraphs.

@oflatt oflatt changed the title Proof minimization (in-progress PR) Proof minimization Jun 17, 2022
Cargo.toml Outdated Show resolved Hide resolved
src/egraph.rs Outdated Show resolved Hide resolved
src/egraph.rs Outdated Show resolved Hide resolved
src/language.rs Outdated Show resolved Hide resolved
src/explain.rs Outdated Show resolved Hide resolved
Copy link
Member

@mwillsey mwillsey left a 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

Cargo.toml Outdated Show resolved Hide resolved
src/egraph.rs Outdated
}
}

/// Pick a representative pattern for a given id and substitutions for particular eclasses.
Copy link
Member

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.

Copy link
Member Author

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.

src/language.rs Outdated Show resolved Hide resolved
@mwillsey mwillsey merged commit 51b4cff into egraphs-good:main Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants