Generating function [00KL]

In set theory, the generating type of a species is

In from finite sets to feynmann diagrams the authors propose to categorify this formal series for any set as the groupoid

A coproduct of weak action groupoids, where the action equips with a number -times its original automorphisms, coming from permuting the finite set with a -action.

Working in Homotopy Type theory simplifies things.