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

Un-nest proof hint events for arguments of functions/hooks #1140

Merged
merged 7 commits into from
Sep 3, 2024

Conversation

theo25
Copy link
Collaborator

@theo25 theo25 commented Aug 28, 2024

The events that correspond to evaluation of arguments of functions and hooks are currently nested inside the corresponding function/hook event. There is no need for that and it creates various complications in the processing of the proof hint trace. For this reason, this PR un-nests those events so that they appear before their corresponding function/hook event.

@rv-jenkins rv-jenkins changed the base branch from master to develop August 28, 2024 23:44
Copy link
Collaborator

@Robertorosmaninho Robertorosmaninho left a comment

Choose a reason for hiding this comment

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

LGTM.
Should we update the proof-trace.md with new info?

@theo25
Copy link
Collaborator Author

theo25 commented Aug 29, 2024

@Robertorosmaninho I added a commit with the update and a simplification to the parser logic. Thanks for pointing that out!

@Robertorosmaninho
Copy link
Collaborator

@Robertorosmaninho I added a commit with the update and a simplification to the parser logic. Thanks for pointing that out!

Wow! That was a huge simplification! Thanks!

Copy link
Contributor

@gtrepta gtrepta left a comment

Choose a reason for hiding this comment

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

LGTM, but I think I found a bug. Please fix it and then I can approve.

lib/codegen/CreateTerm.cpp Outdated Show resolved Hide resolved
@dwightguth dwightguth merged commit b4c00d1 into develop Sep 3, 2024
10 checks passed
@dwightguth dwightguth deleted the unnest-events branch September 3, 2024 19:02
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.

4 participants