Well, I was out of town for a bit, but classes are now underway here at UWO. This term I’m teaching an introductory Linear Algebra course, which is, I believe, the largest class I’ve taught so far, with on the order of a couple of hundred students. That should be a change of pace: last year, both courses I taught had just seven students each.
Meanwhile, I’ll carry on from the last post. I described structure types (a.k.a. species) as functors , which take a finite set
, and give the set of all “
-structures on the underlying set
“. A lot of combinatorial enumeration uses the generating functions for such structure types, which are power series whose coefficients count the number of structures for a set of size
(the fact that structure types are functorial is what allows us to ignore everything but the isomorphism class of the underlying set
). Now, there is a notion of generalized species, described in this paper by Fiore, Gambino, Hyland and Winskel, which I’ll link here because I think it’s a great point of view on the setup I discussed before. But right now, I’ll go in a somewhat different direction. (Whether there’s a connection between the two is left as an exercise)
Stuff Types
To start with, there is a dual way to look at structure types (a.k.a. species). The “structures” identified by a structure type form a category
. It’s a concrete category in fact: each object has an underlying set. The morphisms of
are “structure-preserving” maps (the meaning of which depends, obviously, on
) of
-structured sets. These correspond exactly (by fiat) to the isomorphisms of underlying sets (i.e. relabellings). These are all invertible, so this is a groupoid.
So is the category of “underlying sets”, so the forgetful functor
from
-structured sets into
is a functor between groupoids. This functor
is a sort of “dual” way to look at the structure type – the original functor
. In fact, for any structure type
, this dual
will always be a faithful functor. That is, the morphism map is one-to-one, so morphisms in
are uniquely determined by the corresponding map of underlying sets. In other words, there are no additional symmetries in
but those determined by set bijections.
But this is an artifact! I declared the union of all the sets to be the objects of a category
and then added morphisms by hand. That makes sense if you think of the “
-structured sets built on underlying set
” as derived entirely from
and
. But the dual view, focusing on
, tends to make us think of
as given, and
as observing some property – underlying sets and maps for objects and morphisms. This may throw away information about both, in principle. Faithfulness of
suggests that the objects of
just consists of sets
with some inflexible extra decorations with no local symmetries of their own to complicate the morphisms.
So let’s treat as real and
as some kind of synopsis or measurement of
. If
doesn’t need to be faithful, it may not correspond to a structure type, but it will be what Baez and Dolan call a stuff type, which is actually just any groupoid equipped with underlying set functor
. Maybe it’s surprising that these can still be treated like power series, by taking the coefficient at
to be the (real-valued) groupoid cardinality of the preimage of
. (The groupoid cardinality, described here, is related to the “Leinster measure” for categories. Regular readers of the n-Category Cafe will know that there has been some discussion over there about this – some links from here, and discussion about applying it to “configuration categories” of physical systems here.)
Stuff types can be used to deal with seemingly straightforward “structures” which structure types have a hard time with. For instance, letting be the structure type “a set”, and so
should be the type “a set of sets” (where the underlying set operation is the union of elements). This can be represented by a stuff type, but not a structure type.
Groupoidification
Stuff types fit into a more general pattern, which has to do with the 2-category of spans of groupoids. I really cleared up just how this works in conversation with Jamie Vicary.
Groupoidification is the program of looking for analogs of linear algebra (whose native habitat is the monoidal category ) in a different monoidal category (in fact, bicategory)
of spans of groupoids, which I’ve talked about quite a bit before. Very briefly, we have a bicategory where the objects are groupoids, and the morphisms are spans like:
, composed by (weak) pullback. Given spans
, a 2-morphism is a map
which makes the resulting diagram commute.
So the key thing now is the fact that a stuff type can be regarded as a span of groupoids in two ways:
and
Here, is the trivial groupoid consisting of just one object and its identity morphism. Any groupoid
has just one functor into
, so a stuff type automatically has these two incarnations as a span. One is a morphism (in
) from $\mathbf{1}$ to
, and the other is its dual, going the other way. One can call these a “state” and a “costate”. Why these terms?
One important fact is that $atex \mathbf{Span(Gpd)}$ is not just a bicategory, it’s a monoidal bicategory, whose monoidal operation on objects is the (cartesian) product of groupoids. (Which also tells you what it is for morphisms, by the way). It should be clear, then, that
is the monoidal unit, since
.
So another way of describing a stuff type is that it’s a morphism from (or to) the monoidal unit in a certain monoidal (bi)category with duals. In the category of Hilbert spaces, if is the space associated to a quantum system, a map
would be called a “state” (and the dual would be a “costate”). Stuff types provide a 2-categorical version of the same thing, where the object taking the place of
is
.
There is, as I’ve discussed here previously, a 2-vector space (indeed, a 2-Hilbert space) associated with this groupoid. But the point of view I’m adopting right now is based on discussion I had with Jamie Vicary about this paper. In it, he gives an abstract (i.e. categorical) description of what’s going on in the quantum mechanics of the harmonic oscillator in terms of an adjunction of categories. This can then be transplanted into various monoidal categories with duals. Here, Jamie gives a more general discussion of quantum algebras, with the same sort of flavour.
So as to the question of how species relate to QFT, this suggests one way to look at how. The harmonic oscillator is the physical system of interest when we look at “states” as spans into . Up to isomorphism, the important features of the groupoid
are: its objects correspond to nonnegative integers, which label the energy levels for the oscillator (they “count photons”); each object
has automorphisms corresponding to permutations of those
photons (they’re indistinguishable – in particular, “bosons”). This is fairly simple, but for a more elaborate QFT picture, look at “states” for other groupoids in
. One complication is that typically these groupoids are going to have some smooth structure…
Perhaps more on this later.