Replies: 2 comments
-
We can try to enable cumulative inductives, but prepare for many issues with universe constraint heuristics going wrong.
This is slightly incorrect, the constraints on the universes depend on |
Beta Was this translation helpful? Give feedback.
0 replies
-
See #1680 and #1657 for some cases where it was easy to add cumulativity. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In Coq, we can specify a polymorphic inductive type
A
to beCumulative
which means that constructors ofA@{i}
can be lifted definitionally to act as constructors ofA@{j}
fori <= j
.We already use cumulativity for
Equiv
andpaths
. Would it be a good idea to set this globally?Semantically, I believe that when we add type constructors to a CwF universe hierarchy, we want the constructor to commute strictly with lifts. I believe by setting cumulative polymorphic inductive types we are basically doing this for W-types.
Another question, is there any reason anybody would need to care about lifting operations? I'm not aware of any mathematics that explicitly requires them to work.
Beta Was this translation helpful? Give feedback.
All reactions