Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Same symbol for functions and implication

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Same symbol for functions and implication


Chronological Thread 
  • From: AUGER Cédric <sedrikov AT gmail.com>
  • To: "N. Raghavendra" <raghu AT hri.res.in>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Same symbol for functions and implication
  • Date: Sun, 8 Sep 2013 21:22:26 +0200

Le Sun, 08 Sep 2013 16:22:18 +0530,
"N. Raghavendra"
<raghu AT hri.res.in>
a écrit :

> I'm learning Coq and am wondering why the symbol -> is used both for
> functions between types as in "evenb : nat -> bool", and for
> implications between propositions as in "forall n : nat, even n ->
> even (S (S n))". Is there any mathematical reason for this, or is it
> just a matter of convenience?
>
> Best regards,
> Raghu.
>

And also, remember that in Coq, "A -> B" is just a notation for
"forall (_:A), B".

I do not remember if starting the session with "-nois" parameter
triggers an error when you write "A -> B".



Archive powered by MHonArc 2.6.18.

Top of Page