Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] CoC

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] CoC


Chronological Thread 
  • From: Pierre-Marie Pédrot <pierre-marie.pedrot AT inria.fr>
  • To: Cody Roux <cody.roux AT andrew.cmu.edu>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] CoC
  • Date: Fri, 31 May 2013 11:13:35 +0200

On 31/05/2013 01:46, Cody Roux wrote:
> To be fair, and I'm aware I'm getting a bit off track here, the CoC
> already has several features that I consider "incredibly valuable to
> know and be able to wield", at leas for PL enthusiasts:
>
> - Higher-order functions
> - Parametric polymorphism
> - Type constructors and higher kinds
> - Dependent types

To keep things off track a bit more, I have to state that I quite don't
agree. Indeed, all you mention is fun stuff, even though the first two
points are a personal requirement to call any language "decent".

Though, looking through the Curry-Howard correspondence, I personally
consider that both on the programming side and on the logic one, the
important thing are algebraic datatypes. Without them, what you mention
is a bit dull.

1. They are a vital tool for the programmer (second order encoding is a
kludgy workaround, both for efficiency and expressivity)

2. They make logic even more exciting when you have dependent types.
Being able to express an axiom-free dependent elimination ranges from a
basic need (think of Peano's induction) to a brand new field (we're
still at the dawn of all that univalence fuss).

PMP

Attachment: signature.asc
Description: OpenPGP digital signature




Archive powered by MHonArc 2.6.18.

Top of Page