-
Notifications
You must be signed in to change notification settings - Fork 52
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 coq.univ.super #400
base: master
Are you sure you want to change the base?
✨ Add coq.univ.super #400
Conversation
Please rebase on master the diff is spurious otherwise. I sort of recall @ppedrot saying that "sorts have a super, not universes", but maybe I'm wrong and this API is OK. Maybe it was about max? |
There is |
I would have liked to add the following test to Elpi Query lp:{{
coq.typecheck (sort (typ U)) T ok,
coq.unify-eq T (sort (typ {coq.univ.super U})) ok.
}}. i.e. making sure that in However I get the following error and cannot understand its source:
I can just say that in my local version of Coq-Elpi (mainly disabling |
I saw a message by @CohenCyril on this very topic on zulip, and the answer was that Coq's universe constraint system is not able to represent this constraints (at least not always)... |
This is a different problem, I think |
Indeed the use case here is actually for #401 which is accepted by Coq but undoable in elpi as of today |
Short utility function to make
Type@{i+1}