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: Guillaume Brunerie <guillaume.brunerie AT gmail.com>
  • To: "N. Raghavendra" <raghu AT hri.res.in>
  • Cc: Coq-Club Club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Same symbol for functions and implication
  • Date: Sun, 8 Sep 2013 12:59:30 +0200

Because it's the same thing.
A proof of the implication A -> B is a function taking a proof of A
and returning
a proof of B.
This identification of a proposition with the type of its proofs
(known as the Curry-Howard correspondence) is very fundamental to Coq
and is probably explained in every Coq tutorial you can find.

Best,

Guillaume

On 2013/9/8 N. Raghavendra
<raghu AT hri.res.in>
wrote:
> 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.
>
> --
> N. Raghavendra
> <raghu AT hri.res.in>,
> http://www.retrotexts.net/
> Harish-Chandra Research Institute, http://www.hri.res.in/
>



Archive powered by MHonArc 2.6.18.

Top of Page