Anomaly with universes for reverse_coercion symbol#350
Draft
CohenCyril wants to merge 84 commits intomath-comp:masterfrom
Draft
Anomaly with universes for reverse_coercion symbol#350CohenCyril wants to merge 84 commits intomath-comp:masterfrom
CohenCyril wants to merge 84 commits intomath-comp:masterfrom
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 <Enrico.Tassi@inria.fr>
Contributor
|
@CohenCyril it might be the same issue as this (minimized) example: proux01@4491d95 |
Member
Author
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... |
Member
|
Do you get the anomaly while running HB, or it is plain Coq? |
Contributor
|
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? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Exhibiting an anomaly related to universe polymorphisms and reverse coercions (cf discussion from rocq-prover/rocq#17484 (comment))
test with
@gares @proux01