You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
I'm trying to understand a startling connection between the inverse of a formal power series (with respect to composition) and associahedra:
https://mathstodon.xyz/@johncarlosbaez/114787573420344878
I'm starting to feel the core idea is rather simple, though I can't quite put my finger on it yet.
(deleted)
There are some issues with the LaTeX of the last two formulae.
For the first formula, the $$n^\overline{k}$$ doesn't work on Zulip for some reason. Instead, one needs to enclose the superscript in curly brackets in LaTeX, like
For the second, I think you can only use double $ symbols if the math LaTeX is on a single line. Otherwise you have to use the math code block, like
or enclose each of the three lines with a pair of double $ symbols and remove the & symbols, like
Yes, thanks. I had to go to my gate in the airport - that's why I left the LaTeX unfixed.
Ardila and Aguiar's formula for the inverse of a formal power series involves associahedra. An older formula uses Bell polynomials. Suppose
normalized with to make things simple, and suppose
is the inverse of with respect to (formal) composition:
Then , and the Lagrange inversion formula says that for we have
where
and the rising powers are defined by
while are the Bell polynomials.
All these things deserve to be categorified, but for now let me just explain the Bell polynomials to myself.
It seems easiest to explain them with an example. is a polynomial in variables, which depends on . It's related to how you can partition an -element set into (nonempty) blocks. For example:
This says that if we partition a 6-element set into 2 blocks there are:
and that's all the ways.
So, if you know all the Bell polynomials, you know how to partition any finite set into some chosen number of blocks of some chosen sizes.
As a result, the Bell numbers contain more information than the Stirling numbers of the second kind,
which says how many ways there are to partition an -element set into blocks.
Let me start by categorifying some basic stuff about Stirling numbers of the second kind. I said is the number of ways to partition an -element set into blocks. (By the way, a partition of a set is a collection of disjoint nonempty subsets called blocks whose union is the whole set.)
A more categorical way to put it is that counts epis up to isomorphism of the codomain. We could call these quotient sets of the set . This is dual to how monos up to isomorphisms of the domain are called subsets of .
So, there are -element subsets of , and dually -element quotient sets of .
We have
and this formula is also true at the categorified level:
when is the set of -element subsets of the finite set and is the power set of .
Dually we have
where is the th Bell number, meaning the number of quotient sets of , or partitions of . This too easily categorifies:
where now is the set of -element quotient sets of and is the set of quotient sets of .
The binomial coefficient counts monos up to isomorphism of the domain . However, we might simply want to count monos , with none of this "up to isomorphism" baloney. The number of these is clearly the falling power
When we count these monos up to isomorphism of the domain we get
Similarly, while counts epis up to isomorphism of the codomain, we might want to just count such epis pure and simple. I don't know a name for the answer, but the problem here is not that we don't have enough names for things: it's more like we have too many! Whatever it's called, it's just times .
Now for something fun. Every function has an epi-mono factorization, unique up to isomorphism:
Since there functions , we get a cool identity:
Puzzle - why are we using here, which counts epis up to isomorphism of the codomain, while we're using , which counts monos... not monos up to isomorphism of the domain?
Anyway, this identity painlessly categorifies because it was derived by thinking about the category of finite sets. If and are finite sets we have
I don't want to think about infinite sets now, but you can think about how all this stuff generalizes to those if you want. Presumably we simply let range over all cardinals and define to be the empty set if there are no epis from to , and define to be empty if there are no monos from to .
But actually, if you're going to generalize this basic combinatorics to possibly infinite sets, you might as well generalize it to a large class of categories for which the relevant principles, like uniqueness of epi-mono factorizations, actually make sense.
[EDIT: I tried doing that later.]
(i think you switched the epi-mono arrow decorations above...)
Thanks! You left it as exercise to locate all the places where I did it. :woozy_face: I fixed it in one location.
Let me just say a bit about generalizing the identity
to other categories. Suppose we have any category with existence and uniqueness-up-to-isomorphism of epi-mono factorizations. Choose a skeleton of this category, say . For any objects let
and let
The group of automorphisms acts on the right on the former set, and on the left on the latter. Then I believe we have (nonconstructively)
if this is wrong someone please correct me!
If I'm on the right track, there's probably a constructively valid approach that avoids using a skeleton which replaces the sum by a coend. I believe the coend breaks up into a sum over isomorphism classes of objects if we use the axiom of choice, and I wanted to do that to make the formula look more like the usual version for the category of finite sets:
In the case of finite sets the division by is hidden in the notation, since
and because acts freely on (which is a general fact!) we have
Anyway, I wanted to talk about generating functions! It's well-known, and explained in my lecture notes, that the number of partitions of an -element set, , obeys
Indeed I show that this is a decategorified version of the fact that
where the three species here are:
Like I said, all this is well known - it's in any good book on generating functions or species. But there's something that's at least less well known. We can write
since every partition of is a partition into parts for some :
Since
we get
Here I've harmlessly increased the range of summation to since there are no epis from to when .
Now, this quantity
is really the two-variable power series
evaluated at , and this two-variable power series is the generating function of a "two-variable species", i.e. a structure you can put on pairs of finite sets. This two-variable species is just , where is the set of epimorphisms from to . (The awkward contravariance in one argument can be eliminated because a two-variable species is a functor from the groupoid of finite sets squared to .)
In other words, the generating function of is
But what does this equal, in closed form? All I've said is that at it equals .
This is fun! Thanks for sharing these ideas!
John Baez said:
Now for something fun. Every function has an epi-mono factorization, unique up to isomorphism:
Since there functions , we get a cool identity:
This was confusing me a little bit. Could you maybe elaborate on what is here? Is it perhaps some arbitrary subset of ? (I notice that the image of has to admit a monomorphism to ).
(Also - I really love the idea that binomial coefficients are "dual" to Stirling numbers!)
Sorry, I explained some things in my lecture notes which I did not mention here. In set theory natural numbers are often defined recursively:
This lets us use to mean both 1) the natural number and 2) a particular set with elements. They're the same thing!
I'm using in this way in most of my calculations above. This greases the wheels of categorification.
If we also work in a skeleton of , then every finite set is equal to for some natural number . This is also somewhat convenient, so I often do this. If we don't, then every finite set is isomorphic to for some , and we have to say things a bit more long-windedly, but nothing important changes.
Thanks for clarifying!
It still seems to me we need some relationship between and for this to work:
John Baez said:
Now for something fun. Every function has an epi-mono factorization, unique up to isomorphism:
Since there functions , we get a cool identity:
For example, if has more elements than , then I don't see how to produce an epi-mono factorization for a surjective of the form indicated.
(I would have expected the epi-mono factorization of to look like this: . But instead we have getting involved!)
You mean .
must have some cardinality, so in a skeleton of it must equal for some . That's why I'm summing over .
Does that make sense? You seem to also have another question, about what happens when gets "too big".
Oh ok! It wasn't clear to me that was just up to isomorphism. I thought we were allowing it to vary more freely.
That explains things. Thanks!
In my formula I'm considering all possible functions from to . There are of them. They all have epi-mono factorizations, and the epi-mono factorization is inevitably equal to (in a skeleton of ), or at least isomorphic to, one of the form
for some .
John Baez said:
Puzzle - why are we using here, which counts epis up to isomorphism of the codomain, while we're using , which counts monos... not monos up to isomorphism of the domain?
I suppose using intuitively means we are counting our functions using their images. Then, given a particular image, there's a whole bunch of ways to get a specific function - and counts those.
If we just multiplied (number of epimorphisms )(number of monomorphisms ) I guess we'd overestimate the number of distinct functions .
Hmm, I might be confused - some of my last two messages might be wrong.
I probably want to meditate on what means.
EDIT:
I think I understand now why we need this factor of . To illustrate in an example in case someone else finds it helpful:
We would like to have a term in our sum for the case where has three elements. This counts the number of functions that have an image with three elements. The epimorphism part of our factorization determines which elements in get mapped to the same value by . But each map that induces the same partition of will specify the same information. So we need to divide out by these "shufflings" of .
I said what it means, but it's probably better to figure it out yourself.
If we just multiplied (number of epimorphisms )(number of monomorphisms ) I guess we'd overestimate the number of distinct functions .
Yes! That's why the formula
multiplies the number of monomorphisms from to ,
by the number of epimorphisms from to modulo automorphisms of ,
which is times the number of epimorphisms from to .
It was completely arbitrary that I packed the necessary division by into the epi part rather than the mono part. The only reason is that I don't know a slick name for the number of epis from to : it's
At some point above I wrote a more symmetrical, conceptual formula which applies whenever we have a category with epi-mono factorizations that are unique up to isomorphism:
where we sum over all objects in a skeleton. The weird with a subscript is a standard notation for
where we mod out by the action of the group , which acts on both and . This should remind you of stuff when you were composing profunctors! It's really a coend.
Very cool stuff! And that does seem reminiscent of profunctor composition!
It probably is a special case of profunctor composition.
Here's a way to think of epi-mono factorizations in the category of finite sets in terms of profunctor composition.
Let be the groupoid of finite sets and bijections, and let
be the obvious functor such that is the set of epimorphisms from to . I say "obvious" functor because you can precompose or postcompose an onto function with a bijection and get an onto function.
Let
be the same thing but with monmorphisms, and let
be the same thing but with all functions. Note that is not in the groupoid of finite sets and bijections.
We can think of and as profunctors from to itself, and if we use composition of profunctors we get
because any function is a composite of an epi and a mono in a manner that's unique up to isomorphism. In other words we have a coend formula
We can express the coend as a coproduct over isomorphism classes of objects since groupoids have no morphisms between nonisomorphic objects. If we take a skeleton of whose objects are ordinals , one for each isomorphism class of finite set, this gives:
Then, if we take cardinalities, we get our old friend
Okay, I think I've beaten this horse dead by now!
All this stuff is a bit of a digression. What I wanted to do is figure out the 2-variable generating function for epimorphisms, which is defined to be
This is just a convenient way of encoding all the numbers
into a power series, which can then manipulated in various ways to extract interesting information.
It is also fun to build a 2-variable generating functino for , and of course it's fun to also do , but I have some special interest in epimorphisms right now, in part because the numbers , called Stirling numbers of the second kind, are less familiar to me than the numbers
called falling powers, or the even simpler numbers
which are ordinary powers.
This is probably connected to David Ellerman's point that isomorphism classes of epis in , called partitions, are dual to isomorphism classes of monos, called subsets, yet the logic of subsets is much more widely studied than the logic of partitions. So, we all study binomial coefficients more than Stirling numbers of the second kind.
Anyway, here goes.
If we fix , sends any set to the set of ways of partitioning it into (nonempty disjoint) subsets. Thus it's a composite of species:
where, as explained in my lecture notes:
Thus the generating function of is the composite function
In short, the generating function of is
Thus the 2-variable generating function for is
It was tiring to typeset this, which is why I should be writing a book rather than individual posts, but the result is quite simple, with a bit of an exotic twist to it.
From this we can easily recover the usual generating functions for the Bell numbers (which count all partitions of an -element set) and the Stirling numbers of the second kind, as well as things like Dobinski's formula, which says that the th Bell number is
This is cool because it expresses an integer in terms of a formula involving a sum times , and the sum looks like someone took the usual Taylor series for an exponential and got confused about it.