Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Coercion from bool to Prop

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Coercion from bool to Prop


Chronological Thread 
  • 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]).

Thanks,



Archive powered by MHonArc 2.6.18.

Top of Page