Recall that a category consists of a collection of arrows each having a single object as source or input, and a single object as target or output, together with laws for composition and identity obeying associativity and identity axioms. A multicategory is like a category, except that one allows multiple inputs and a single output.
Thus a multicategory consists of
A collection of objects, .
A collection of multimorphisms, .
A source map to the collection of finite, possibly empty lists of objects (thus is the free monoid generated by ), and a target map . We write to indicate the source and target of a multimorphism .
Identity and composition laws. The identity law is a map where . The composition law assigns, to each together with an -tuple , a composite
where the source is obtained by concatenating lists in the evident way.
These operations are subject to associativity and identity axioms which the reader can probably figure out, but see for example Tom Leinster’s book, page 35 ff., for details.
Many people (especially non-category theorists) use multicategory to mean what we would call a symmetric multicategory, in which there is also an action of the symmetric group on the multimorphisms and the composition is equivariant.
An efficient abstract method for defining multicategories and related structures is through the formalism of cartesian monads. For ordinary categories, one uses the identity monad on Set; for ordinary multicategories, one uses the free monoid monad . There is a very general notion of -multicategory, where is a cartesian monad on a category with pullbacks, which we outline as follows.
First, a -span from to is a span from to , that is, a diagram
A -span is often written as .
Dang… how do you make an arrow with a vertical slash in the middle? – Todd
I don’t think that has been implemented yet. Here is a list of all available arrows. – Eric
When is the free monoid monad on , a -span from to itself is called a multigraph on .
-spans are the 1-cells of a bicategory. A 2-cell between -spans is a 2-cell between ordinary spans from to . To horizontally compose -spans and , take the ordinary span composite of
where is the monad multiplication. The identity -span from to itself is the span
where is the monad unit. The verification of the bicategory axioms uses the cartesianness of in concert with the corresponding axioms on the bicategory of spans.
A -_multicategory_ is defined to be a monad in the bicategory of -spans.
The full details are carefully treated in Tom Leinster’s book, loc. cit., who gives many illuminating examples.
A nonpermutative (or Stasheff) operad in Set may be defined as an ordinary multicategory with exactly one object. Likewise, an operad in any symmetric monoidal category is equivalent to a -enriched multicategory with one object. Furthermore, for each cartesian monad , there is a corresponding notion of -operad, namely a -multicategory whose underlying -span has the form .
For example, in Batanin’s approach to (weak) -categories, a globular operad? is a -operad, where is the free (strict) -category monad on the category of globular sets.
With a little care, ordinary (permutative/symmetric) operads may also be treated within this framework. See Tom Leinster’s book for details.