Generalised Species of Structures: Cartesian Closed and Differential Structure (Preliminary Notes)
Marcelo Fiore∗ Computer Laboratory University of Cambridge
May and December 2003
Abstract Species of structures. Joyal species of structures [9] are an abstract categorical formalisation of a type of We generalise Joyal’s notion of species of struc- unlabelled combinatorial structures. tures and develop their combinatorial calculus. In In its basic form, species are defined as functors particular, we provide operations for their composi- B / Set where B is the category of finite sets and tion, addition, multiplication, pairing and projection, bijections, and Set is the category of sets and func- abstraction and evaluation, and differentiation; devel- tions. Such a species P is to be thought of as pro- oping both the cartesian closed and linear structures viding, for each finite set of tokens T, the set P(T) of of species. P-structures (i.e., structures of type P) built form to-
kens in T together with, for each bijective renaming
¢¡ £
σ : T / T ¤ between sets of tokens, a bijective cor-
¡
£ ¤ Contents respondence ( ) ¥ σ : P(T ) / P(T ) between the · respective sets of P-structures subject to the laws
1. Categorical background 2
¥ ¦ ( ) id = id ¥¨§©¦ : P(T) / P(T) · 2. The calculus of generalised species 3 and
2.1. The bicategory of species ...... 3
¥ ¤ ¥ ¤ 2.2. Addition and multiplication ...... 4 ( ) ¥ σ σ = ( ) (σ σ ) : P(T ) / P(T )
2.3. Linear structure ...... 5 · · · ◦