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.
Everyone knows how many ways you can write an -element set as the coproduct of a -element set and an -element set when : it's the binomial coefficient
But for some reason, few people talk about the number of ways you can write an -element set as the product of a -element set and an -element set when . It's
but now this is something new.
When you start thinking about this it can quite confusing, perhaps because we're really used to writing a set as the coproduct of a subset and the complement , but we're not at all used to writing a set as the product of a set and the 'quotient' .
Indeed that's a pretty confusing way to talk about what's going on here!
Here's a way that's clear, but not maximally slick. When , I claim the number
counts the 'cartesian decompositions' of an -element set into a -element set and an -element set .
What's a cartesian decomposition? One lowbrow way to say it is this:
Form the product , and draw it like a rectangle of dots. Now label the dots with elements of , making sure to label every dot and use each element of just once. Then say two such labelings are equivalent if they differ by permuting rows and/or columns in your rectangle. An equivalence class of labelings is a cartesian decomposition of into and .
There are some good ways to think about this stuff using category theory, e.g. coproduct cocones versus product cones. I could explain it in more detail, but I think it's more fun to reinvent this subject yourself... and I bet some of you will have ideas I haven't thought of.
To conclude, I'll just say that we usually write
for the number of ways to write an -element set as the union of two disjoint subsets, one with elements and one with elements, when . Similarly, some people write
for the number of cartesian decompositions of an -element set into a -element set and an -element set, when divides .
(But beware: this sort of mutant binomial coefficient has nothing to do with Stirling numbers of the second kind, which are written using the same brace notation.)
This is a fun observation! Bit it also feels capable of great generalization. For example, for any functor , we could look at the category whose objects (call them -structures) are tuples and whose morphisms consist of triples of isos satisfying the obvious compatibility with the isos . Then in how many ways can a set be endowed with an isomorphism of type , where two such structures on are considered the same if there is an isomorphism between them as -structures? Unless I'm being silly (always possible), it seems the answer will be
if there is any such structure on , and if not. It helps to know that an -structure iso is uniquely determined by the pair of - and -components!
I don't think that can be quite right, because the product formula (unlike the coproduct one) doesn't work when but .
I think the isomorphisms modulo which we count have to be the identity on .
Here's a rather highbrow perspective.
Mike Shulman said:
I don't think that can be quite right, because the product formula (unlike the coproduct one) doesn't work when but .
That's a nice observation. Luckily the application I'm using this for avoids that case, basically because math is smarter than I am.
I should have I'm only working with cartesian decompositions of nonempty sets (so , and thus ).
I guess it also works when and .
Mike knows tons of category theory, but there are many ways to engage with the concept of 'cartesian decomposition'. Here is one discussed by Manuel Maia and Miguel Mendez.
Given a set , say a cartesian decomposition is a pair of partitions of such that each block of the first partition intersected with each block of the second partition contains exactly one element of .
Or if you don't like partitions and their 'blocks':
Given a set , say a cartesian decomposition is a pair of equivalence relations on such that each equivalence class of the first intersected with each equivalence class of the second contains exactly one element of .
(It took me way too long to notice that a 'partition' is the same thing as an 'equivalence relation'. They still bring up different mental images: the first has disjoint nonempty sets called 'blocks' whose union is our whole set, while the second focuses my attention on the relation saying two elements are in the same block.)
If we let be the set of blocks of our first partition (or equivalence classes of our first equivalence relation), and be the set of blocks of the second, then a cartesian decomposition gives a bijection
so true to its name, it decomposes as a cartesian product of sets.