coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Stefan Monnier <monnier AT IRO.UMontreal.CA>
- To: Matthieu Sozeau <mattam AT mattam.org>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Strange subtyping
- Date: Thu, 07 Jun 2018 11:13:32 -0400
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=monnier AT IRO.UMontreal.CA; spf=Pass smtp.mailfrom=monnier AT iro.umontreal.ca; spf=None smtp.helo=postmaster AT pruche.dit.umontreal.ca
- Ironport-phdr: 9a23:RjdMmx1DbtMiU7gJsmDT+DRfVm0co7zxezQtwd8Zse0RL/ad9pjvdHbS+e9qxAeQG9mDtrQc06L/iOPJYSQ4+5GPsXQPItRndiQuroEopTEmG9OPEkbhLfTnPGQQFcVGU0J5rTngaRAGUMnxaEfPrXKs8DUcBgvwNRZvJuTyB4Xek9m72/q99pHPYwhEniaxba9vJxiqsAvdsdUbj5F/Iagr0BvJpXVIe+VSxWx2IF+Yggjx6MSt8pN96ipco/0u+dJOXqX8ZKQ4UKdXDC86PGAv5c3krgfMQA2S7XYBSGoWkx5IAw/Y7BHmW5r6ryX3uvZh1CScIMb7S60/Vza/4KdxUBLmiDkJOSM6/mHZhMJ/jqxUrx29qBJw2IPUfJiVOeBicq/BZ94XR2xMVdtRWSxbBYO8apMCAfcdPelGoYnyvV0Opga5CwmrAuPvzD5IiWHs3aYn1OkhFAbG3AomH9IPrnvUts74OqQOX+6s1qXHwzLNb/RQ2Tfh8ojHbAouofWWUb9ubcfc0E8iHB7GgFWIsYHpIj2Y2voXv2SF8+ZtWvijh3AopgxwuDSj2NkghpHUio8b1FzI7zt1zJo6KNGiVkJ2Y8SoHIVfui2EMYZ9X9ksTHtyuCkgz70LoZ67czYOyJQg3xPfc+aHc5WU7RLjSumdOyp3hHN5eL6lmhay9E+gyuvgVsmuzllFtC5FnsPQuX8XzxDT686HReVh/kq5xDqC2R7f5vtaLUwomqfXMYAtz7Exm5YJr0jPADf6mEDsg6+XckUk9PKo6+PiYrj+o5+cMIl0igf/MqswgMyyGuU4MhIJX2SB5OS80brj/UvlQLVQkPI5iK3ZvIrGKssBvqK5GRNa0p4/6xajCDeryMgXnX4eLF5cZB2Hi5XpNErVLfDjDfa/hkysny1xy/DHOL3hGJTNIWLZnLfvZ7Yuo3JbnS860cxf5p9JQooGMv/6RwelsdXEEhY8Gwm93/ruDZN6zIxICkyVBarMC7/fv1aOrscoJe+NaZVd7DP6Lf4k6uTGrEUe32I4eq+1x5YebDaTN6I1cA2ifXPwj4JZQi8xtQ0kQbmy0QzQYXtof3+3GpkEyHQ+AYOiA53EQ9n90r2b22GmG5pQenpLA1TKGn66LtzYCcdJUzqbJ4paqhJBTaKoEt9z9CuJ8jLfzLx7NOfd/msznMC7jYUn16jojRg3sAdMIYGd3mWKFTwmhnkVTD87mqx+vQpgz1CFzbJ1ivgeHtUBv/4=
> What we don’t have is Prop : Set indeed, only Prop <= Set and Set <=
> Type(i). Actually we even have Prop < Set internally, i.e the two sorts are
> enforced to be distinct. One reason is that the set-theoretic model allows
> this, the impredicative universe Prop being interpreted as { ø, { ø } }
> which is a subset of Set’s interpretation. However this subtyping rule is a
> bit of a pain as it complicates the model: one has to modify the
> interpretation of function types and applications to use a so-called trace
> encoding to kind of dynamically detect if a term is in Prop or Set. If we
> remove it (which is a plan we have for a future version of the calculus),
> then one can see Prop as a separate universe from the predicative Type
> hierarchy and your example wouldn’t work anymore.
Which brings me to a question I've had for a while now:
When Set was made predicative, why wasn't the relationship between
Type/Prop/Set changed to "Prop : Set : Type₀"?
I can't quite understand what is the current situation, where Prop and
Set seem to be "siblings" (as was the case when set was impredicative)
yet at the same time Set is above Prop. I'm not sure what are the
benefits of this "flou artistique".
Stefan
- [Coq-Club] Strange subtyping, Helmut Brandl, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Matthieu Sozeau, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Stefan Monnier, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Maxime Dénès, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Stefan Monnier, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Maxime Dénès, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Stefan Monnier, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Maxime Dénès, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Helmut Brandl, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Helmut Brandl, 06/09/2018
- Re: [Coq-Club] Strange subtyping, Théo Zimmermann, 06/09/2018
- Re: [Coq-Club] Strange subtyping, Helmut Brandl, 06/15/2018
- Re: [Coq-Club] Strange subtyping, Théo Zimmermann, 06/09/2018
- Re: [Coq-Club] Strange subtyping, Stefan Monnier, 06/07/2018
- Re: [Coq-Club] Strange subtyping, Matthieu Sozeau, 06/07/2018
Archive powered by MHonArc 2.6.18.