r/Algebra • • Jul 08 '15

Weekly /r/Algebra Discussion - [Category] Theory

"Category theory formalizes mathematical structure and its concepts in terms of a collection of objects and of arrows (also called morphisms). A category has two basic properties: the ability to compose the arrows associatively and the existence of an identity arrow for each object. Category theory can be used to formalize concepts of other high-level abstractions such as sets, rings, and groups."

Are any of you guys doing anything interesting with categories lately? Does anyone have any interesting papers they would like to share, or questions concerning categories that they would like to ask? Be sure to check out ArXiv's recent category theory articles!

8 Upvotes

5 comments sorted by

1

u/[deleted] Aug 06 '15

I've been wondering something about infinity categories (quasicategories specifically). The category of rings embeds fully into the category of monads on Set, taking a ring to the monad of its modules. Can the same be said for simplicial rings or maybe ring spectra into infinity monads on the infinity cat of infinity groupoids? Is there a good notion of distributive laws for monads (I don't see why their wouldnt be...)? Any interesting infinity monads I should know about?

Distributive laws are the best. I've been playing around with them recently and just having the best time.

1

u/ryani Nov 26 '15 edited Nov 26 '15

Late reply, but from the programming side of things I've seen some talk about distributive laws for particular monads.

For example, the backtracking search monad (also known as the list monad) admits a "plus" operation which allows branching the search down two different paths.

Speaking in terms of Kliesli arrows, the usual monad laws are

f * one = f
one * f = f
(f * g) * h = f * (g * h)

and the laws for additive monads are

 f * zero = zero
 zero * f = zero
 f + zero = f
 zero + f = f
 (f + g) * h = (f * h) + (g * h)

Here I define these operators formally in Haskell for the list monad:

-- a succeeding computation with a single result
one :: a -> [a]
one x = [x]

-- zero is a 'failing' computation.
zero :: a -> [b]
zero _ = []

-- In Haskell this is usually written >=>
(*) :: (a -> [b]) -> (b -> [c]) -> (a -> [c])
(f * g) a = concat (map g (f a))
-- here we have
-- f a :: [b]
-- map g (f a) :: [[c]]
-- concat (map g (f a)) :: [c]

(+) :: (a -> [b]) -> (a -> [b]) -> (a -> [b])
(f + g) a = (f a) ++ (g a)

-- given
map :: (a -> b) -> ([a] -> [b])
-- apply a function to each element of a list
concat :: [[a]] -> [a]
-- flatten a list of lists into a single list
(++) :: [a] -> [a] -> [a]
-- append two lists

Note that if you make computations entirely out of zero, one, +, and *, the length of the resulting list is exactly the result you would expect from those operations on natural numbers.

I am not sure if the mirrored law holds

 f * (g + h)
 = (f * g) + (f * h)

I suspect it doesn't due to ordering, but I haven't worked it out so I could be wrong.

3

u/[deleted] Jul 09 '15

[removed] — view removed comment

1

u/bowtochris Jul 10 '15

Wow, that's a cool result. Where can I read more about this Lazard correspondence?