coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Clarification on Prod rule for typing
- Date: Tue, 01 Sep 2015 22:30:08 +0200
On 01/09/2015 22:22, Jake Ehrlich wrote:
> More than likely I am just reading it wrong but what exactly am I
> reading incorrectly here? How should I be reading this rule?
You're actually reading it right. What you lack to type nat -> Prop :
Type is the cumulativity rule (which is indeed described in the page you
linked). It allows to upcast types into higher universes ; in your case,
nat : Set <= Type
so
nat : Type
and your arrow is typeable as expected.
PMP
Attachment:
signature.asc
Description: OpenPGP digital signature
- [Coq-Club] Clarification on Prod rule for typing, Jake Ehrlich, 09/01/2015
- Re: [Coq-Club] Clarification on Prod rule for typing, Pierre-Marie Pédrot, 09/01/2015
- Re: [Coq-Club] Clarification on Prod rule for typing, Ali Assaf, 09/01/2015
- Re: [Coq-Club] Clarification on Prod rule for typing, Pierre-Marie Pédrot, 09/01/2015
Archive powered by MHonArc 2.6.18.