-
Notifications
You must be signed in to change notification settings - Fork 23
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
Anomaly with universes for reverse_coercion symbol #350
base: master
Are you sure you want to change the base?
Conversation
This reverts commit 31289c8.
This reverts commit 1bf24d4.
# Conflicts: # coq-hierarchy-builder.opam
Coq master 0.9.1
….7.0+elpi-1.12 Coq master+coq elpi 1.7.0+elpi 1.12
Coq master+1.1.0
…96-show-all-names-about Adapt to coq PR #14596 which let Arguments displaying all names in About/Print
# Conflicts: # tests/about.v.out
Except if a search depth was explicitly provided, in which case we just enforce it.
but we also support hierarchies of functions
Co-authored-by: Enrico Tassi <[email protected]>
@CohenCyril it might be the same issue as this (minimized) example: proux01@4491d95 |
I don't think so, because the error message is different:
but it could still be the same error in a different disguise. I'll try to minimize later... |
Do you get the anomaly while running HB, or it is plain Coq? |
If I replace the failing line HB.instance Definition _ (C : ConcretePreCat.type) := PreFunctor_IsFunctor.Build C U concrete (@concrete1 _) (@concrete_comp _). with Definition mixin (C : ConcretePreCat.type) := PreFunctor_IsFunctor.Build C U concrete (@concrete1 _) (@concrete_comp _).
HB.instance Definition _ (C : ConcretePreCat.type) := mixin C. the error is on the first line, so in plain Coq but using a HB generated constant? |
Exhibiting an anomaly related to universe polymorphisms and reverse coercions (cf discussion from coq/coq#17484 (comment))
test with
@gares @proux01