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] Inductive definition and induction principle
- Date: Thu, 24 Jul 2014 14:56:41 +0100
Hi,
On 24/07/14 14:20, Michel Levy wrote:
> I examine the differences between the and_rect and prod_rect definition
> (with Print and_rect and Print prod_rect).
> In the and_rect definition, you have P:Type while in the prod_rect
> definition, you have P: prod A B -> Type.
> Why is the reason of this difference ?
Do you find the fact that "prod_rect" and "and_rect" have different types
surprising?
Isn't that just a straightforward consequence of the fact that "prod" and
"and" themselves have different types?
That is:
and : Prop -> Prop -> Prop
prod : Type -> Type -> Type
- [Coq-Club] Inductive definition and induction principle, Michel Levy, 07/24/2014
- Re: [Coq-Club] Inductive definition and induction principle, Matej Kosik, 07/24/2014
- Re: [Coq-Club] Inductive definition and induction principle, Arnaud Spiwack, 07/24/2014
- Re: [Coq-Club] Inductive definition and induction principle, Matej Kosik, 07/24/2014
Archive powered by MHonArc 2.6.18.