-
Notifications
You must be signed in to change notification settings - Fork 631
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
Fix #17852 (universe issue with reverse coercions) #17853
Conversation
543979a
to
3201bd0
Compare
Dear @coq/universes-maintainers we would like to tag 8.18rc in 10 days. If you can review this bugfix by then I would be very happy. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still fails on
Record type : Type := Pack { sort :> nat -> Type }.
Definition set := fun _ : nat => Set.
Canonical UnitProp := Pack set.
Check set : type.
you should use refresh_universes ~onlyalg:true ~status:Evd.univ_flexible (Some false)
on the types not some adhoc if issort then new_type
hack
3201bd0
to
03d078f
Compare
Thanks both for acting quickly! |
Thanks @SkySkimmer it's indeed much better than my horrible hack. |
You should undraft and run full ci if this is ready |
@coqbot run full ci |
The windows failure seems unrelated, otherwise CI is green. |
@coqbot merge now |
@gares: You cannot merge this PR because:
|
@coqbot merge now |
It would be nice to revert the change to HB and confirm MCA has no problems |
Fixes #17852
Added changelog.(bug shouldn't appear in any released version)Added / updated documentation.Documented any new / changed user messages.Updated documented syntax by runningmake doc_gram_rsts
.Opened overlay pull requests.