coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Vladimir Voevodsky <vladimir AT ias.edu>
- To: Coq Club <coq-club AT pauillac.inria.fr>
- Subject: [Coq-Club] another question (Prop as a subtype of Set)
- Date: Tue, 13 Oct 2009 13:49:08 -0400
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
In the following sequence of instructions:
Axiom f5 : Set -> nat .
Axiom P0 : Prop .
Axiom S0 : Set .
Check f5 P0 .
Check eq P0 S0 .
The last two produce the following reactions:
f5 P0
: nat
and
Error: The term "S0" has type "Set" while it is expected to have type "Prop".
respectively.
Why does f5 treat Prop as a subtype of Set but eq does not?
V.
- Re: [Coq-Club] an inductive types question, (continued)
- Re: [Coq-Club] an inductive types question, Thorsten Altenkirch
- Re: [Coq-Club] an inductive types question, Vladimir Voevodsky
- Re: [Coq-Club] an inductive types question, Adam Chlipala
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- Re: [Coq-Club] an inductive types question, André Hirschowitz
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- Re: [Coq-Club] an inductive types question, André Hirschowitz
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- Re: [Coq-Club] an inductive types question, André Hirschowitz
- Re: [Coq-Club] an inductive types question, Dan Doel
- [Coq-Club] another question (Prop as a subtype of Set), Vladimir Voevodsky
- [Coq-Club] another question (cont.), Vladimir Voevodsky
- Re: [Coq-Club] another question (cont.), Taral
- [Coq-Club] About extraction and mutual recursion, AUGER Cédric
- [Coq-Club] Typo on coq manual, AUGER
- Re: [Coq-Club] Typo on coq manual, Pierre Letouzey
- Re: [Coq-Club] another question (Prop as a subtype of Set), Matthieu Sozeau
- Re: [Coq-Club] an inductive types question, Vladimir Voevodsky
- Re: [Coq-Club] an inductive types question, AUGER Cédric
- Re: [Coq-Club] an inductive types question, André Hirschowitz
- Re: [Coq-Club] an inductive types question, AUGER Cédric
Archive powered by MhonArc 2.6.16.