coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT hcoop.net>
- To: Edsko de Vries <devriese AT cs.tcd.ie>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] Universe constraints
- Date: Sat, 21 Jun 2008 16:20:48 -0400
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
Edsko de Vries wrote:
I understand that Type is not impredicative and so when we
say
Inductive prod : Type -> Type -> Type := | pair : forall A : Type, ..
the type of A must be a "lower" Type than the Type in the result of
prod. However, it seems to me that the alternative definition (with A a
parameter to the datatype) introduces the same impredicativity "through
the backdoor".
I presume that one definition introduces a paradox somewhere but the
other doesn't.
Maybe. I just know that the typing rules for Gallina add "<=" for parameters and "<" for constructor arguments. There's probably a good meta-theoretical reason for it, but you probably don't need to know the reason to program effectively in Gallina.
- [Coq-Club] Universe constraints, Edsko de Vries
- Re: [Coq-Club] Universe constraints,
Adam Chlipala
- Re: [Coq-Club] Universe constraints,
Edsko de Vries
- Re: [Coq-Club] Universe constraints,
Adam Chlipala
- Re: [Coq-Club] Universe constraints,
Edsko de Vries
- Re: [Coq-Club] Universe constraints, Adam Chlipala
- Re: [Coq-Club] Universe constraints, Hugo Herbelin
- Re: [Coq-Club] Universe constraints,
Edsko de Vries
- Re: [Coq-Club] Universe constraints,
Adam Chlipala
- Re: [Coq-Club] Universe constraints,
Edsko de Vries
- Re: [Coq-Club] Universe constraints,
Adam Chlipala
Archive powered by MhonArc 2.6.16.