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

Adapt to Coq PR #18007: Proof_using.definition_using takes names of fixpoints being built #513

Conversation

herbelin
Copy link
Contributor

@herbelin herbelin commented Oct 9, 2023

This PR is to adapt to Coq PR #18007. Its purpose is to ensure that the kernel does not receive names that are not available in the section.

When building fixpoints, the named context contains the name of the fixpoints being built (not sure this is a good way to do but it is how it is done now). So, we need to tell Proof_using.definition_using to exclude these variables.

Afaiu, the call to Proof_using.definition_using in coq-elpi is about a regular (non-recursive) definition, so the list of fixpoints names is []. I hope I did not misunderstand.

In any case, this is to be merged synchronously with coq/coq#18007.

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