Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Why do we have "Prop < Set" ? Why not just "Prop ≤ Set" ?


Chronological Thread 
  • 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 13:42:48 +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-f43.google.com
  • Ironport-phdr: 9a23:2AQaiB1gLBbd6eLYsmDT+DRfVm0co7zxezQtwd8ZseIVKfad9pjvdHbS+e9qxAeQG96Kt7QY0qGN7+jJYi8p2d65qncMcZhBBVcuqP49uEgeOvODElDxN/XwbiY3T4xoXV5h+GynYwAOQJ6tL1LdrWev4jEMBx7xKRR6JvjvGo7Vks+7y/2+94fdbghMizexe7x/IAi5oQjfucQdnJdvJLs2xhbVuHVDZv5YxXlvJVKdnhb84tm/8Zt++ClOuPwv6tBNX7zic6s3UbJXAjImM3so5MLwrhnMURGP5noHXWoIlBdDHhXI4wv7Xpf1tSv6q/Z91SyHNsD4Ubw4RTKv5LptRRT1iikIKiQ5/XnKhMJugqJVoBGvqRJxzIHbYo6aKPVwc7jBfd4ZX2dNQtpdWiJDD466coABD/ABPeFdr4TloFUBtwe+CheuBOjyzzFIgWT23aw50+88FgzL3A4tEtMBvXvIsNn5KqMfXvu0waTLzjjMc+5a1ivh5IfVbBwsruuDUaxufsfVy0QgCx7Kg1eRpIHqMTOYzesNs22B4OphUeKjkXIoqwZ0ojW2wMonl4rHhpoNx1za6Sl0xJw5KN64RUJhf9KoDZtduzuVOoZ4Ws8uXmVltSggxrAGpJK3ZjYGxIgkyhLFdfCKfIeF7xT+X+iLOzh4nmhqeLenihay70egzur8W9Gx0FlQrypFlsDAtnQD1xDP88SHRPRw80m71TaA0ADT7e5EIUQqmqbBN5EhxbswmoISsUTFACD2hF37gLGKekgg4OSl6OTqbq/4qpOBN4J4kA7zP6o2lsy6G+s4MwwOX2aB+eS70b3u5U30TbdLg/A5jqbVrI7WKMAAqaO4AAJY0Zos5wujADu6zdsUg3YKI0hbdB2Zi4XkOU3BL+36APq+jFmsnixmx//DPrL7A5XNKmLPn6vmfbZ480Jc0hY8zchD55JIDbEMOO78WkjotNDBEhA5NxG0zP38BdVm1oIeXHqPDbWDPKPTt1+I/OMvLPOWaI8bojauY8QisvXplDoynUIXVaivx5oeLn6iTdp8JEDMRHPwj9VJMmARvwl2GLG11gGJCWQCbSjiD6ll7Wk3Ut6vV4qSGYuh3+Ld0g+0G5RXYiZNDVXaQiSgTJmNR/pZMHHaGcRmiDFRDbU=

On 01/19/2017 12:28 PM, Théo Zimmermann wrote:
>
>> I guess that you wanted to say "Prop is impredicative" and "Set is
>> predicative".
>
> Yes, this is what I meant, sorry. I regularly confuse the terminology.
>
>> after starting the toplevel like this:
>>
>> coqtop -noinit
>>
>> neither Prop nor Set have any inhabitants
>
> I disagree. Inductive types are part of Coq's logic.

Where did you read that?
(documentation? source code?)

> Even if you didn't declare any inductive type yet, all the inductive types
> that you could declare form part of the various universes. Inductive
> types are not like axioms which, as long as you haven't introduced them,
> are not part of the logic.
>
>> Well, if you claim "Prop < Set", how can you say that "Set" is at the
>> bottom of the type hierarchy?
>
> I want to retract this. But then it really depends on whether we define the
> hierarchy based on < or on : (having a correspondence between the two would
> ease the reasoning but Bruno explained why we
> don't want that).
>
> Going back to your initial question, Prop and Set are very specific
> universes but if you have some Type@{i} <= Type@{j} universe constraint,
> the constraint resolution algorithm should be able to solve
> this by making Type@{i} = Type@{j}. In the case of Prop and Set, we clearly
> don't want that but, as I said, there seem to be other mechanisms to
> prevent it anyways.

Provided that you are wrong concerning your claim:

Inductive types are part of Coq's logic.
Even if you didn't declare any inductive type yet, all the inductive types
that you could declare form part of the various universes.
Inductive types are not like axioms which, as long as you haven't
introduced them, are not part of the logic.

you make, I think, a wrong conclusion above.
--
Matej Košík



Archive powered by MHonArc 2.6.18.

Top of Page