coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- 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".
- [Coq-Club] Same symbol for functions and implication, N. Raghavendra, 09/08/2013
- Re: [Coq-Club] Same symbol for functions and implication, Guillaume Brunerie, 09/08/2013
- [Coq-Club] Re: Same symbol for functions and implication, N. Raghavendra, 09/09/2013
- Re: [Coq-Club] Same symbol for functions and implication, Daniel de Rauglaudre, 09/08/2013
- Re: [Coq-Club] Same symbol for functions and implication, AUGER Cédric, 09/08/2013
- Re: [Coq-Club] Same symbol for functions and implication, Arnaud Spiwack, 09/09/2013
- Re: [Coq-Club] Same symbol for functions and implication, Guillaume Brunerie, 09/08/2013
Archive powered by MHonArc 2.6.18.