categories - Category Theory list
 help / color / mirror / Atom feed
From: "Rasmus Møgelberg" <mogel@itu.dk>
To: David Leduc <david.leduc6@googlemail.com>
Cc: categories@mta.ca
Subject: Re:  product for free
Date: Wed, 18 Aug 2010 16:36:41 +0200	[thread overview]
Message-ID: <E1Om2uJ-0008Mh-Vz@mlist.mta.ca> (raw)
In-Reply-To: <E1OlX3J-0000O9-18@mlist.mta.ca>

Dear David,

If you consider not only a closed monoidal category, but a full model
of dual intuitionistic linear logic (DILL) with parametric
polymorphism, the answer is yes. A model of DILL means among other
things that the tensor is symmetric, and that there is a comonad,
usually denoted ! . Writing --o for the closed structure and --> for
the Girard encoding A --> B = !A --o B, then one can first encode
coproducts as
A + B = forall C . (A --o C) --> (B --o C) --> C
and then products as
A x B = forall C . ((A --o C) + (B --o C)) --o C
Further details on these encodings can be found in Linear Abadi and
Plotkin Logic, by Birkedal, Møgelberg and Petersen, Logical methods in
Computer Science, 2(5).

Rasmus

On 17 August 2010 15:27, David Leduc <david.leduc6@googlemail.com> wrote:
> Hi,
>
> In lambda-calculus one can define the product of types A and B by:
>
>   forall C, (A->B->C)->C.
>
> with pairing and projections defined as:
>
> pair ≡ λx.λy.λz.z x y
> fst ≡ λp.p (λx.λy.x)
> snd ≡ λp.p (λx.λy.y)
>
> What would be the equivalent in a closed monoidal category?
> Would we get a product for free?
>

[For admin and other information see: http://www.mta.ca/~cat-dist/ ]


  parent reply	other threads:[~2010-08-18 14:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-17 13:27 David Leduc
2010-08-18  6:18 ` soloviev
2010-08-20  2:16   ` Robert Seely
2010-08-18 14:36 ` Rasmus Møgelberg [this message]
2010-08-19 12:59 ` Gordon Plotkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1Om2uJ-0008Mh-Vz@mlist.mta.ca \
    --to=mogel@itu.dk \
    --cc=categories@mta.ca \
    --cc=david.leduc6@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).