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

Change (BodyContain Expr Expr) to (BodyContain Id Expr) #300

Merged
merged 1 commit into from
Jan 30, 2024

Conversation

clyben
Copy link
Collaborator

@clyben clyben commented Jan 30, 2024

This PR fix the issue #299 that
c ≅ (Let id1 (arg1 = 1) arg1+arg1) ≅ (Let id2 (arg2 = 2) arg2) resulting in
(BodyContains c (+ arg1 arg1)) and (BodyContains c arg2)
I perfer to still call it BodyContains, which seems more intuitive.

@clyben clyben marked this pull request as ready for review January 30, 2024 01:59
@clyben clyben requested a review from yihozhang January 30, 2024 01:59
Copy link
Collaborator

@yihozhang yihozhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@clyben clyben merged commit 27fad56 into egraphs-good:main Jan 30, 2024
2 checks passed
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