Navigation Menu

Skip to content
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

"Check (nat : Type) : Set." now fails with universe inconsistency (polyproj) #103

Closed
JasonGross opened this issue Apr 8, 2014 · 3 comments

Comments

@JasonGross
Copy link

Check (nat : Type) : Set.
(* Error:
The term "nat:Type" has type "Type" while it is expected to have type
"Set" (Universe inconsistency). *)
@mattam82
Copy link
Member

This makes sense, that Type has a rigid universe level and hence can't be coerced to Set. This is backwards-compatible as well.

@mattam82
Copy link
Member

Also, how am I supposed to disallow the unification of @eq Type A B and @eq Set A B from another bug report if this is allowed?

@JasonGross
Copy link
Author

Er, right. I think this worked in HoTT/coq, but I agree now that it shouldn't. Feel free to move the corresponding test case from opened to closed, leaving the Fail in place, so that we have a test that this shouldn't work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants