-
Notifications
You must be signed in to change notification settings - Fork 360
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
identity type usage #1128
Comments
Don't we do this all throughout mathematics? "There are prime numbers p and q such that pq = 91." |
Isn't |
The correct form of elimination and computation rules for the higher constructors of HITs is a somewhat delicate matter - and still open to different approaches. See section 6.2 for a discussion of some of the issues. Note that in CTT the computation rule for loop is also definitional. |
We could reduce possible confusion by referring back to Lemma 6.25, and recall the issues by writing (more correctly): |
The book doesn't reserve "proposition" to refer to only (-1)-types; it calls those "mere propositions". |
MS: "The book doesn't reserve "proposition" to refer to only (-1)-types; it calls those "mere propositions"." |
Right. I don't think there's any potential ambiguity in that; what else could it mean? There is a bit of lack of parallelism in these sentences of the form "such that P and Q" where P is a judgment and Q is a type, but I don't think that's very serious. |
In the paragraph I highlighted above, you don't want to assert that the type is inhabited, you want to give an element of it. |
Giving an element of a type is the same as asserting that it is inhabited. (Not to be confused with asserting that it is merely inhabited!) |
Oops, you're right -- indeed, you say this: "when we say that A is inhabited, we mean that we have given a (particular) element of A, but that we are choosing not to give a name to that element" in 1.11. |
true. But the convention (I guess) is that simply displaying a type such as a = b means the same as the judgement that the type is inhabited (or rather, the meta-statement that there is some t for which the judgement t : a = b holds). |
that in response to MS: "There is a bit of lack of parallelism in these sentences of the form "such that P and Q" where P is a judgment and Q is a type, but I don't think that's very serious." |
Right, that's why I think it's not very serious. |
agreed. |
Why isn't that just what that paragraph already explains? |
It should be explained that when you write "if X", or when you assert "X", you are regarding X as a proposition, in the way described. |
What else could we be doing? |
It won't be obvious to students. |
Here is an example where an identity type is used in a sentence as though it were a proposition:
This is likely to cause confusion.
The text was updated successfully, but these errors were encountered: