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

Coq section #1468

Merged
merged 2 commits into from
Sep 28, 2021
Merged

Coq section #1468

merged 2 commits into from
Sep 28, 2021

Conversation

robdockins
Copy link
Contributor

Alter Coq export for Cryptol modules so that all declarations are wrapped in a Section, and cause primitive declarations to be translated as section variables instead of top-level parameters.

Also, improve some of the pretty-printing accounting to skip let-binding of terms that are elided.

and translate `primitive` declarations into section `Variable` declarations
instead of using top-level parameters.
included in the eventual printed term.  This avoids more instances
where terms become "let" bound that appear not to be referenced
in the printed term.
Copy link
Contributor

@brianhuffman brianhuffman 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 to me.

@eddywestbrook
Copy link
Contributor

This seems like an interesting direction to go with the Coq translation. I'd love to talk more about it at some point.

@robdockins robdockins merged commit ffcaeb3 into master Sep 28, 2021
@mergify mergify bot deleted the coq-section branch September 28, 2021 23: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.

3 participants