-
Notifications
You must be signed in to change notification settings - Fork 363
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
Exercise 3.15 on impredicative truncation #1165
Comments
it seems to me, too, that the computation rule will only be propositional. |
The exercise says to show that it has the same recursion principle with the judgmental computation rule. Isn't that what |
I guess it is a bit unclear because the exercise says "if we assume propositional resizing" but then it states a property of a type that lies in a higher universe and is not resized. I think the type stated in the exercise does have a judgmental computation rule for the recursion principle, but after we resize it to an equivalent type in the same universe as A, it will only have a propositional computation rule. Is that the point? |
The Coq-HoTT file I linked to does it three ways. First, without resizing, and having the result be in a different universe. Then you get a judgmental computation rule. Then it gives two ways to make things land in the right universe. One is to resize the propositions that you use as motives for the rule. With this approach, you are literally using the proposed definition of the truncation, but you still only get a propositional computation rule. A second approach is to use resizing on the proposed definition of the truncation. This requires So at the very least I'd say the exercise is misleading. But if you are really trying to define an operation that lands in the same universe, I don't see a way to get a judgmental computation rule, so I think the exercise should say that. |
(And just to get clear, the exercise doesn't specify how the universe of |
Yes, I agree the exercise is misleading. One possibility would be to give it two parts: (a) For (b) The type in the previous part does not lie in the same universe U. Show that if we assume propositional resizing, we can define a type in the same universe as A and satisfying the same recursion principle as the propositional resizing, albeit only with a propositional computation rule. |
That looks good to me! |
Another point is that the recursion principle with judgmental computation rule applies only to motive propostions that lie in the same universe, whereas the true propositional truncation can eliminate into propositions in any universe. |
Exercise 3.15 asks the reader to define propositional truncation using
\Pi_P ((A -> P) -> P)
with propositional resizing, and to show that the computation rule is judgmental. In Coq-HoTT, this is formalized in https://github.com/HoTT/Coq-HoTT/blob/master/theories/Metatheory/ImpredicativeTruncation.v, but we only get a propositional computation rule. Is there a different way to do this can gives a judgmental computation rule, or should the exercise be changed?The text was updated successfully, but these errors were encountered: