coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Abhishek Anand <abhishek.anand.iitg AT gmail.com>
- To: coq-club <coq-club AT inria.fr>
- Subject: [Coq-Club] Coercion from bool to Prop
- Date: Thu, 18 Dec 2014 12:11:26 -0500
Is it possible to do something like:
Definition assert (b : bool) : Prop := (b = true).
Coercion assert : bool >-> Prop.
I get the following error (in Coq 8.4pl2) :
Syntax error: [vernac:class_rawexpr] expected after '>->' (in [vernac:gallina_ext]).
-- Abhishek
http://www.cs.cornell.edu/~aa755/- [Coq-Club] Coercion from bool to Prop, Abhishek Anand, 12/18/2014
- Re: [Coq-Club] Coercion from bool to Prop, Arthur Azevedo de Amorim, 12/18/2014
- Re: [Coq-Club] Coercion from bool to Prop, Abhishek Anand, 12/18/2014
- Re: [Coq-Club] Coercion from bool to Prop, Emilio Jesús Gallego Arias, 12/19/2014
- Re: [Coq-Club] Coercion from bool to Prop, Arthur Azevedo de Amorim, 12/18/2014
Archive powered by MHonArc 2.6.18.