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

Add trans_one_inductive_entry #789

Merged
merged 6 commits into from Dec 15, 2022

Conversation

JasonGross
Copy link
Contributor

Also add a comment with a partial trans_mutual_inductive_entry. It seems not possible to write this method yet? (I could also drop the commit that adds this partially, if that's preferred.) This is towards #776

@mattam82
Copy link
Member

Ah, I see. It's just that PCUIC was not updated to use a context instead of this custom list local_entry, would you mind doing this change?

@JasonGross
Copy link
Contributor Author

Ah, I see. It's just that PCUIC was not updated to use a context instead of this custom list local_entry, would you mind doing this change?

@mattam82 Done

Comment on lines 128 to 129
mind_entry_variance := None (* Should something go here??? *);
mind_entry_template := false |}.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this correct? Is PCUIC incapable of doing template-universes, and template-coq incapable of storing variance information?

Copy link
Member

Choose a reason for hiding this comment

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

I think both should have both fields. But check in quoter.ml for what a particular version of Coq supports, it changes in recent versions.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can we make that update in another PR, and merge this one now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Actually, it looks like it's just PCUIC that supports neither variance nor template polymorphism.

@JasonGross
Copy link
Contributor Author

ping @mattam82

@mattam82
Copy link
Member

mattam82 commented Dec 6, 2022

I’ll have to check, probably this afternoon

@JasonGross
Copy link
Contributor Author

ping @mattam82 can this be merged?

@mattam82
Copy link
Member

Yes, sorry for the delay

@JasonGross JasonGross deleted the trans_one_inductive_entry branch December 15, 2022 11:45
JasonGross added a commit to JasonGross/metacoq that referenced this pull request Dec 15, 2022
The updated version of MetaCoq#789 managed to define
`trans_mutual_inductive_entry`
JasonGross added a commit to JasonGross/metacoq that referenced this pull request Dec 15, 2022
The updated version of MetaCoq#789 managed to define
`trans_mutual_inductive_entry`
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.

None yet

2 participants