coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Matej Kosik <5764c029b688c1c0d24a2e97cd764f AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?
- Date: Thu, 19 Jan 2017 17:20:09 +0100
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=5764c029b688c1c0d24a2e97cd764f AT gmail.com; spf=Pass smtp.mailfrom=5764c029b688c1c0d24a2e97cd764f AT gmail.com; spf=None smtp.helo=postmaster AT mail-lf0-f52.google.com
- Ironport-phdr: 9a23:DnigdhTgjbCqOzNhQr4BsX26Ltpsv+yvbD5Q0YIujvd0So/mwa6yZxeN2/xhgRfzUJnB7Loc0qyN4vymBTVLvsfJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanb75/KBq7oR/eu8ULjodvKKI8wQbVr3VVfOhb2XlmLk+JkRbm4cew8p9j8yBOtP8k6sVNT6b0cbkmQLJBFDgpPHw768PttRnYUAuA/WAcXXkMkhpJGAfK8hf3VYrsvyTgt+p93C6aPdDqTb0xRD+v4btnRAPuhSwaMTMy7WPZhdFqjK9DvRyvuRJ/zY7Xbo+bOvVxcaHScs8VS2daQsZcVDZMDp+gY4YBDecMO/tToYnnp1sJqBuzHQ6iC/nzyjBWhH/9wKg00+M6EQHH3wwrAtUDvXTWodj0O6odTfy5wLfMwDrYbv5b2jTw55TVfh89vf2DQKx8fMXLxkUxCQzIiledppD4MD6X1+kAvGab4vFvVeKqkWEnqgVxriKzyccrj4nEn4QYwU3H+yVh2Is5O8G0RUphbdOnEJZcrT+WO5Z2T884Q2xkpj42xqACtJO1ZiQHyIkrywTBZ/CbcIWE+AzvWemeLDp+mXlrYqiwhwyo/kil0uD8Vte70FJNriddl9nDrHEN1xjK5siDRPtx4l6t2TiP2gzN8O1ELkc0la3UK54l3LE8jIYcsUPGHiPumUX2irGZdlk89+S29+jqZq/qq5ycOoNulA3yL6Qjlta/DOgmKgQOWnKU+eW41L3t5035R7BKg+U2n6TbsZ3XKtgUqrKnDwJRyYku6hWyAjS639gFgXYLME9KdAyIgofzJV3BPvT1APWjjFuxkjpmxv/LPrP6D5XCK3jMirbhfbJn50FAzwozyMhT54hIBbEZPPLzRkjxucTEAR8+Kgy42vroCNFg1owFQm+PGa+YMKbKsVCS/O4vIu+MZJUUuDnnMfQl6eTu3jcFngoWerDs1p8KYli5GO5nKgOXeynCmNAEREIDogc8BM/tk1yBGWoOOCjuVPpmtztlWNKtVIybStrxieaMjXiwEsIIOm5uBVWFEHOufIKBDaRfIBmOK9Nsx2RXHYOqTJUsgEmj
Hi Emilio,
On 01/19/2017 02:02 PM, Emilio Jesús Gallego Arias wrote:
> Hi Matej,
>
> Matej Kosik
> <5764c029b688c1c0d24a2e97cd764f AT gmail.com>
> writes:
>
>> after starting the toplevel like this:
>>
>> coqtop -noinit
>>
>> neither Prop nor Set have any inhabitants and thus it is not the case that
>> "Prop < Set".
>> The only thing that we can claim is "Prop ≤ Set".
>
> What do you mean by inhabitant?
I try to use this word in the same way as it is used by both Coq'Art as well
as Coq Reference Manual.
I am not quite sure if it is wise to use this word like this, but that
question I would not like to open now.
(we may be creating unnecessary confusion by using words with means that can
already have more usual denotations)
> I am not sure what you mean here, but
> note that `forall x : Prop, x` is an inhabitant of Prop.
This is a great example! Thank you!
So, indeed, this is related to what Théo said.
Even if we do not define any inductive propositions, Prop is inhabited. I
should have known this but I did not. So thank you!
Indeed:
Coq < Check (forall x : Prop, x) : Prop.
(forall x : Prop, x) : Prop
: Prop
This, still does not invalidated my objection to "Prop < Set" as long as ...
Check (forall x : Prop, x) : Set.
(forall x : Prop, x) : Set
: Set
... unless, Set has some inhabitants that are not inhabitants of Prop. Let's
try this:
Coq < Set Printing Universes.
Coq < Check (forall x : Prop, x) : Set.
(forall x : Prop, x) : Set
: Set
Coq < Check (forall x : Set, x) : Set.
Toplevel input, characters 0-32:
> Check (forall x : Set, x) : Set.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error:
The term "forall x : Set, x" has type "Type@{Set+1}"
while it is expected to have type "Set".
So this is not the counter-example that would show that, when I start "coqtop
-noinit" it would be the case that:
Set not only has all the inhabitants of Prop, but it also has some such
inhabitants, which are not in Prop.
(in which case we could relax "Prop < Set" to "Prop ≤ Set").
Are there such counter-examples?
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, (continued)
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Jacques-Henri Jourdan, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Dominique Larchey-Wendling, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Jacques-Henri Jourdan, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Théo Zimmermann, 01/18/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Bruno Barras, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Emilio Jesús Gallego Arias, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Jonathan Leivent, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Pierre Courtieu, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Théo Zimmermann, 01/19/2017
- [Coq-Club] anonymous inductives (was Re: Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?), Jonathan Leivent, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Dan Frumin, 01/20/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Pierre Courtieu, 01/20/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Emilio Jesús Gallego Arias, 01/19/2017
- Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?, Matej Kosik, 01/19/2017
Archive powered by MHonArc 2.6.18.