Jason (jcreed) wrote,

A nice natural example of a bicategory (non-strict 2-category) I didn't know about before:

Objects are sets.

Morphisms from A to B are "state machines from A to B", that is, a set X together with functions i : A → X and s : X → X + B. The set X is the set of nonfinal states. The function i says how to initialize the state given an input from A. The function s says how to take a step; you might get back another nonfinal state, or you might get an output in B.

A 2-cell from (X, i, s) to (Y, j, t) is a simulation of one state machine by the other, that is, a function h : X → Y such that hi = j and th = (h+B)s.

Like the bicategory of spans, a universal construction that's associative only up to isomorphism (in the state machine case, coproduct, in the bicategory-of-spans, the pullback) means that composition of morphisms is only associative up to isomorphism. Unlike the bicategory of spans, (and this to my mind makes it a more satisfyingly general example of a bicategory) not every morphism has a dual.
Tags: bicategories, categories, math

  • (no subject)

    Some further progress cleaning up the https://xkcd.com/1360/ -esque augean stables that is my hard drive. Tomato chicken I made a couple days ago…

  • (no subject)

    Did some personal archaeology. Helped a little with laundry. Threw some chicken, onions, tomato, stock, peppers in the slow cooker and hopefully…

  • (no subject)

    Dinner with akiva and dannel at nuevo portal in carroll gardens. Ate a pile of chicken stew and rice and beans and maduros, good times. I do miss…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded