categories - Category Theory list
 help / color / mirror / Atom feed
From: Thorsten Altenkirch <txa@Cs.Nott.AC.UK>
To: Steve Lack <s.lack@uws.edu.au>, <categories@mta.ca>
Subject: Re: Where does the term monad come from?
Date: Sat, 11 Apr 2009 16:43:13 +0100	[thread overview]
Message-ID: <B5F4EBD3-18FC-4B38-9FED-3AB212DF369B@Cs.Nott.AC.UK> (raw)

Hi Steve,

thank you for addressing the other part of my question.

> There was also a second part to the question:
>
>>
>> Btw, I frequently encounter monads in a categories of functors which
>> are not endofunctors. An example are finite dimensional vectorspaces
>> which can be constructed via a monoid in the category of functors
>> FinSet -> Set, here I is the embedding and (x) can be constructed
>> from
>> the left kan extension and composition.
>> The unit is given by the Kronecker delta and join can be constructed
>> from Matrix multiplication. Should one call these beasts monads as
>> well? Is there a good reference for this type of construction?
>
> The category of functors from FinSet to Set is equivalent to the
> category
> of endofunctors of Set which preserve filtered colimits: such
> endofunctors
> are usually called finitary. Thus a monoid in [FinSet,Set] with
> respect to
> this tensor product is the same thing as a monad on Set whose
> endofunctor
> part is finitary: this is called a finitary monad.
>
> These finitary monads on Set are equivalent to Lawvere theories and
> so in
> turn to (finitary, single-sorted) varieties.
>
> Finitary monads can also be considered on other base categories than
> Set,
> especially on locally finitely presentable ones.
>
> It is true that vector spaces are the algebras for a finitary monad
> on Set.
> There is no need to restrict to finite-dimensional vector spaces; in
> fact it
> is not true that there is a monad on Set whose algebras are the
> finite-dimensional vector spaces.

I am not sure I completely understand your comments. I guess it may be
helpful to be more precise:

F : FinSet -> Set
F A = Real -> A

together with:

>

eta_A : A -> F A
eta a = \ b . if a=b then 1 else 0

(>>=) : F A -> (A -> F B) -> F B
v >>= f = \ b. \Sigma a:A.(v a)*(f a b)

My notation is inspired by functional programming and naturally as a
Computer Scientist I am interested in the constructive content of
theorems. This construction only works if the input is decidable
(needed for eta) and if we can define Sigma (this certainly works if A
is finite).

I can see how to lift F to a functor on Sets by using a Kan extension
(left ?). In my terminology it may be something like

F' : Set -> Set
F' X = Sigma A:FinSet. A -> X x F A

I suspect my eta and >>= give then rise to a monad on Set? However, I
don't see how to do this if the vector spaces are not finite.

Btw, I only used this as an example. My question was rather wether
people have studied monoids in categories of functors which are not
endofunctors. I believe this notion is useful in functional
programming and Type Theory as a natural generalisation of the notion
of a monad.

Cheers,
Thorsten


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.





             reply	other threads:[~2009-04-11 15:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-11 15:43 Thorsten Altenkirch [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-04-12  1:30 Steve Lack
2009-04-07 16:50 Zinovy Diskin
2009-04-07 15:10 jim stasheff
2009-04-07  7:32 Vaughan Pratt
2009-04-07  2:06 RJ Wood
2009-04-06 20:24 John Baez
2009-04-06  4:52 Patrik Eklund
2009-04-03 13:55 burroni
2009-04-03  4:33 Steve Lack
2009-04-03  4:28 Steve Lack
2009-04-02 13:31 jim stasheff
2009-04-01 21:19 burroni
2009-04-01 19:47 Venanzio Capretta
2009-04-01 18:45 Johannes.Huebschmann
2009-04-01 18:13 Michael Barr
2009-04-01 11:24 Thorsten Altenkirch

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=B5F4EBD3-18FC-4B38-9FED-3AB212DF369B@Cs.Nott.AC.UK \
    --to=txa@cs.nott.ac.uk \
    --cc=categories@mta.ca \
    --cc=s.lack@uws.edu.au \
    /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).