Open DeLectionnes opened 1 month ago
I have a MWE for this bug (or a related one) :
Actually it's a different bug, see https://github.com/MetaCoq/metacoq/issues/1115
Here is a MWE with the same error as my previous message. It's a different error message from what MathisBD got :
The error message is
Illegal application:
The term "Ind" of type "forall T : Type, T -> Prop"
cannot be applied to the terms
"T" : "Type"
"t" : "T"
The 1st term has type "Type@{tests.recherche.45}" which should be a subtype of "Type@{tests.recherche.43}".
It's a different error message from what MathisBD got :
Indeed, this now seems like two different bugs. I'll open a new issue.
Also I shortened your MWE a bit :
The error message is still the same.
When defining new objects and inductive types in one
MetaCoq Run
call from theirterm
AST, if your definitions are dependent, it can lead to a universe level error not present when defining them with multiple calls.We provide a better MWE in the posts below.