An abstract clone is a structure that describes a single-sorted algebraic theory in a presentation-invariant way.
An abstract clone is equivalent to a cartesian operad, that is, a cartesian multicategory with one object. However, clones are presented differently, and quite economically, with projections rather than with symmetries, contraction and weakening.
Abstract clones are equivalent to Lawvere theories, and also to finitary monads. These are all different ways of giving presentation-invariant descriptions of single-sorted algebraic theories.
A set of algebraic operations on a fixed set is a concrete clone on if it contains all (component) projections and is closed under composition (“superposition”).
An abstract clone consists of an abstract set of “-ary operations” for every together with projection and composition operations. This is the notion that’s equivalent to a cartesian operad or a Lawvere theory.
More precisely, the usual presentation of abstract clone comprises
a set for each natural number ;
functions ;
functions
such that
;
;
where we omit subscripts and write for .
This resembles the Kleisli triple presentation of a monad, except that is a natural number rather than an arbitrary set; in this sense it is the Kleisli triple form of a relative monad for the embedding .
Suppose a concrete clone is given on a set , i.e. a set of operations of different arities, closed under composition and containing all the projections. We regard this as an abstract clone by putting as the set of admitted operations . The functions pick out the projections, and is multi-ary function composition.
An algebraic signature comprises, for each number , a set of formal -ary operations. For example, the theory of groups has ; ; .
We then build for all the terms in variables, written , by the following inductive definition:
is a term if ;
if are terms and then is a term. Here we write .
Now we form an abstract clone by putting . The functions picks out the variables, and the function amount to substitutions of terms for variables, which produces well-formed terms.
The inhabitants of are sometimes called “derived operations”, since although they are not in the signature they have an interpretation in any model.
An algebraic theory over a signature is given by a collection of axioms of the form , where and . We then form equivalence relations of terms by closing under substitution instances, congruence, and reflexivity, symmetry and transitivity. These are the equations that are true in all models of the theory.
We can now form an abstract clone for the theory, derived from the abstract clone for the signature. Put . The and respect equivalence relations because we closed under substitution instances and congruence.
For example, starting from the theory of groups, will be the free group on generators.
Conversely, any abstract clone can be regarded as a presentation of an algebraic theory. The signature has , and we include the axioms
.
An abstract clone is a presentation of a “saturated” algebraic theory: all derived operations are equivalent to basic operations that are already in the signature.
If is an abstract clone, we can form a category whose objects are natural numbers and where a morphism is a tuple . The identity morphisms are . Composition is . This category is a Lawvere theory.
(This is the opposite category of the Kleisli category of regarded as a relative monad.)
Conversely, if is a Lawvere theory then we can build a clone . This gives an equivalence between abstract clones and Lawvere theories.
We can define an algebra of an abstract clone to be a set together with -ary function for each , such that
;
.
Here we are writing for both the clone composition and the algebra structure, and again writing for .
For example, an algebra for the abstract clone of groups is a group.
Now the category of -algebras has a forgetful functor
One can show that this functor is monadic by showing it preserves limits, satisfies the solution set condition, reflects isomorphisms, and has reflexive coequalizers. Thus every abstract clone gives rise to a monad.
Another way to define this monad is to note that can be regarded as a functor , with given by . Then we extend this to a functor by a coend or by Kan extension:
In other words, an inhabitant of is a derived operation formally applied to an -tuple in , modulo change of variables. This functor can be given the structure of a monad on , and its Eilenberg-Moore algebras are the -algebras.
Conversely, suppose that is a monad on the category of sets. We can define an abstract clone by regarding a natural number as a finite set and putting . Then is the unit of the monad and is the Kleisli composition (called “monadic bind”).
This gives an equivalence between finitary monads and abstract clones. They are also the monads with arities in .
The definition of abstract clones given here is itself a presentation of algebraic structure. Indeed we can consider an obvious notion of homomorphism of clones, and then the forgetful functor
is monadic.
In fact this adjunction is enriched in . Moreover, we can consider a more general notion of abstract clone enriched in a locally presentable category, where the arities are replaced by finitely presentable objects. Then the plain abstract clones themselves are algebras for an abstract clone enriched in . One way to present this formally is in terms of the substitution algebras of Fiore, Plotkin and Turi.
Another view of this adjunction starts from viewing as a monoidal category. To get this, we can understand functors as filtered colimit preserving endofunctors , and then composition forms a monoidal structure on a category of endofunctors. In detail, the unit is and tensor product is
Then the category of abstract clones is (equivalent to) the category of monoids for this monoidal structure. Since a finitary monad is a filtered-colimit-preserving “monoid in the category of endofunctors”, this also gives an abstract view of the connection between abstract clones and finitary monads on .
A rather general framework is discussed in
A common generalization of a clone and of an operad is proposed, using a new notion of a verbal category, in
Another unification of clones and operads is via the formalism in
See also the thesis
Algebraic theories are treated as abstract clones in the enriched setting (but abstractly), and monadicity is dealt with, in
Substitution algebras as a theory over are presented in:
One description of enriched abstract clones is in Section 5 of
Last revised on July 29, 2022 at 19:33:45. See the history of this page for a list of all contributions to it.