Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Categorical programming with more than one category?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Categorical programming with more than one category?


chronological Thread 
  • From: Noam Zeilberger <noam+ AT cs.cmu.edu>
  • To: Robin Green <greenrd AT greenrd.org>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club] Categorical programming with more than one category?
  • Date: Tue, 8 Jul 2008 00:27:08 -0400
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Mon, Jul 07, 2008 at 05:36:55PM +0100, Robin Green wrote:
> What I am getting at is: can more than one category be useful in
> programming (as opposed to merely doing mathematics)?

I'm not sure if this is what you meant, but indeed, Paul Levy's theory
of call-by-push-value is all about how working in at least two
categories (forming an adjunction) can be very useful for programming.
I've played with embeddings of a very similar language in Coq and Agda
(which you can find on my webpage), but came to the language from
proof-theoretic rather than categorical principles -- so the multiple
categories are lurking in there somewhere, but they're not explicit.

Also Deepak Garg once showed me how the programming language defined
in Pfenning and Davies' "A judgmental reconstruction of modal logic"
is most naturally interpreted with (pure) "terms" living in one
category and (effectful) "expressions" living in a Kleisli category.
In general I think Frank Pfenning et al's work on "the judgmental
method" is all about how working with more than one category is very
useful in logic and programming, but most of that work has not been
explicitly related to category theory.

Noam





Archive powered by MhonArc 2.6.16.

Top of Page