Monoidal Structures on P

A fundamental tenet of categorical combinatorics is that the richness of the objects it tries to study (“combinatorial objects”, broadly intended) comes from the synergy between many different structures one can equip the categories meant to describe said combinatorial objects.

Monoidal structure on $\bf P$ and $\bf Spc$

In particular, there are three distinct monoidal structures on the category of species, all of which have a quite natural combinatorial interpretation. One of them is the most important for us because it is induced on $\bf Spc$ by a natural choice of a monoidal product on $\bf P$. The monoidal structure on $\bf P$ is essentially determined by the disjoint sum of finite set: in a skeleton for $\bf P$, $[n]\cup [m] = [n+m]$. This operation induces a convolution operation on $\bf Spc$.

Definition (The “sum and shuffle” product on $\bf P$). The “sum and shuffle” monoidal structure $\oplus$ on $\bf P$ is the bifunctor $\_\oplus_ : {\bf P} \times {\bf P} \to \bf P$ defined as follows:

$$ \sigma \oplus \eta : i \mapsto \begin{cases} \sigma i & \text{ if } 1 \le i \le n \\ \eta(i-n) & \text{ if } n+1 \le i \le n+m \end{cases} $$

In simple terms, this means that a permutation of $n$ elements and a permutation of $m$ elements act “in parallel” on a set with $n+m$ elements. (Exercise: write $\sigma \oplus \eta : [6] \to [6]$ when $n=m=3$, $\sigma = \left( \begin{smallmatrix} 1 & 2 & 3 \\ 3 & 1 & 2 \end{smallmatrix}\right)$ and $\eta = \left( \begin{smallmatrix} 1 & 2 & 3 \\ 2 & 1 & 3 \end{smallmatrix}\right)$.)

Definition (The Cartesian monoidal structure). Given two species $X_\bullet,Y_\bullet$, their Cartesian product is the species

$$ (X \times Y)_\bullet : [n] \mapsto X[n] \times Y[n] $$

It can be easily checked that $(X\times Y)_\bullet$ is the binary product bifunctor in $\bf Spc$. (Evidently: because limits, and a fortiori products, in a category of functors, are computed pointwise.)

In terms of their formal power series representation, the product corresponds to the pointwise (or “Hadamard”) product of formal power series: given $f,g : \mathbb N \llbracket t\rrbracket$, $f\times g$ is the series

$$ \sum_{n=0}^\infty (f_ng_n) t^n. $$

Definition (The coCartesian structure). Given two species $X_\bullet,Y_\bullet$, their coproduct is the species

$$ (X \cup Y)_\bullet : [n] \mapsto X[n] \cup Y[n] $$

where $\cup$ denotes the disjoint union of sets. It can be easily checked that $(X\cup Y)_\bullet$ is the binary coproduct bifunctor in $\bf Spc$. (Evidently: because colimits, and a fortiori coproducts, in a category of functors, are computed pointwise.)

In terms of their formal power series representation, the product corresponds to the plain sum of formal power series.

In order to introduce the next construction, we need the following definition: let $X,Y$ be two sets on which a group $G$ is acting, respectively on the right and on the left.

We define the equivariant product $X\otimes_G Y$ of $X$ and $Y$ to be the set obtained as the coequaliser of the pair of maps

where $\alpha : X \times G \to X$ and $\beta : G \times Y \to Y$ are the actions.

Definition (The Cauchy monoidal structure). Given two species $X_\bullet,Y_\bullet$, their Cauchy product is the species

$$ (X \cdot Y)_\bullet : [n] \mapsto \sum_{p+q=n} X[p] \otimes Y[q] $$

where the sum is indexed over all tuples $p,q$ such that $p+q=n$. It can be shown that the Cauchy product $(X\cdot Y)_\bullet$ of two combinatorial species is the Day convolution inherited by the “sum and shuffle” monoidal structure on $\bf P$.

(Exercise: how do you use the sum and shuffle product and the equivariant product to interpret the $\otimes$ sign?)

The last and more important monoidal structure with which the category of species is endowed is called the substitution monoidal structure, and its definition resembles the one given for $[{\bf Fin},{\bf Set}]$ in lecture 1.

On generating series, this operation should correspond to functional substitution: the operation that given two formal power series $f = \sum a_n t^n,g = \sum b_m t^m \in K\llbracket t\rrbracket$, defines the series $f[g](t)$ as the one obtained by formally unwinding the expression

$$ a_0 + a_1 g(t) + a_2 (g(t) \cdot g(t)) + \dots $$

(Exercise. Find an explicit expression for $[t^n](f[g])$ in terms of the $a_n, b_m$’s.)

But one must be careful, as this relation is true for generating species but not for type generating species. For example, this is true for the species of permutation $\cal S$, which is equal to the substitution of the species $\cal C$ of cycles into the species $E$ of sets. For the species $\cal S$, the type generating series is $\dots$, whereas for the substitution $E\triangleleft \cal C$ the type generating series is $\dots$.

The formula for the type generating series of a substitution $F\triangleleft G$ involves the cycle index series of the substituting species:

$$ \widetilde{F \triangleleft G}(x) = Z_F(\tilde G(x), \tilde G(x^2), \tilde G(x^3),\dots) $$

In lesson 1 we have seen how the category $[{\bf Fin}, {\bf Set}]$ inherits a (non strict) monoidal structure, called the substitution product: the substitution of a pair of functors $M,N : {\bf Fin}\to{\bf Set}$ is the functor

$$ [n] \mapsto M \triangleleft N := (\text{Lan}_J M \circ \text{Lan}_J N) \circ J = \text{Lan}_J M \circ N $$

Definition (The substitution monoidal structure). Given two combinatorial species we can define their substitution product as follows:

$$ F \triangleleft G := \lambda m . \int^{n,k_1,\dots,k_n} F(n) \times Gk_1\times \dots \times Gk_n \times {\bf P}(m, k_1+\dots+k_n). $$

The structure exists for a similar reason than the case of $\bf Fin$: the left Kan extension of a functor $X : {\bf P} \to {\bf Set}$ along the (nonfull) inclusion $j : {\bf P} \to {\bf Set}$ yields an equivalence between $\bf Spc$ and a monoidal subcategory of $[{\bf Set},{\bf Set}]$ (it is not immediate how to characterise it because in this case the inclusion functor $j : {\bf P} \to {\bf Set}$ is not full).

Exercise. Given a combinatorial species $G$, define $G^{\ast 1}:=G$ and $G^{\ast (n+1)} := G \ast G^{\ast n}$. Find an explicit formula for the functor $G^{\ast n}$ using a suitable coend, and show that the substitution product admits the more concise formula

$$ F\triangleleft G := \lambda m.\int^n Fn \times G^{\ast n}(m) $$

Exercise. Given two formal power series $f,g \in K\llbracket t\rrbracket$, find an explicit formula for the coefficient $c_n$ of degree $n$ in the series $f[g](t)$. (Is it possible to “decategorify” the above expression for $F\triangleleft G$, given that if $f,g$ are the generating series of $F,G$ respectively, then $c_n$ is the cardinality of $F\triangleleft G$?)

On the structure of $\bf Spc$ as a topos

The following subsection is of no particular interest for us, but the category of species happens to be a (Grothendieck) topos, and I haven’t been able to find any source investigating the consequences of this fact (or even describing this structure, at least to some extent). Thus I find a nice exercise in style to fill the gap.

This said: on top of all of the structure mentioned above, the category of species, i.e. functors ${\bf P}^\text{op} \to {\bf Set}$ has very nice properties of a completely different kind; it is a Grothendieck topos (or shortly, just a topos).

In short, a Grothendieck topos is a category $\cal E$ where “the usual kind of Mathematics can be enacted” (at the price of doing so constructively).

Somewhat surprisingly, the class of categories embodying such a powerful language can be axiomatised pretty concisely: a topos is a category $\cal E$

  1. admitting all finite limits;
  2. that is cartesian closed, meaning that there is a natural bijection ${\cal E}(A\times B, C) \cong {\cal E}(A, C^B)$ for every three objects $A,B,C$
  3. having a subobject classifier, meaning an object $\Omega$ with the property that for every $A\in\cal E$ the poset of all subobjects of $A$ is parametrised by the set of morphisms into a fixed object $\Omega$ that thus “classifies” monomorphisms.

Unwinding axiom 3, it means the following: there exists a unique monomorphism $\tau : 1 \to \Omega$ with the property that every monomorphism $m : U \to A$ into every object $A\in \cal E$ appears in a pullback square

of $\tau$ along a unique $\chi_A : A \to \Omega$.

This request translates diagrammatically the request that every subset $X\hookrightarrow A$ has a “characteristic function” $\chi_X : A \to \Omega$ such that $\chi_X(a)=1$ if and only if $a\in X$.

The meat is in the third axiom: having a subobject classifier is a powerful property for a category (familiar categories like groups, vector spaces, and $\bf Cat$ (categories and functor) cannot have one; prove it as an exercise.)

The following facts do not add much depth to the following discussion, so we leave them as highly optional exercises; the only reason to engage with them is if you have never seen how both statements can be proved in fair generality

Exercise (The cartesian closure of $\bf Spc$). Show that the category of combinatorial species is cartesian closed, as a consequence of the following general fact.

Let ${\cal C}^\lor = [\mathcal{C}, {\bf Set}]$ be the category of functors $F : {\cal C} \to {\bf Set}$. Show that there is a natural bijection

$$ {\cal C}^\lor(F\times G, H) \cong {\cal C}^\lor(F, H^G) \cong {\cal C}^\lor(G, H^F) $$

where $F\times G$ is the product $C\mapsto FC\times GC$, and $H^G : {\cal C}^\text{op} \to {\bf Set}$ is the “internal hom” between $G$ and $H$.

Exercise (The subobject classifier of $\bf Spc$). Show that the category of combinatorial species is cartesian closed, as a consequence of the following general fact.

Let ${\cal C}^\lor = [\mathcal{C}, {\bf Set}]$ be the category of functors $F : {\cal C} \to {\bf Set}$. Show that the following position defines a subobject classifier $\Omega$ for ${\cal C}^\lor$.

$$ \Omega : C\mapsto \text{Sub}_{\cal C}(\text{よ}C) = \{R \hookrightarrow \text{よ}C \} $$

(in simple words: $C$ goes to the set of isomorphism classes of monics with codomain $\text{よ}C$, the representable functor on $C$).

  1. Characterise $\text{よ}(n)={\bf P}(n, -)$ in the case of species;
  2. Specialise the above definition to $\mathcal C = \bf P$: who is $\Omega$ in this case (remember that the map $R \to \text{よ}(n)$ muts be a natural transformation, not just a collection of components: what constraint does this condition pose on $R$?)